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

请老师在每条线未端标汪价格数值保留2位小数谢谢 [文华财经]

  • 咨询内容: DRAWSL(ISLASTBAR&&  C> VALUEWHEN(CROSS(BACKSET(ISLASTBAR,SUMBARS(CROSS(QY1,0.5),3)),0.5),L),VALUEWHEN(CROSS(BACKSET(ISLASTBAR,SUMBARS(CROSS(QY1,0.5),3)),0.5),L),0,-SUMBARS(CROSS(QY1,0.5),3)+1,0,COLORRED);
    DRAWSL(ISLASTBAR&&  C< VALUEWHEN(CROSS(BACKSET(ISLASTBAR,SUMBARS(CROSS(QY1,0.5),3)),0.5),L),VALUEWHEN(CROSS(BACKSET(ISLASTBAR,SUMBARS(CROSS(QY1,0.5),3)),0.5),L),0,-SUMBARS(CROSS(QY1,0.5),3)+1,0,COLORGREEN);
    DRAWSL(ISLASTBAR&&  C> VALUEWHEN(CROSS(BACKSET(ISLASTBAR,SUMBARS(CROSS(QY,0.5),3)),0.5),H),VALUEWHEN(CROSS(BACKSET(ISLASTBAR,SUMBARS(CROSS(QY,0.5),3)),0.5),H),0,-SUMBARS(CROSS(QY,0.5),3)+1,0,COLORRED);
    DRAWSL(ISLASTBAR&&  C< VALUEWHEN(CROSS(BACKSET(ISLASTBAR,SUMBARS(CROSS(QY,0.5),3)),0.5),H),VALUEWHEN(CROSS(BACKSET(ISLASTBAR,SUMBARS(CROSS(QY,0.5),3)),0.5),H),0,-SUMBARS(CROSS(QY,0.5),3)+1,0,COLORGREEN);

     

     来源:程序化99

  • 文华技术人员:   增加下面几句看下,效果不好的话提供完整源码,帮您调整
    DRAWNUMBER(ISLASTBAR&&  C> VALUEWHEN(CROSS(BACKSET(ISLASTBAR,SUMBARS(CROSS(QY1,0.5),3)),0.5),L),VALUEWHEN(CROSS(BACKSET(ISLASTBAR,SUMBARS(CROSS(QY1,0.5),3)),0.5),L),VALUEWHEN(CROSS(BACKSET(ISLASTBAR,SUMBARS(CROSS(QY1,0.5),3)),0.5),L),2,COLORRED);DRAWNUMBER(ISLASTBAR&&  C< VALUEWHEN(CROSS(BACKSET(ISLASTBAR,SUMBARS(CROSS(QY1,0.5),3)),0.5),L),VALUEWHEN(CROSS(BACKSET(ISLASTBAR,SUMBARS(CROSS(QY1,0.5),3)),0.5),L),VALUEWHEN(CROSS(BACKSET(ISLASTBAR,SUMBARS(CROSS(QY1,0.5),3)),0.5),L),2,COLORGREEN);DRAWNUMBER(ISLASTBAR&&  C> VALUEWHEN(CROSS(BACKSET(ISLASTBAR,SUMBARS(CROSS(QY,0.5),3)),0.5),H),VALUEWHEN(CROSS(BACKSET(ISLASTBAR,SUMBARS(CROSS(QY,0.5),3)),0.5),H),VALUEWHEN(CROSS(BACKSET(ISLASTBAR,SUMBARS(CROSS(QY,0.5),3)),0.5),H),2,COLORRED);DRAWNUMBER(ISLASTBAR&&  C< VALUEWHEN(CROSS(BACKSET(ISLASTBAR,SUMBARS(CROSS(QY,0.5),3)),0.5),H),VALUEWHEN(CROSS(BACKSET(ISLASTBAR,SUMBARS(CROSS(QY,0.5),3)),0.5),H),VALUEWHEN(CROSS(BACKSET(ISLASTBAR,SUMBARS(CROSS(QY,0.5),3)),0.5),H),2,COLORGREEN); 

     

     来源: WWW.CXH99.COM

  • 文华客服:  谢老师!效果很好!能否在向前大约5根K线对齐的位置标注它有时会档了其它数值

     

  • 网友回复:   只能标注在有K线的位置的
    您可以设置ALIGN0对齐方式试下

     

  • 网友回复:  设置ALIGN0对齐了就差一点点向前1根也行

 

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

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

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

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


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

相关文章

    没有相关内容