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

老师帮忙改下指标 [文华财经]

  • 咨询内容: 把这个指标里面在加一条EMA16均线 变色条件跟这个指标里面的均线一样
    AZ:=(3*C+L+O+H)/6;
    //BZ:(20*AZ+19*REF(AZ,1)+18*REF(AZ,2)+17*REF(AZ,3)+16*REF(AZ,4)+15*REF(AZ,5)+14*REF(AZ,6)+13*REF(AZ,7)+12*REF(AZ,8)+11*REF(AZ,9)+10*REF(AZ,10)+9*REF(AZ,1)+8*REF(AZ,2)+7*REF(AZ,3)+6*REF(AZ,4)+5*REF(AZ,5)+4*REF(AZ,6)+3*REF(AZ,7)+2*REF(AZ,8)+REF(AZ,2))/210,COLOR00FF0F,LINETHICK2;
    BZ:EMA(C,8),COLOR00FF0F,LINETHICK2;

    PARTLINE1(BZ>REF(BZ,1),BZ),COLORFF0000,LINETHICK2;
    DZ:=MA(BZ,5),COLORFFFFFF,LINETHICK1;
    B1:=MA(C,1);
    B2:=SMA(SMA(SMA(B1,2,1),2,1),2,1);
    SMA2:=MA(B2,3);
    停损下限:=IF(LLV(MA(B2,8),3)<B2,LLV(MA(B2,8),3),B2);
    SNAKEA:=HHV(MA(B2,1),13),COLORYELLOW;
    VAR1A:=(2*CLOSE+HIGH+LOW)/4;
    VAR2A:=MA(VAR1A,7);
    VAR3A:=VAR2A-MA(VAR1A,7/2)<0;
    VAR4A:=VAR2A-MA(VAR1A,7/2)>0;
    VAR5A:=BARSLAST(VAR3A);
    VAR6A:=0-BARSLAST(VAR4A);
    VAR7A:=IF(VAR3A<=0,VAR5A,VAR6A);
    VAR11A:=(CLOSE*2+HIGH+LOW)/4;
    VAR21A:=EMA(VAR11A,13)-EMA(VAR11A,34);
    VAR31A:=EMA(VAR21A,5);
    VAR2:=((CLOSE > REF(CLOSE,1)) AND (CLOSE > REF(CLOSE,2)));
    VAR3:=((REF(VAR2,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));
    VAR4:=((REF(VAR3,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));
    VAR5:=((REF(VAR4,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));
    VAR6:=((REF(VAR5,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));
    VAR7:=((REF(VAR6,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));
    VAR8:=((REF(VAR7,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));
    VAR9:=((REF(VAR8,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));
    VARA:=((REF(VAR9,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));
    VARB:=((REF(VARA,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));
    VARC:=((REF(VARB,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));
    VARD:=((REF(VARC,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));
    VARE:=((CLOSE < REF(CLOSE,1)) AND (CLOSE < REF(CLOSE,2)));
    VARF:=((REF(VARE,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));
    VAR10:=((REF(VARF,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));
    VAR11:=((REF(VAR10,1) AND (CLOSE >= REF(CLOSE

     

     来源:程序化99

  • 文华技术人员: 参考;
    AZ:=(3*C+L+O+H)/6; //BZ:(20*AZ+19*REF(AZ,1)+18*REF(AZ,2)+17*REF(AZ,3)+16*REF(AZ,4)+15*REF(AZ,5)+14*REF(AZ,6)+13*REF(AZ,7)+12*REF(AZ,8)+11*REF(AZ,9)+10*REF(AZ,10)+9*REF(AZ,1)+8*REF(AZ,2)+7*REF(AZ,3)+6*REF(AZ,4)+5*REF(AZ,5)+4*REF(AZ,6)+3*REF(AZ,7)+2*REF(AZ,8)+REF(AZ,2))/210,COLOR00FF0F,LINETHICK2; BZ:EMA(C,8),COLOR00FF0F,LINETHICK2; PARTLINE1(BZ>REF(BZ,1),BZ),COLORFF0000,LINETHICK2; EMA(C,16),COLOR00FF0F,LINETHICK2; PARTLINE1(BZ>REF(BZ,1),EMA(C,16)),COLORFF0000,LINETHICK2;
    DZ:=MA(BZ,5),COLORFFFFFF,LINETHICK1; B1:=MA(C,1); B2:=SMA(SMA(SMA(B1,2,1),2,1),2,1); SMA2:=MA(B2,3); 停损下限:=IF(LLV(MA(B2,8),3)<B2,LLV(MA(B2,8),3),B2); SNAKEA:=HHV(MA(B2,1),13),COLORYELLOW; VAR1A:=(2*CLOSE+HIGH+LOW)/4; VAR2A:=MA(VAR1A,7); VAR3A:=VAR2A-MA(VAR1A,7/2)<0; VAR4A:=VAR2A-MA(VAR1A,7/2)>0; VAR5A:=BARSLAST(VAR3A); VAR6A:=0-BARSLAST(VAR4A); VAR7A:=IF(VAR3A<=0,VAR5A,VAR6A); VAR11A:=(CLOSE*2+HIGH+LOW)/4; VAR21A:=EMA(VAR11A,13)-EMA(VAR11A,34); VAR31A:=EMA(VAR21A,5); VAR2:=((CLOSE > REF(CLOSE,1)) AND (CLOSE > REF(CLOSE,2))); VAR3:=((REF(VAR2,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2))); VAR4:=((REF(VAR3,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2))); VAR5:=((REF(VAR4,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2))); VAR6:=((REF(VAR5,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2))); VAR7:=((REF(VAR6,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2))); VAR8:=((REF(VAR7,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2))); VAR9:=((REF(VAR8,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2))); VARA:=((REF(VAR9,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2))); VARB:=((REF(VARA,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2))); VARC:=((REF(VARB,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2))); VARD:=((REF(VARC,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2))); VARE:=((CLOSE < REF(CLOSE,1)) AND (CLOSE < REF(CLOSE,2))); VARF:=((REF(VARE,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2))); VAR10:=((REF(VARF,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));

     

     来源: WWW.CXH99.COM

  • 文华客服: 里面的信号点怎么没有了

     

  • 网友回复:  您提供指标本来就不全的,只是把最后部分补充了而已。

 

有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友

可联系技术人员 QQ: 262069696  点击在线交流或微信号:cxh99cxh99  进行 有偿收费 编写!

怎么收费,代编流程等详情请点击阅读!

(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)


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

相关文章

    没有相关内容