MA5:EMA(C,5);
MA13:EMA(C,13);
MA21:EMA(C,21);
向上:=COUNT(REF(EMA(C,3),1)<REF(EMA(C,3),2),5)=5 AND EMA(C,3)>REF(EMA(C,3),1);
DRAWTEXT(向上,L*0.993,'★'),COLOR00FF00;
BDD:=C=LLV(C,13);
N:=BARSLAST(BDD);
低:=IF(N,REF(C,N),REF(C,N)),COLORFFFFFF;
启动:=C>低 AND REF(C=低,1);
DRAWTEXT(启动,L,'★'),COLORFF00FF;
MTM:=C-REF(C,1);
DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);
买:=IF(LLV(DX,2)=LLV(DX,7) AND COUNT(DX<0,2) AND CROSS(DX,MA(DX,2)),1,0);
DRAWTEXT(FILTER(买=1,5),LOW*0.975,'★'),COLORYELLOW;
VAR2:=REF(EMA(DMA((((HIGH + LOW) + (CLOSE * 2)) / 4.09),0.9),3),1);
DRAWTEXT(CROSS(CLOSE,VAR2),LOW*0.965,'★'),COLORRED;
TJ:=IF((C-REF(C,1))/REF(C,1)>0.025,1,0);
YL:=IF(C>REF(O,BARSLAST(TJ =1)),REF(O,BARSLAST(TJ =1)),0);
FT:=BARSLAST(YL);
YLX:=REF(YL,FT);
BT:=IF(C<OPEN AND REF(C,1)>REF(OPEN,1),REF(C,1),0);
XFT:=BARSLAST(BT);
XYLX:=REF(BT,XFT);
平台调下:=CROSS(XYLX,C);
平台突破:=CROSS(C,YLX);
DRAWTEXT(平台突破 ,L* 0.986, '★'),COLORFFFF00;