通达信3MACD反骗线源码副图

2017-03-02 08:58:00来源:本站整理浏览:213

 {公式名称: 3MACD反骗线

公式描述:

无参数

公式类型: 条件选股公式-其他类型

公式版本: 0

参数精灵:无

用法注释:无

公式源码:}

X_1:=IF(FROMOPEN<=60,VOL/1.7,IF(FROMOPEN<=120 AND FROMOPEN>=60,VOL/1.3,IF(FROMOPEN<=180 AND FROMOPEN>=120,VOL*1.3,IF(FROMOPEN<=225 AND FROMOPEN>=180,VOL*1.1,VOL))));

X_2:=IF(ISLASTBAR AND PERIOD=5,X_1*240/FROMOPEN,VOL);

X_3:=MA(X_2,5);

X_4:=MA(X_2,10);

X_5:=MA(X_2,100);

X_6:=MA(CLOSE,5);

X_7:=MA(CLOSE,10);

X_8:=MA(CLOSE,20);

X_9:=MA(CLOSE,55);

X_10:=CLOSE/REF(CLOSE,1)>=1.095 AND CLOSE=HIGH;

X_11:=EMA(CLOSE,12)-EMA(CLOSE,26);

X_12:=EMA(X_11,9);

MACD快速变值:CROSS(X_11,X_12) AND BARSLAST(CROSS(X_12,X_11))<=5 AND BARSLAST(CROSS(X_12,X_11))>=3 AND (X_9>REF(X_9,1) OR CLOSE>X_9) AND (X_3>=X_4 OR X_4>=REF(X_4,1)) AND X_3>X_5 AND X_4>X_5 AND DYNAINFO(4)>0 AND COUNT(CROSS(X_11,X_12) AND BARSLAST(CROSS(X_12,X_11))<=5 AND BARSLAST(CROSS(X_12,X_11))>=3,BARSLAST(X_9>REF(X_9,1) AND REF(X_9,1)<REF(X_9,2) OR CROSS(CLOSE,X_9)))<=2;

股票公式栏目导航

精品指标推荐

最新热门

本类随机推荐

相关公式