通达信安危主图指标公式

通达信短线抄底买卖指标公式

通达信安危主图指标公式:

魔鬼线: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;

通达信春暖花开选股指标公式