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

请老师把指标改成WH的 [文华财经知识]

  • 咨询内容:

    ZZZ:=IF(DATE<=1190131, 1, 0);
    VAR1:=REF(CLOSE,1)*ZZZ;
    VAR2:=(CLOSE-VAR1)*0.15+VAR1;
    VAR3:=(CLOSE-VAR1)*0.04+VAR1;
    参与:MA(C,3.1)*ZZZ,COLORFFFFFF,LINETHICK1;

    VA1:=(HIGH+LOW+OPEN+CLOSE)/4;
    两线:=MA(3*VA1-2*SMA(VA1,2,1),12),COLORFFFF60;
    VA2:=IF(VA1<两线,VA1,两线);
    合一:=REVERSE(VA2)+2*两线;

    多空: MA(VAR2,5)*ZZZ,COLOR00FFFF,LINETHICK1;
    PARTLINE(两线=合一,多空),LINETHICK2,COLORFF00FF;
    PARTLINE(两线<合一,多空),LINETHICK2,COLORFF9966;

    持仓: MA(VAR3,13)*ZZZ,COLORRED;
    大于零涨:=(C-REF(C,10))/REF(C,10)*100*ZZZ,COLOR0000FF;

    PARTLINE(大于零涨>0,持仓),LINETHICK2,COLORRED;
    PARTLINE(大于零涨<0,持仓),LINETHICK2,COLORGREEN;

    牛熊:EMA((2*C+H+L)/4,55)*ZZZ,LINETHICK2,COLORFFFF66;
    VR1:=COUNT(CLOSE>OPEN,21);VR2:=COUNT(CLOSE<OPEN,21);VR3:=IF(VR1>VR2,CLOSE,HIGH);VR4:=EMA(VR3,13);VR5:=EMA(VR3,55);VR6:=(VR4-VR5)*100000*ZZZ;
    PARTLINE(VR6>REF(VR6,1),牛熊),LINETHICK2,COLOR0080FF;
    PARTLINE(VR6<REF(VR6,1),牛熊),LINETHICK2,COLORGREEN;
    PARTLINE(VR6>REF(VR6,1) AND VR6>0,牛熊),LINETHICK2,COLORRED;
    PARTLINE(VR6<REF(VR6,1) AND VR6<0,牛熊),LINETHICK2,COLORFF0000;

    博:=(CLOSE-LLV(LOW,12))/(HHV(HIGH,12)-LLV(LOW,12))*100*ZZZ;
    赢:=SMA(博,2,1);铁:=SMA(赢,6,1);律:=3*赢-2*铁;  MA1:=EMA(C,15);
    VARA1:=COUNT(CLOSE>OPEN,21);VARA2:=COUNT(CLOSE<OPEN,21);VARA3:=IF(VARA1>VARA2,CLOSE,HIGH);VARA4:=EMA(VARA3,13);VARA5:=EMA(VARA3,55);VARA6:=(VARA4-VARA5)*100*ZZZ;
    AA:=(律>赢 AND C>MA1)*ZZZ OR CLOSE>MA(C,7)*ZZZ;
    BB:=CLOSE<MA(C,7)*ZZZ;
    DRAWGBK(AA, COLORRGB(40,0,0) ,COLORRGB(70,0,0),1);
    DRAWGBK(BB, COLORRGB(0,15,35) ,COLORRGB(0,50,90),1);


    瑞达:EMA((2*C+H+L)/4,55)+N,LINETHICK2,COLORFFFFFF;
    GG:EMA((2*C+H+L)/4,55)-N,LINETHICK2,COLORFFFFFF;
    EMA((2*C+H+L)/4,55)+N1,LINETHICK1,COLORFFFF66;
    EMA((2*C+H+L)/4,55)-N1,LINETHICK1,COLORRED;
    持仓+M,POINTDOT,LINETHICK2,COLORFFFF66;
    持仓-M,POINTDOT,LINETHICK2,COLORFFFF66;

     

  • 赢顺技术人员:

    ZZZ:=IFELSE(DATE<=1190131,1,0);
    VAR1:=REF(CLOSE,1)*ZZZ;
    VAR2:=(CLOSE-VAR1)*0.15+VAR1;
    VAR3:=(CLOSE-VAR1)*0.04+VAR1;
    CANYU:MA(C,3.1)*ZZZ;
    VA1:=(HIGH+LOW+OPEN+CLOSE)/4;
    LIAX:=MA(3*VA1-2*SMA(VA1,2,1),12);
    VA2:=IFELSE(VA1<LIAX,VA1,LIAX);
    HEYI:=REVERSE(VA2)+2*LIAX;
    DUOK: MA(VAR2,5)*ZZZ;
    PARTLINE(LIAX=HEYI,DUOK,COLORRED);
    PARTLINE(LIAX<HEYI,DUOK,COLORGREEN);
    CHIC: MA(VAR3,13)*ZZZ,COLORRED;
    DYLZ:=(C-REF(C,10))/REF(C,10)*100*ZZZ;
    PARTLINE(DYLZ>0,CHIC,COLORRED);
    PARTLINE(DYLZ<0,CHIC,COLORGREEN);
    NIUX:EMA((2*C+H+L)/4,55)*ZZZ;
    VR1:=COUNT(CLOSE>OPEN,21);
    VR2:=COUNT(CLOSE<OPEN,21);
    VR3:=IFELSE(VR1>VR2,CLOSE,HIGH);
    VR4:=EMA(VR3,13);
    VR5:=EMA(VR3,55);
    VR6:=(VR4-VR5)*100000*ZZZ;
    PARTLINE(VR6>REF(VR6,1),NIUX,COLORYELLOW);
    PARTLINE(VR6<REF(VR6,1),NIUX,COLORGREEN);
    PARTLINE(VR6>REF(VR6,1) AND VR6>0,NIUX,COLORRED);
    PARTLINE(VR6<REF(VR6,1) AND VR6<0,NIUX,COLORCYAN);
    BO:=(CLOSE-LLV(LOW,12))/(HHV(HIGH,12)-LLV(LOW,12))*100*ZZZ;
    YING:=SMA(BO,2,1);
    TIE:=SMA(YING,6,1);
    LV:=3*YING-2*TIE;
    MA1:=EMA(C,15);
    VARA1:=COUNT(CLOSE>OPEN,21);
    VARA2:=COUNT(CLOSE<OPEN,21);
    VARA3:=IFELSE(VARA1>VARA2,CLOSE,HIGH);
    VARA4:=EMA(VARA3,13);
    VARA5:=EMA(VARA3,55);
    VARA6:=(VARA4-VARA5)*100*ZZZ;
    AA:=(LV>YING AND C>MA1)*ZZZ OR CLOSE>MA(C,7)*ZZZ;
    BB:=CLOSE<MA(C,7)*ZZZ;
    RUID:EMA((2*C+H+L)/4,55)+N;
    GG:EMA((2*C+H+L)/4,55)-N;
    EMA((2*C+H+L)/4,55)+N1;
    EMA((2*C+H+L)/4,55)-N1,COLORRED;
    CHIC+M,DOT;
    CHIC-M,DOT;

    模型仅供参考。


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

相关文章

    没有相关内容