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

[求助]请修改一下 [文华财经]

  • 咨询内容:  原指标: SMOOTH1:DRAWLINE(HIGH>=HHV(HIGH,5),HIGH,LOW<=LLV(LOW,5),LOW,0),COLORLIGRAY;SMOOTH2:DRAWLINE(LOW<=LLV(LOW,5),LOW,HIGH>=HHV(HIGH,5),HIGH,0),COLORLIGRAY;SMOOTH3:DRAWLINE(HIGH>=HHV(HIGH,34),HIGH,LOW<=LLV(LOW,34),LOW,0)COLORLIGREEN;SMOOTH4:DRAWLINE(LOW<=LLV(LOW,34),LOW,HIGH>=HHV(HIGH,34),HIGH,0)COLORRED;SMOOTH5:DRAWLINE(HIGH>=HHV(HIGH,55),HIGH,LOW<=LLV(LOW,55),LOW,0)COLORYELLOW;SMOOTH6:DRAWLINE(LOW<=LLV(LOW,55),LOW,HIGH>=HHV(HIGH,55),HIGH,0)COLORYELLOW;
    我在WH6上写出来加载到K线图上和原指标效果不一致 WH6上: DRAWLINE1(HIGH>=HHV(HIGH,5),HIGH,LOW<=LLV(LOW,5),LOW,0),COLORWHITE;DRAWLINE1(LOW<=LLV(LOW,5),LOW,HIGH>=HHV(HIGH,5),HIGH,0),COLORWHITE;DRAWLINE1(HIGH>=HHV(HIGH,34),HIGH,LOW<=LLV(LOW,34),LOW,0),COLORGREEN;DRAWLINE1(LOW<=LLV(LOW,34),LOW,HIGH>=HHV(HIGH,34),HIGH,0),COLORRED;DRAWLINE1(HIGH>=HHV(HIGH,55),HIGH,LOW<=LLV(LOW,55),LOW,0),COLORYELLOW;DRAWLINE1(LOW<=LLV(LOW,55),LOW,HIGH>=HHV(HIGH,55),HIGH,0),COLORYELLOW;

     

     来源:程序化99

  • 文华技术人员:  参考:
    DRAWLINE1(HIGH>=HHV(HIGH,5),HIGH,LOW<=LLV(LOW,5),LOW,0),COLORLIGHTGREY;DRAWLINE1(LOW<=LLV(LOW,5),LOW,HIGH>=HHV(HIGH,5),HIGH,0),COLORLIGHTGREY;DRAWLINE1(HIGH>=HHV(HIGH,34),HIGH,LOW<=LLV(LOW,34),LOW,0),COLORGREEN;DRAWLINE1(LOW<=LLV(LOW,34),LOW,HIGH>=HHV(HIGH,34),HIGH,0),COLORRED;DRAWLINE1(HIGH>=HHV(HIGH,55),HIGH,LOW<=LLV(LOW,55),LOW,0),COLORYELLOW;DRAWLINE1(LOW<=LLV(LOW,55),LOW,HIGH>=HHV(HIGH,55),HIGH,0),COLORYELLOW;
    由于各个软件中函数的不同,修改后可能会有差别;

     

     来源: WWW.CXH99.COM

  • 文华客服:  这样的连线没有连到最高或最低点,是什么原因?

     

  • 网友回复: 请参考
    高点1:=CROSS(BACKSET(HIGH>=HHV(HIGH,5),BARSLAST(LOW<=LLV(LOW,5))+1),0.5); 低点1:=CROSS(BACKSET(LOW<=LLV(L,5),BARSLAST(H>=HHV(H,5))+1),0.5); DRAWLINE1(高点1,L,低点1,H,0),COLORLIGHTGREY; DRAWLINE1(低点1,H,高点1,L,0),COLORLIGHTGREY;
    高点2:=CROSS(BACKSET(HIGH>=HHV(HIGH,34),BARSLAST(LOW<=LLV(LOW,34))+1),0.5); 低点2:=CROSS(BACKSET(LOW<=LLV(L,34),BARSLAST(H>=HHV(H,34))+1),0.5); DRAWLINE1(高点2,L,低点2,H,0),COLORGREEN; DRAWLINE1(低点2,H,高点2,L,0),COLORRED;

    高点3:=CROSS(BACKSET(HIGH>=HHV(HIGH,55),BARSLAST(LOW<=LLV(LOW,55))+1),0.5); 低点3:=CROSS(BACKSET(LOW<=LLV(L,55),BARSLAST(H>=HHV(H,55))+1),0.5); DRAWLINE1(高点3,L,低点3,H,0),COLORYELLOW; DRAWLINE1(低点3,H,高点3,L,0),COLORYELLOW;

     

  • 网友回复:  


    文件名:微信图片_20210804221351.png

 

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

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

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

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


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

相关文章

    没有相关内容