请老师转换一下博易大师格式 [博易POBO]
咨询内容:
请老师转换一下博易大师格式
<!-- 咨询内容: 附件 :
-->
屠龙指标高级.doc
M2:EMA(C,20);
FILLRGN(M2>M1,M1,M2),COLORGREEN;
FILLRGN(M2<M1,M1,M2),COLORRED;
TR:=MAX(MAX((HIGH-LOW),ABS(REF(CLOSE,1)-HIGH)),ABS(REF(CLOSE,1)-LOW));
ATR:=MA(TR,26);
S1:=H-M2>2*ATR AND C-O<0 AND REF(C,1)-REF(O,1)>0 AND VOL>REF(VOL,1);
DRAWTEXT(S1,H+0.5*ATR,1,'减仓'),COLORMAGENTA,LINETHICK2;
B1:=M2-L<1.5*ATR AND C-O>0 AND REF(C,1)-REF(O,1)<0 AND VOL<0.5*REF(VOL,1) AND M1<M2;
DRAWTEXT(B1,L- ATR,1,'减仓'),COLORMAGENTA,LINETHICK2;
B2:=M1>M2 AND REF(M1,1)<REF(M2,1);
DRAWTEXT(B2,L- ATR,1,'买入'),COLORRED,LINETHICK2;
S2:=M1<M2 AND REF(M1,1)>REF(M2,1);
DRAWTEXT(S2,H+ ATR,1,'卖出'),COLORGREEN,LINETHICK2;
来源 程序化久久网
来源:程序化99网( WWW.CXH99.COM )
博易技术人员: M1:EMA(C,5);M2:EMA(C,20);
FILLRGN(M2>M1,M1,M2),COLORGREEN;
FILLRGN(M2<M1,M1,M2),COLORRED;
TR:=MAX(MAX((HIGH-LOW),ABS(REF(CLOSE,1)-HIGH)),ABS(REF(CLOSE,1)-LOW));
ATR:=MA(TR,26);
S1:=H-M2>2*ATR AND C-O<0 AND REF(C,1)-REF(O,1)>0 AND VOL>REF(VOL,1);
DRAWTEXT(S1,H+0.5*ATR,1,'减仓'),COLORMAGENTA,LINETHICK2;
B1:=M2-L<1.5*ATR AND C-O>0 AND REF(C,1)-REF(O,1)<0 AND VOL<0.5*REF(VOL,1) AND M1<M2;
DRAWTEXT(B1,L- ATR,1,'减仓'),COLORMAGENTA,LINETHICK2;
B2:=M1>M2 AND REF(M1,1)<REF(M2,1);
DRAWTEXT(B2,L- ATR,1,'买入'),COLORRED,LINETHICK2;
S2:=M1<M2 AND REF(M1,1)>REF(M2,1);
DRAWTEXT(S2,H+ ATR,1,'卖出'),COLORGREEN,LINETHICK2;
来源 程序化久久网
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信号:cxh99cxh99 进行 有偿收费 编写!
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容