通达信三线突破买卖点主图指标(源码)
2014-02-07 09:46:00来源:本站整理浏览:993
M1:=5;
M2:=10;
M3:=30;
M4:=60;
M5:=120;
M6:=250;
MA1:MA(CLOSE,M1);
MA2:=MA(CLOSE,M2);
MA3:=MA(CLOSE,M3);
M12:=MIN(MA1,MA2);
MD:MIN(M12,M3);
MA4:=MA(CLOSE,M4);
MA5:=MA(CLOSE,M5);
MA6:=MA(CLOSE,M6);
M45:=MAX(MA4,MA5);
MG:MAX(MA6,M45);
买入:CROSS(MD,MG) OR CROSS(MD,M45),NODRAW;
DRAWTEXT(买入, MD*0.95,'买入');
DRAWTEXT(REF(ZIG(3,10),2)>REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)<ZIG(3,10),L-0.2,'买'),COLORWHITE;
买:REF(ZIG(3,10),2)>REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)<ZIG(3,10),NODRAW,COLORWHITE;
VOLUME:=VOL;
MAVOL1:=MA(VOLUME,M1);
MAVOL2:=MA(VOLUME,M2);
MAVOL3:=MA(VOLUME,M3);
突破:(VOL>MAVOL1 OR CROSS(MAVOL1,MAVOL2)) AND ( 买入 OR 买 ),NODRAW,COLORRED;
- 上一篇公式:通达信绝顶高手指标(源码)
- 下一篇公式:通达信黄K线买进选股指标(源码)