您现在的位置:程序化交易>> 期货公式>> 文华财经>> 文华财经知识>>正文内容

修改成文华的指标 [赢顺期货]

  • 咨询内容: VAR1:=EMA(MA(IFELSE(CLOSE>OPEN,(CLOSE-OPEN)*VOL,IF(CLOSE<OPEN,(CLOSE-OPEN)*VOL,0)),5),1);
    VAR2:=EMA(MA(IF(CLOSE>REF(CLOSE,1),(CLOSE-REF(CLOSE,1))*VOL,IF(CLOSE<REF(CLOSE,1),(CLOSE-REF(CLOSE,1))*VOL,0)),5),1);
    VAR3:=EMA(MA(IF(OPEN>REF(CLOSE,1),(OPEN-REF(CLOSE,1))*VOL,IF(OPEN<REF(CLOSE,1),(OPEN-REF(CLOSE,1))*VOL,0)),5),1);
    VAR4:=EMA(MA(IF(CLOSE<OPEN,(OPEN-CLOSE)*VOL,IF(CLOSE>OPEN,(OPEN-CLOSE)*VOL,0)),10),1);
    VAR5:=EMA(MA(IF(CLOSE<REF(CLOSE,1),(REF(CLOSE,1)-CLOSE)*VOL,IF(CLOSE>REF(CLOSE,1),(REF(CLOSE,1)-CLOSE)*VOL,0)),10),1);
    VAR6:=EMA(MA(IF(OPEN<REF(CLOSE,1),(REF(CLOSE,1)-OPEN)*VOL,IF(OPEN>REF(CLOSE,1),(REF(CLOSE,1)-OPEN)*VOL,0)),10),1);
    VAR7:=CLOSE>OPEN; VAR8:=CLOSE>REF(CLOSE,1); VAR9:=OPEN>REF(CLOSE,1); DT:(VAR1+VAR2+VAR3)/3/100,COLORWHITE; KT:(VAR4+VAR5+VAR6)/3/100,COLORYELLOW ;
    WARN1:EMA(EMA((VAR1+VAR2+VAR3)/3-(VAR4+VAR5+VAR6)/3,5),5)*1/100,COLORMAGENTA;
    WARN2:EMA((COUNT(VAR8,12)/12+COUNT(VAR7,12)/12+COUNT(VAR9,12)/12)/3*MA(DT,5)*2*1.1,2),COLORBLUE;
    STICKLINE(KT>0,0,KT,COLORCYAN,0);
    STICKLINE(KT<0,0,KT,COLORRED,0);
    X1:=EMA(EMA((VAR1+VAR2+VAR3)/3-(VAR4+VAR5+VAR6)/3,5),5)*1/100;
    X2:=EMA((COUNT(VAR8,12)/12+COUNT(VAR7,12)/12+COUNT(VAR9,12)/12)/5*MA(DT,5.3)*2*6.8,5);
    X3:=EMA((COUNT(VAR8,22)/22+COUNT(VAR7,22)/22+COUNT(VAR9,22)/22)/18*MA(DT,8)*5*1.8,5);
    DRAWTEXT(CROSS(X1,0),0,'★');
    DRAWTEXT(CROSS(X2,0),0,'★');
    DRAWTEXT(CROSS(X3,0),0,'★<');

     

  • 赢顺技术人员:

    VAR1:=EMA(MA(IFELSE(CLOSE>OPEN,(CLOSE-OPEN)*VOL,IFELSE(CLOSE<OPEN,(CLOSE-OPEN)*VOL,0)),5),1);
    VAR2:=EMA(MA(IFELSE(CLOSE>REF(CLOSE,1),(CLOSE-REF(CLOSE,1))*VOL,IFELSE(CLOSE<REF(CLOSE,1),(CLOSE-REF(CLOSE,1))*VOL,0)),5),1);
    VAR3:=EMA(MA(IFELSE(OPEN>REF(CLOSE,1),(OPEN-REF(CLOSE,1))*VOL,IFELSE(OPEN<REF(CLOSE,1),(OPEN-REF(CLOSE,1))*VOL,0)),5),1);
    VAR4:=EMA(MA(IFELSE(CLOSE<OPEN,(OPEN-CLOSE)*VOL,IFELSE(CLOSE>OPEN,(OPEN-CLOSE)*VOL,0)),10),1);
    VAR5:=EMA(MA(IFELSE(CLOSE<REF(CLOSE,1),(REF(CLOSE,1)-CLOSE)*VOL,IFELSE(CLOSE>REF(CLOSE,1),(REF(CLOSE,1)-CLOSE)*VOL,0)),10),1);
    VAR6:=EMA(MA(IFELSE(OPEN<REF(CLOSE,1),(REF(CLOSE,1)-OPEN)*VOL,IFELSE(OPEN>REF(CLOSE,1),(REF(CLOSE,1)-OPEN)*VOL,0)),10),1);
    VAR7:=CLOSE>OPEN; VAR8:=CLOSE>REF(CLOSE,1); 
    VAR9:=OPEN>REF(CLOSE,1);
    DT:(VAR1+VAR2+VAR3)/3/100,COLORWHITE;
    KT:(VAR4+VAR5+VAR6)/3/100,COLORYELLOW ;
    WARN1:EMA(EMA((VAR1+VAR2+VAR3)/3-(VAR4+VAR5+VAR6)/3,5),5)*1/100,COLORMAGENTA;
    WARN2:EMA((COUNT(VAR8,12)/12+COUNT(VAR7,12)/12+COUNT(VAR9,12)/12)/3*MA(DT,5)*2*1.1,2),COLORBLUE;
    STICKLINE(KT>0,0,KT,COLORCYAN,0);
    STICKLINE(KT<0,0,KT,COLORRED,0);
    X1:=EMA(EMA((VAR1+VAR2+VAR3)/3-(VAR4+VAR5+VAR6)/3,5),5)*1/100;
    X2:=EMA((COUNT(VAR8,12)/12+COUNT(VAR7,12)/12+COUNT(VAR9,12)/12)/5*MA(DT,5.3)*2*6.8,5);
    X3:=EMA((COUNT(VAR8,22)/22+COUNT(VAR7,22)/22+COUNT(VAR9,22)/22)/18*MA(DT,8)*5*1.8,5);
    DRAWTEXT(CROSS(X1,0),0,'★');
    DRAWTEXT(CROSS(X2,0),0,'★');
    DRAWTEXT(CROSS(X3,0),0,'★<'); 

     

    仅供参考。

 

如果以上指标公式不适用于您常用的行情软件

或者您想改编成选股公式,以便快速选出某种形态个股的话,

可以联系我们相关技术人员 QQ: 262069696  点击在线交流进行 有偿 改编!

 


【字体: 】【打印文章】【查看评论

相关文章

    指定的模型还没有相关内容!