MA5:=MA(CLOSE,5);
MA10:=MA(CLOSE,10);
MA20:=MA(CLOSE,20);
MA60:=MA(CLOSE,60);
BB:=REF(INDEXC,1)=REF(C,1) AND REF(O,1)/REF(C,1)>=1.05
AND REF(C,1)O AND C/O>=1.05 AND C>REF(O,1)
AND REF(vol,1)
DRAWTEXT(BB,6,'追!'),COLORYELLOW;
{ _最新股票指标公式}
VAR1:=4*SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1)-
3*SMA(SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1),3.2,1);
VAR2:=8;
CC:=crOSS(VAR1,VAR2);
DRAWTEXT(CC,6,'买!'),COLOR0099FF;
STICKLINE(CC,3,6,1,0),COLORRED;