MA1 : MA(CLOSE,5);
MA2 : MA(CLOSE,10);
MA3 : MA(CLOSE,20);
MA4 : MA(CLOSE,30),
MA5 : MA(CLOSE,60);
MA6 : MA(CLOSE,120);
TJ1:=(VOL=HHV(VOL,10) AND VOL>1.7*REF(VOL,1) AND C>=REF(C,1) AND C>=O);
LJL:=FILTER(TJ1,3);
TJ3:=IF(BARSLAST(LJL)=1 AND CLOSE>REF(LOW,3),1,0);
ST:=TJ3=1;
CL:=FILTER(ST,3);
STICKLINE(C,REF(L,BARSLAST(CL)),REF(L,BARSLAST(CL)),4,0),COLORYELLOW;
STICKLINE(CLOSE,REF(L,BARSLAST(LJL)),REF(L,BARSLAST(LJL)),4,0),COLORCYAN;
STICKLINE(LJL,OPEN,CLOSE,6,0),COLORYELLOW;
DRAWTEXT(LJL,L*0.98,'支撑'),COLORf00ff0; |