请老师帮忙转换一下 [博易POBO]
咨询内容:
顶1:=REFX1(HHV(H,M),10000);
底1:=REFX1(LLV(L,M),10000);
H1:=顶1-(顶1-底1)*0.191;
H2:=顶1-(顶1-底1)*0.382;
H3:=顶1-(顶1-底1)*0.5;
H4:=顶1-(顶1-底1)*0.618;
H5:=顶1-(顶1-底1)*0.809;
顶部:REFX1(顶1,10000),COLOR666666;
.8:REFX1(H1,10000),COLOR666666;
%38.2:REFX1(H2,10000),COLOR666666;
%50:REFX1(H3,10000),COLOR666666;
%61.8:REFX1(H4,10000),COLOR666666;
%80.9:REFX1(H5,10000),COLOR666666;
底部:REFX1(底1,10000),COLOR666666;
DRAWTEXT(ISLASTBAR,顶部,' 顶部'),COLORGREEN;
DRAWTEXT(ISLASTBAR,.8,' 19.8%'),COLORMAGENTA;
DRAWTEXT(ISLASTBAR,%38.2,' 38.2%'),COLORYELLOW;
DRAWTEXT(ISLASTBAR,%50,' 50%'),COLORWHITE;
DRAWTEXT(ISLASTBAR,%61.8,' 61.8%'),COLORYELLOW;
DRAWTEXT(ISLASTBAR,%80.9,' 80.9%'),COLORMAGENTA;
DRAWTEXT(ISLASTBAR,底部,' 底部'),COLORRED;
底1:=REFX(LLV(L,10),DATACOUNT-BARPOS-1);
H1:=顶1-(顶1-底1)*0.191;
H2:=顶1-(顶1-底1)*0.382;
H3:=顶1-(顶1-底1)*0.5;
H4:=顶1-(顶1-底1)*0.618;
H5:=顶1-(顶1-底1)*0.809;
顶部:REFX(顶1,DATACOUNT-BARPOS-1),COLOR666666;
A08:REFX(H1,DATACOUNT-BARPOS-1),COLOR666666;
A382:REFX(H2,DATACOUNT-BARPOS-1),COLOR666666;
A50:REFX(H3,DATACOUNT-BARPOS-1),COLOR666666;
A618:REFX(H4,DATACOUNT-BARPOS-1),COLOR666666;
A809:REFX(H5,DATACOUNT-BARPOS-1),COLOR666666;
底部:REFX(底1,DATACOUNT-BARPOS-1),COLOR666666;
DRAWTEXT(ISLASTBAR,顶部,' 顶部'),COLORGREEN;
DRAWTEXT(ISLASTBAR,A08,' 19.8%'),COLORMAGENTA;
DRAWTEXT(ISLASTBAR,A382,' 38.2%'),COLORYELLOW;
DRAWTEXT(ISLASTBAR,A50,' 50%'),COLORWHITE;
DRAWTEXT(ISLASTBAR,A618,' 61.8%'),COLORYELLOW;
DRAWTEXT(ISLASTBAR,A809,' 80.9%'),COLORMAGENTA;
DRAWTEXT(ISLASTBAR,底部,' 底部'),COLORRED; 请问,博易6模拟版,为什么无法平仓呢?
来源 程序化久久网
请老师帮忙转换一下
{黄金分割线}顶1:=REFX1(HHV(H,M),10000);
底1:=REFX1(LLV(L,M),10000);
H1:=顶1-(顶1-底1)*0.191;
H2:=顶1-(顶1-底1)*0.382;
H3:=顶1-(顶1-底1)*0.5;
H4:=顶1-(顶1-底1)*0.618;
H5:=顶1-(顶1-底1)*0.809;
顶部:REFX1(顶1,10000),COLOR666666;
.8:REFX1(H1,10000),COLOR666666;
%38.2:REFX1(H2,10000),COLOR666666;
%50:REFX1(H3,10000),COLOR666666;
%61.8:REFX1(H4,10000),COLOR666666;
%80.9:REFX1(H5,10000),COLOR666666;
底部:REFX1(底1,10000),COLOR666666;
DRAWTEXT(ISLASTBAR,顶部,' 顶部'),COLORGREEN;
DRAWTEXT(ISLASTBAR,.8,' 19.8%'),COLORMAGENTA;
DRAWTEXT(ISLASTBAR,%38.2,' 38.2%'),COLORYELLOW;
DRAWTEXT(ISLASTBAR,%50,' 50%'),COLORWHITE;
DRAWTEXT(ISLASTBAR,%61.8,' 61.8%'),COLORYELLOW;
DRAWTEXT(ISLASTBAR,%80.9,' 80.9%'),COLORMAGENTA;
DRAWTEXT(ISLASTBAR,底部,' 底部'),COLORRED;
来源:程序化99网( WWW.CXH99.COM )
博易技术人员: 顶1:=REFX(HHV(H,10),DATACOUNT-BARPOS-1);底1:=REFX(LLV(L,10),DATACOUNT-BARPOS-1);
H1:=顶1-(顶1-底1)*0.191;
H2:=顶1-(顶1-底1)*0.382;
H3:=顶1-(顶1-底1)*0.5;
H4:=顶1-(顶1-底1)*0.618;
H5:=顶1-(顶1-底1)*0.809;
顶部:REFX(顶1,DATACOUNT-BARPOS-1),COLOR666666;
A08:REFX(H1,DATACOUNT-BARPOS-1),COLOR666666;
A382:REFX(H2,DATACOUNT-BARPOS-1),COLOR666666;
A50:REFX(H3,DATACOUNT-BARPOS-1),COLOR666666;
A618:REFX(H4,DATACOUNT-BARPOS-1),COLOR666666;
A809:REFX(H5,DATACOUNT-BARPOS-1),COLOR666666;
底部:REFX(底1,DATACOUNT-BARPOS-1),COLOR666666;
DRAWTEXT(ISLASTBAR,顶部,' 顶部'),COLORGREEN;
DRAWTEXT(ISLASTBAR,A08,' 19.8%'),COLORMAGENTA;
DRAWTEXT(ISLASTBAR,A382,' 38.2%'),COLORYELLOW;
DRAWTEXT(ISLASTBAR,A50,' 50%'),COLORWHITE;
DRAWTEXT(ISLASTBAR,A618,' 61.8%'),COLORYELLOW;
DRAWTEXT(ISLASTBAR,A809,' 80.9%'),COLORMAGENTA;
DRAWTEXT(ISLASTBAR,底部,' 底部'),COLORRED; 请问,博易6模拟版,为什么无法平仓呢?
来源 程序化久久网
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信号:cxh99cxh99 进行 有偿收费 编写!
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容