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

[求助]请老师帮助 [文华财经]

  • 咨询内容: 老师好   这两个变色线指标相同。区别是引用开盘与收盘,请老师把两个           变色线指标合并,编写为一个新的共振变色线指标。                谢谢老师


    1/ X1:HHV(OPEN,N4)<REF(OPEN,N5)&&NOT(HHV(OPEN,N4)<REF(OPEN,N5)&&REF(LLV(OPEN,N4)>REF(OPEN,N5),1)),NODRAW;X2:LLV(OPEN,N4)>REF(OPEN,N5)&&NOT(LLV(OPEN,N4)>REF(OPEN,N5)&&REF(HHV(OPEN,N4)<REF(OPEN,N5),1)),NODRAW;HH:CROSS(BACKSET(X1,BARSLAST(X2)+1),0.5),NODRAW;LL:CROSS(BACKSET(X2,BARSLAST(X1)+1),0.5),NODRAW;H1:CROSS(BACKSET(HH,HHVBARS(H,4)+1),0.5),NODRAW;L1:CROSS(BACKSET(LL,LLVBARS(L,4)+1),0.5),NODRAW;DRAWLINE1(H1||ISLASTBAR,H,L1||ISLASTBAR,L,0);DRAWLINE1(L1||ISLASTBAR,L,H1||ISLASTBAR,H,0),COLORRED;
    2/X1:HHV(C,N4)<REF(C,N5)&&NOT(HHV(C,N4)<REF(C,N5)&&REF(LLV(C,N4)>REF(C,N5),1)),NODRAW;X2:LLV(C,N4)>REF(C,N5)&&NOT(LLV(C,N4)>REF(C,N5)&&REF(HHV(C,N4)<REF(C,N5),1)),NODRAW;HH:CROSS(BACKSET(X1,BARSLAST(X2)+1),0.5),NODRAW;LL:CROSS(BACKSET(X2,BARSLAST(X1)+1),0.5),NODRAW;H1:CROSS(BACKSET(HH,HHVBARS(H,4)+1),0.5),NODRAW;L1:CROSS(BACKSET(LL,LLVBARS(L,4)+1),0.5),NODRAW;DRAWLINE1(H1||ISLASTBAR,H,L1||ISLASTBAR,L,0),COLORGREEN;DRAWLINE1(L1||ISLASTBAR,L,H1||ISLASTBAR,H,0),COLORRED;;

     

     来源:程序化99

  • 文华技术人员:  参考;
    X1:HHV(OPEN,N4)<REF(OPEN,N5)&&NOT(HHV(OPEN,N4)<REF(OPEN,N5)&&REF(LLV(OPEN,N4)>REF(OPEN,N5),1)),NODRAW; X2:LLV(OPEN,N4)>REF(OPEN,N5)&&NOT(LLV(OPEN,N4)>REF(OPEN,N5)&&REF(HHV(OPEN,N4)<REF(OPEN,N5),1)),NODRAW; HH:CROSS(BACKSET(X1,BARSLAST(X2)+1),0.5),NODRAW; LL:CROSS(BACKSET(X2,BARSLAST(X1)+1),0.5),NODRAW; H1:CROSS(BACKSET(HH,HHVBARS(H,4)+1),0.5),NODRAW; L1:CROSS(BACKSET(LL,LLVBARS(L,4)+1),0.5),NODRAW; DRAWLINE1(H1||ISLASTBAR,H,L1||ISLASTBAR,L,0); DRAWLINE1(L1||ISLASTBAR,L,H1||ISLASTBAR,H,0),COLORRED;


    X1X:HHV(C,N4)<REF(C,N5)&&NOT(HHV(C,N4)<REF(C,N5)&&REF(LLV(C,N4)>REF(C,N5),1)),NODRAW; X2X:LLV(C,N4)>REF(C,N5)&&NOT(LLV(C,N4)>REF(C,N5)&&REF(HHV(C,N4)<REF(C,N5),1)),NODRAW; HHX:CROSS(BACKSET(X1X,BARSLAST(X2X)+1),0.5),NODRAW; LLX:CROSS(BACKSET(X2X,BARSLAST(X1X)+1),0.5),NODRAW; H1X:CROSS(BACKSET(HHX,HHVBARS(H,4)+1),0.5),NODRAW; L1X:CROSS(BACKSET(LLX,LLVBARS(L,4)+1),0.5),NODRAW; DRAWLINE1(H1X||ISLASTBAR,H,L1X||ISLASTBAR,L,0),COLORGREEN; DRAWLINE1(L1X||ISLASTBAR,L,H1X||ISLASTBAR,H,0),COLORRED;

     

     来源: WWW.CXH99.COM

  • 文华客服:  谢谢老师     您理解有误,是要求两个指标合并为一个新的变色线指标,《见截图说明这是两个指标分别加载 的》



    文件名:赢顺截图20190801200738.jpg

       

     

  • 网友回复:  两者画线的高低点是 不同的 合成一个您最终要以什么为准画线呢?

     

  • 网友回复: 以   1/指标    为准

 

有思路,想编写各种指标公式,程序化交易模型,选股公式,预警公式的朋友

可联系技术人员 QQ: 262069696  点击在线交流或微信:cxhjy888 进行 有偿收费 编写!(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,谢谢您!)

怎么收费,代编流程等详情请点击阅读,或QQ微信联系我们!


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

相关文章

    没有相关内容