工作线:(EMA(C,14)),POINTDOT,LINETHICK5,COLORFFFFFF;
CC:=(CLOSE/工作线);
MA1:=MA(CC*(2*CLOSE+HIGH+LOW)/4,3);
MAAA:=((MA1-工作线)/工作线)/3;
TMP:=MA1-MAAA*MA1;
操作线:=工作线-(EMA(C,3)-工作线);
涨幅:=(C-REF(C,1))/REF(C,1)*100;
买入红箭头:=CROSS(工作线,操作线) AND C-O>H-C AND 涨幅>1;
STICKLINE(买入红箭头,O,C,1,0),COLORLIRED;
卖出绿箭头:=CROSS(操作线,工作线) AND C-O<H-C AND 涨幅<-1;
STICKLINE(卖出绿箭头,O,C,1,0),COLORLIBLUE;
股票持有:IF(CLOSE>工作线,工作线,DRAWNULL),POINTDOT,COLORRED,LINETHICK5;
空仓观望:IF(CLOSE<工作线,工作线,DRAWNULL),POINTDOT,COLORGREEN,LINETHICK5;