通達信海湖均線捉妖主圖指標公式原始碼
MA(C,7);
MA(C,13);
轉折線:MA(C,33),LINETHICK2;
生命線:MA(C,66),LINETHICK3;
WH:=CLOSE/REF(C,1)>1.09 AND CLOSE1.09,55),2);
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.01 AND CLOSE
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)
STICKLINE(DT,O,C,2,0),COLORGREEN;