通达信好汉选股指标(源码)
2015-06-01 22:19:00来源:本站整理浏览:303
DIF := (EMA(CLOSE,12) - EMA(CLOSE,26) );
DEA := EMA(DIF,9);
MACD := 2*(DIF-DEA);
A1:=MACD>REF(MACD,1) AND REF(MACD,1)<REF(MACD,2);
F:=100*(C-REF(C,1))/REF(C,1);
G1:=IF(C<REF(O,1) AND F<0,1,0);
G2:=IF(C<REF(O,2) AND F<0,1,0);
A2:=G1=0 AND REF(G1,1)=1 AND G2=0 AND REF(G2,1)=1;
HH:A1 AND A2;
- 上一篇公式:通达信最新优化组合黄金分割+单阳不破+趋势飘带+买卖点主图指标
- 下一篇公式:通达信一支三压主图指标(源码)