用法:股价占上60日线副图零轴上紫色柱出现,标示波段起涨。
SJA:=EMA(EMA(EMA(EMA(CLOSE,1),2),2),2);
SJB:=EMA((SJA-REF(SJA,1))/REF(SJA,1),1)*1000,COLORFF00FF,NODRAW;
SJAA:=EMA(SJB,11);
SJBB:=EMA(SJAA,11);
SJAB:EMA(SJAA+SJBB,1)-EMA(SJAA-SJBB,2),COLORFF00FF,NODRAW;
SJC:=EMA(SJAB,11),COLORFF00FF,NODRAW;
STICKLINE(SJC<0,SJC,0,4,0),COLOR009900;
STICKLINE(SJC<0,SJC,0,3,0),COLOR00BB00;
STICKLINE(SJC<0,SJC,0,2,0),COLOR00DD00;
STICKLINE(SJC<0,SJC,0,1,0),COLOR00FF00;
STICKLINE(SJC>REF(SJC,1) AND SJC<0,SJC,0,4,0),COLOR000099;
STICKLINE(SJC>REF(SJC,1) AND SJC<0,SJC,0,3,0),COLOR0000BB;
STICKLINE(SJC>REF(SJC,1) AND SJC<0,SJC,0,2,0),COLOR0000DD;
STICKLINE(SJC>REF(SJC,1) AND SJC<0,SJC,0,1,0),COLOR0000FF;
STICKLINE(SJC>REF(SJC,1) AND SJC>0,SJC,0,4,0),COLOR000099;
STICKLINE(SJC>REF(SJC,1) AND SJC>0,SJC,0,3,0),COLOR0000CC;
STICKLINE(SJC>REF(SJC,1) AND SJC>0,SJC,0,1.5,0),COLOR0000FF;
STICKLINE(SJC>REF(SJC,1) AND SJC>0,SJC,0,0.5,0),COLORCC00FF;
VAR2:=EXPMEMA(EMA(WINNER(C)*100,2),1);
STICKLINE(VAR2>50 AND COST(60)<C AND SJC>0,SJC,0,4,0),COLOR990099;
STICKLINE(VAR2>50 AND COST(60)<C AND SJC>0,SJC,0,3,0),COLORBB00BB;
STICKLINE(VAR2>50 AND COST(60)<C AND SJC>0,SJC,0,2,0),COLORDD00DD;
STICKLINE(VAR2>50 AND COST(60)<C AND SJC>0,SJC,0,1,0),COLORFF00FF;
STICKLINE(SJC<REF(SJC,1) AND SJC>0,SJC,0,4,0),COLORCC9900;
STICKLINE(SJC<REF(SJC,1) AND SJC>0,SJC,0,3,0),COLORDDBB00;
STICKLINE(SJC<REF(SJC,1) AND SJC>0,SJC,0,2,0),COLORBBDD00;
STICKLINE(SJC<REF(SJC,1) AND SJC>0,SJC,0,1,0),COLORAAFF00;