飞胡B+MACD指标 (源码)
2012-12-28 09:24:00来源:本站整理浏览:223
BIAS :=(CLOSE-MA(C,20))/MA(C,20)*100;
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
B:=EMA(DIF,9);
A1:=CROSS(BIAS,-20/2);
A2:=B>REF(B,1);
{多头买入(买开)} ENTERLONG:REF(A1,1) AND REF(A2,1) AND A2;
{多头卖出(卖平)} EXITLONG:CROSS(20/2,BIAS) OR CROSS(20,BIAS) ;
- 上一篇公式:短线抄逃指标 (源码)
- 下一篇公式:操盘感悟主图指标 (源码)