能不能改成文华9 [文华财经]
-
咨询内容:
能改成文华9 做多做空线开仓吗 WH1:=IF(L=LLV(L,P),L,NULL);WH2:=REFX1(BARSLAST(L=LLV(L,P)),10000);WH3:=REFX1(IF(WH2=0,H,REF(H,WH2)),10000);WH4:=REFX1(REF(BARSLAST(H>WH3),WH2+1)+WH2+1,10000);WH5:=REFX1(IF(WH4=0,H,REF(H,WH4)),10000);WH6:=REFX1(REF(BARSLAST(H>WH5),WH4+1)+WH4+1,10000);CURRBARSCOUNT:=DATACOUNT-BARPOS+1;进场:IF(CURRBARSCOUNT<=WH2+21,REFX1(IF(WH6=0,H,REF(H,WH6)),10000),NULL),COLORRED;IF(CURRBARSCOUNT<=WH2+1,IF(L=LLV(L,P),L,NULL),NULL),CIRCLEDOT,COLORRED;DRAWTEXT(CURRBARSCOUNT=INTPART((WH2+21)*0.618),进场,'多线',COLORRED;
H1:=IF(H=HHV(H,P),H,NULL);H2:=REFX1(BARSLAST(H=HHV(H,P)),10000);H3:=REFX1(IF(H2=0,L,REF(L,H2)),10000);H4:=REFX1(REF(BARSLAST(L<H3),H2+1)+H2+1,10000);H5:=REFX1(IF(H4=0,L,REF(L,H4)),10000);H6:=REFX1(REF(BARSLAST(L<H5),H4+1)+H4+1,10000);止损:IF(CURRBARSCOUNT<=H2+21,REFX1(IF(H6=0,L,REF(L,H6)),10000),NULL),COLORYELLOW;IF(CURRBARSCOUNT<=H2+1,IF(H=HHV(H,P),H,NULL),NULL),CIRCLEDOT,COLORBLUE;DRAWTEXT(CURRBARSCOUNT=INTPART((H2+21)*0.618),止损,'空线',COLORYELLOW;
DRAWCOLORKLINE(BACKSET(CURRBARSCOUNT<=H2+1&&H=HHV(H,P),BARSLAST(L=止损)+1)&&REF(ISNULL(BACKSET(CURRBARSCOUNT<=H2+1&&H=HHV(H,P),BARSLAST(L=止损)+1)),1),COLORBLUE,0);DRAWCOLORKLINE(BACKSET(CURRBARSCOUNT<=WH2+1&&L=LLV(L,P),BARSLAST(H=进场)+1)&&REF(ISNULL(BACKSET(CURRBARSCOUNT<=WH2+1&&L=LLV(L,P),BARSLAST(H=进场)+1)),1),COLORRED,0);来源:程序化99
-
文华技术人员:
修改不了的,这个指标是用未来函数编写的,无法改成模型,wh9也不支持未来函数,指标同样无法修改到wh9上使用。
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信号:cxh99cxh99 进行 有偿收费 编写!
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容