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

老师帮我把这个指标用黄色标记的换为白色 [文华财经]

  • 咨询内容:
    M1:=4;
    M2:=6;
    M3:=9;
    M4:=13;
    M5:=18;
    M6:=24;
    PB1:(EMA(CLOSE,M1)+MA(CLOSE,M1*2)+MA(CLOSE,M1*4))/3;
    PB2:(EMA(CLOSE,M2)+MA(CLOSE,M2*2)+MA(CLOSE,M2*4))/3;
    PB3:(EMA(CLOSE,M3)+MA(CLOSE,M3*2)+MA(CLOSE,M3*4))/3;
    PB4:(EMA(CLOSE,M4)+MA(CLOSE,M4*2)+MA(CLOSE,M4*4))/3;
    PB5:(EMA(CLOSE,M5)+MA(CLOSE,M5*2)+MA(CLOSE,M5*4))/3;
    PB6:(EMA(CLOSE,M6)+MA(CLOSE,M6*2)+MA(CLOSE,M6*4))/3;
    HH:=MAX1(PB1,PB2,PB3,PB4,PB5,PB6);
    LL:=MIN1(PB1,PB2,PB3,PB4,PB5,PB6);
    HH-LL<=20*MINPRICE,SOUND('A');
    FILLRGN(PB6<MIN1(PB1,PB2,PB3,PB4,PB5),PB6,MAX1(PB1,PB2,PB3,PB4,PB5),COLORRED);
    FILLRGN(HH-LL<=20*MINPRICE,PB6,MAX1(PB1,PB2,PB3,PB4,PB5),COLORYELLOW);
    FILLRGN(PB6=MAX1(PB1,PB2,PB3,PB4,PB5),PB6,MAX1(PB1,PB2,PB3,PB4,PB5),COLORRED);
    FILLRGN(PB6>MAX1(PB1,PB2,PB3,PB4,PB5),PB6,MIN1(PB1,PB2,PB3,PB4,PB5),COLORGREEN);

     

     来源:程序化99

  • 文华技术人员:  参考:
    M1:=4; M2:=6; M3:=9; M4:=13; M5:=18; M6:=24; PB1:(EMA(CLOSE,M1)+MA(CLOSE,M1*2)+MA(CLOSE,M1*4))/3; PB2:(EMA(CLOSE,M2)+MA(CLOSE,M2*2)+MA(CLOSE,M2*4))/3; PB3:(EMA(CLOSE,M3)+MA(CLOSE,M3*2)+MA(CLOSE,M3*4))/3; PB4:(EMA(CLOSE,M4)+MA(CLOSE,M4*2)+MA(CLOSE,M4*4))/3; PB5:(EMA(CLOSE,M5)+MA(CLOSE,M5*2)+MA(CLOSE,M5*4))/3; PB6:(EMA(CLOSE,M6)+MA(CLOSE,M6*2)+MA(CLOSE,M6*4))/3; HH:=MAX1(PB1,PB2,PB3,PB4,PB5,PB6); LL:=MIN1(PB1,PB2,PB3,PB4,PB5,PB6); HH-LL<=20*MINPRICE,SOUND(''; FILLRGN(PB6<MIN1(PB1,PB2,PB3,PB4,PB5),PB6,MAX1(PB1,PB2,PB3,PB4,PB5),COLORRED); FILLRGN(HH-LL<=20*MINPRICE,PB6,MAX1(PB1,PB2,PB3,PB4,PB5),COLORWHITE); FILLRGN(PB6=MAX1(PB1,PB2,PB3,PB4,PB5),PB6,MAX1(PB1,PB2,PB3,PB4,PB5),COLORRED); FILLRGN(PB6>MAX1(PB1,PB2,PB3,PB4,PB5),PB6,MIN1(PB1,PB2,PB3,PB4,PB5),COLORGREEN);

 

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

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

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

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


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

相关文章

    没有相关内容