箱顶:HHV(MA((CLOSE),5),30);
箱底:LLV(MA((CLOSE),5),30) ;
长底:LLV(MA((CLOSE),5),120);
JJ:=(CLOSE+HHV(MA((CLOSE),5),2)+LLV(MA((CLOSE),5),2))/3;
AA:=EMA(JJ,3);
BB:=REF(AA,1);
STICKLINE(AA>BB,AA,BB,3,0),COLORYELLOW,;
STICKLINE(AA<BB,AA,BB,3,0),COLORWHITE,;
V1:=LLV(CLOSE,10);
V2:=HHV(CLOSE,25);
价位线:=EMA((CLOSE-V1)/(V2-V1)*4,4);
DRAWTEXT(CROSS(价位线,0.3),CLOSE,'★'),COLORRED;
202108201419.jpg
|