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

麻烦老师帮改成赢顺云公式 [文华财经]

  • 咨询内容:  

    Z1:=STRCAT(HYBLOCK,'';
    Z2:=STRCAT(Z1,DYBLOCK);
    Z3:=STRCAT(Z2,'';
    DRAWTEXT_FIX(ISLASTBAR,0,10,0,STRCAT(Z3,GNBLOCK)),COLOR0000FF;

    DRAWTEXT_FIX(1,0.00,0.00,0,'题投资:'COLOR0000FF;
    DRAWTEXT_FIX(1,0.07,0.00,0,EXTERNSTR(0,1))COLOR0000FF;
    DRAWTEXT_FIX(1,0.00,0.08,0,'营业务:'COLORFF00FF;
    DRAWTEXT_FIX(1,0.07,0.08,0,EXTERNSTR(0,2))COLORFF00FF;

    ZT:=C>REF(C,1)*1.090 AND C<REF(C,1)*1.205;
    DT:=C<REF(C,1)*0.901 AND C>REF(C,1)*0.798;
    STICKLINE(ZT,C,O,4,0),COLORRED;
    STICKLINE(DT,C,O,4,0),COLORBLUE;
    DRAWTEXT(ZT,L-0.1,'停',COLORRED;
    DRAWTEXT(DT,H+0.3,'停',COLORBLUE;
    流通市值:(FINANCE(40)/100000000),NODRAW,COLORRED;
    FL:MA(CLOSE,17)+ABS(MA(CLOSE,17)-REF(MA(CLOSE,17),1)),COLORF4E202;
    FS:MA(CLOSE,17)+MA(CLOSE,17)-REF(MA(CLOSE,17),1),COLORF4E202,LINETHICK1;
    CG:IF(MA(CLOSE,17)<FS,FS,MA(CLOSE,17))COLORYELLOW,LINETHICK2;
    IF(CG<FL AND CG>FS,CG,DRAWNULL),COLORF4E202,LINETHICK2;
    VAR0:=(CLOSE*2+HIGH+LOW)/4*VOL;
    VAR1:=SUM(VAR0,89)/SUM(VOL,89);
    VAR2:=IF(COUNT(VAR0>0,2)>=2,MA(CLOSE,89)*(1+(MA(VAR0,89)/REF(MA(VAR0,89),1)-1)/21),MA(CLOSE,89));
    VAR3:=IF(COUNT(ABS(CLOSE-VAR1)>21,8)>=1 AND COUNT(CLOSE/REF(CLOSE,1)<0.8,8)<1 AND COUNT(VAR0>0,2)>=2,10,0);
    VAR4:=IF(CLOSE>=VAR1 AND COUNT(VAR0>0,2)>=2,VAR1*1.001,IF(VAR0<0.1 AND COUNT(VAR0>0,2)<1.5,MA(CLOSE,89),VAR1*0.999));
    VAR5:=IF(VAR3>0,VAR2,VAR4);
    VAR6:=MA(CLOSE,89);
    生命线:IF(VAR5/REF(VAR5,1)>1.1 OR VAR5/REF(VAR5,1)<0.9,VAR6,VAR5),COLORFF80FF,LINETHICK2,;

     

     来源:程序化99

  • 文华技术人员:  参考:

    ZT:=C>REF(C,1)*1.090 AND C<REF(C,1)*1.205; DT:=C<REF(C,1)*0.901 AND C>REF(C,1)*0.798; STICKLINE(ZT,C,O,4,0),COLORRED; STICKLINE(DT,C,O,4,0),COLORBLUE; DRAWTEXT(ZT,L-0.1,'停',COLORRED; DRAWTEXT(DT,H+0.3,'停',COLORBLUE; FL:MA(CLOSE,17)+ABS(MA(CLOSE,17)-REF(MA(CLOSE,17),1)),COLORF4E202; FS:MA(CLOSE,17)+MA(CLOSE,17)-REF(MA(CLOSE,17),1),COLORF4E202,LINETHICK1; CG:IF(MA(CLOSE,17)<FS,FS,MA(CLOSE,17)),COLORYELLOW,LINETHICK2; IF(CG<FL AND CG>FS,CG,NULL),COLORF4E202,LINETHICK2; VAR0:=(CLOSE*2+HIGH+LOW)/4*VOL; VAR1:=SUM(VAR0,89)/SUM(VOL,89); VAR2:=IF(COUNT(VAR0>0,2)>=2,MA(CLOSE,89)*(1+(MA(VAR0,89)/REF(MA(VAR0,89),1)-1)/21),MA(CLOSE,89)); VAR3:=IF(COUNT(ABS(CLOSE-VAR1)>21,8)>=1 AND COUNT(CLOSE/REF(CLOSE,1)<0.8,8)<1 AND COUNT(VAR0>0,2)>=2,10,0); VAR4:=IF(CLOSE>=VAR1 AND COUNT(VAR0>0,2)>=2,VAR1*1.001,IF(VAR0<0.1 AND COUNT(VAR0>0,2)<1.5,MA(CLOSE,89),VAR1*0.999)); VAR5:=IF(VAR3>0,VAR2,VAR4); VAR6:=MA(CLOSE,89); 生命线:IF(VAR5/REF(VAR5,1)>1.1 OR VAR5/REF(VAR5,1)<0.9,VAR6,VAR5),COLORFF80FF,LINETHICK2;

 

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

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

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

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


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

相关文章

    没有相关内容