MA(C,13);
转折线: MA(C,33),LINETHICK2;
生命线: MA(C,66),LINETHICK3;
WH:=CLOSE/REF(C,1) 1.09 AND CLOSE EMA(C,55)*1.22 AND REF(EXIST(CLOSE/REF(C,1) 1.09,55),2);{www.9m8.cn 九毛八公式指标网}
WH1:=CLOSE REF(HHV(H,90),1) AND CLOSE/REF(C,1) 1.03;
WH2:=CLOSE/REF(C,1) 1.04 AND CLOSE/REF(C,1) 1.09 AND EMA(C,33)/EMA(C,66) 1.01 AND CLOSE EMA(C,33)*1.3;
DRAWSL(ISLASTBAR,C,0,150,1);
DRAWICON(WH,LOW,9);
DRAWICON(WH1,LOW,1);
DRAWICON(WH2,LOW,3);
DRAWSL(ISLASTBAR,C,0,150,1);
V1:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);
V2:=(1-7/100)*(DMA(CLOSE,V1));
V3:=(1+7/100)*(DMA(CLOSE,V1));
支撑:REFDATE(V2,DATE),POINTDOT,LINETHICK3,COLORCC66FF;
阻力:REFDATE(V3,DATE),POINTDOT,LINETHICK3,COLORGREEN;
ZT:=C/REF(C,1) 1.09 AND C=H;
STICKLINE(ZT,O,C,2,0),COLORYELLOW;
DT:=C/REF(C,1) 0.91 AND C=L;
STICKLINE(DT,O,C,2,0),COLORGREEN;