具体用法如下:紫色关注,红色持仓,蓝色减仓,绿色空仓。
早上大跌可买,早上大跌不割,早上大涨要卖,下午大涨不追,下午大跌次日买,不涨不跌睡觉:STKNAME,coloryellow;
VAR1:=EMA(CLOSE,5)-EMA(CLOSE,10);
VAR2:=EMA(VAR1,22);
VAR3:=2*(VAR1-VAR2);
STICKLINE(VAR3<REF(VAR3,1) AND VAR3>0,0,VAR3,8,1),colorcyan;
STICKLINE(VAR3>=REF(VAR3,1)AND VAR3>0,0,VAR3,8,0),colorred;
STICKLINE(VAR3>REF(VAR3,1)AND VAR3<0,0,VAR3,8,0),colormagenta;
STICKLINE(VAR3<=REF(VAR3,1)AND VAR3<0,0,VAR3,8,1),colorgreen;