通达信安危主图指标(源码)
2014-02-24 08:30:00来源:本站整理浏览:210
魔鬼线:MA(CLOSE,321),LINETHICK2;
ab1:(MA(C,1)+MA(C,3)+MA(C,6)+MA(C,9))/4, COLORwhite;
ab2:(MA(C,3)+MA(C,6)+MA(C,12)+MA(C,24))/4,COLORff00ff;
ab3:ema(ab2,10), COLOR66ffff;
dpxg1:=(ref(ab3,1)<ref(ab1,1)or ref(ab3,1)<ref(ab2,1)) and AB3>AB1 AND AB3>AB2;
dpxg2:=(ref(ab1,1)<ref(ab2,1)or ref(ab1,1)<ref(ab3,1)) and AB1>AB2 AND AB1>AB3;
DRAWTEXT(DPXG1,H+0.02,'危险'),COLOR00FFFF,LINETHICK2;
DRAWTEXT(DPXG2,LOW-0.02,'安全'),COLORFFFFCC,LINETHICK2;
- 上一篇公式:通达信异形K线主图指标(源码)
- 下一篇公式:通达信蓦然回首指标(源码)