SVAR0:=1;
DRAWTEXT(CLOSE/REF(CLOSE,1) =1.098 0,CLOSE+CLOSE*0.031, ★ ),COLOR0000FF;
DRAWTEXT(CLOSE/REF(CLOSE,1) =1.06 0ANDCLOSE/REF(CLOSE,1) 1.098 0,CLOSE+CLOSE*0.031, ★ ),COLOR00FFFF;
DRAWTEXT(REF(CLOSE,1)/CLOSE =1.098 0,CLOSE-CLOSE*0.031, ★ ),COLOR00FF00;
DRAWTEXT(REF(CLOSE,1)/CLOSE =1.06 0ANDREF(CLOSE,1)/CLOSE 1.098 0,CLOSE-CLOSE*0.031, ★ ),COLORFFFF00;
神奇指标:DRAWNULL,COLORRED;
SVAR1:=MA(CLOSE,1);
SVAR2:=SMA(SMA(SMA(SVAR1,2,1),2,1),2,1);
箱体线:HHV(MA(SVAR2,1),67),COLORFFFFFF;
SVAR3:=(3*CLOSE+LOW+OPEN+HIGH)/6;
B:(20*SVAR3+19*REF(SVAR3,1)+18*REF(SVAR3,2)+17*REF(SVAR3,3)+16*REF(SVAR3,4)+15*REF(SVAR3,5)+14*REF(SVAR3,6)+13*REF(SVAR3,7)+12*REF(SVAR3,8)+11*REF(SVAR3,9)+10*REF(SVAR3,10)+9*REF
(SVAR3,11)+8*REF(SVAR3,12)+7*REF(SVAR3,13)+6*REF(SVAR3,14)+5*REF(SVAR3,15)+4*REF(SVAR3,16)+3*REF(SVAR3,17)+2*REF(SVAR3,18)+REF(SVAR3,20))/210,COLOR0000FF;
D:MA(B,4),COLOR00FFFF;DRAWTEXT_FIX(C O,0.01,0.9,0, COLORYELLOW;
空间:(B-CLOSE)/REF(CLOSE,1)*100,NODRAW,COLOR0000FF;
MA40:EMA(CLOSE,40),NODRAW,COLOR00FFFF;
MA40上升:MA40 REF(MA40,1),NODRAW,COLOR0000FF;
占上多头:CLOSE D*0.98ANDCROSS(B,D),NODRAW,COLOR0000FF;
SVAR4:=MA40 =REF(MA40,1)ANDSVAR0;
SVAR5:=MA40 REF(MA40,1)ANDSVAR0;
DRAWICON(CROSS(B,D),B-0.1,1);
DRAWICON(CROSS(D,B),D+0.1,2);
IF(SVAR4,MA40,DRAWNULL),COLORRED;
IF(SVAR5,MA40,DRAWNULL),COLORGREEN;