请老师帮忙把改一下,让K线在最前面显示,不要被轨道挡住 [博易POBO]
咨询内容:
请老师帮忙把改一下,让K线在最前面显示,不要被轨道挡住,K线都看不见了,很多被轨道挡住了,谢谢
S:=CROSS(CLOSE,EMA2(HIGH,20));
X:=CROSS(EMA2(LOW,20),CLOSE);
WS:=BARSLAST(S)+1;
WX:=BARSLAST(X)+1;
SS:=CROSS(SUM(S,WX),0.5);
XX:=CROSS(SUM(X,WS),0.5);
STICKLINE(CLOSE>EMA2(HIGH,20),EMA2(HIGH,20),EMA2(LOW,20),8,1),COLOR41444B;
STICKLINE(CLOSE<EMA2(LOW,20),EMA2(LOW,20),EMA2(HIGH,20),8,1),COLOR804000;
STICKLINE(CLOSE>EMA2(HIGH,85),EMA2(HIGH,85),EMA2(LOW,85),8,1),COLOR41444B;
STICKLINE(CLOSE<EMA2(LOW,85),EMA2(LOW,85),EMA2(HIGH,85),8,1),COLOR804000;
PARTLINE(CLOSE>EMA2(HIGH,20),EMA2(HIGH,20)),COLOR41444B;
PARTLINE(CLOSE<EMA2(HIGH,20),EMA2(HIGH,20)),COLOR804000;
PARTLINE(CLOSE>EMA2(LOW,20),EMA2(LOW,20)),COLOR41444B;
PARTLINE(CLOSE<EMA2(LOW,20),EMA2(LOW,20)),COLOR804000;
PARTLINE(CLOSE>EMA2(HIGH,85),EMA2(HIGH,85)),COLOR41444B;
PARTLINE(CLOSE<EMA2(HIGH,85),EMA2(HIGH,85)),COLOR804000;
PARTLINE(CLOSE>EMA2(LOW,85),EMA2(LOW,85)),COLOR41444B;
PARTLINE(CLOSE<EMA2(LOW,85),EMA2(LOW,85)),COLOR804000;
DRAWTEXT(SS,LOW,'买入'),COLOR8000FF;
DRAWTEXT(XX,HIGH,'卖出'),COLOR008000; <!-- 咨询内容:
DRAWKLINE(H,O,L,C); 来源 程序化久久网
请老师帮忙把改一下,让K线在最前面显示,不要被轨道挡住
请老师帮忙把改一下,让K线在最前面显示,不要被轨道挡住,K线都看不见了,很多被轨道挡住了,谢谢
S:=CROSS(CLOSE,EMA2(HIGH,20));
X:=CROSS(EMA2(LOW,20),CLOSE);
WS:=BARSLAST(S)+1;
WX:=BARSLAST(X)+1;
SS:=CROSS(SUM(S,WX),0.5);
XX:=CROSS(SUM(X,WS),0.5);
STICKLINE(CLOSE>EMA2(HIGH,20),EMA2(HIGH,20),EMA2(LOW,20),8,1),COLOR41444B;
STICKLINE(CLOSE<EMA2(LOW,20),EMA2(LOW,20),EMA2(HIGH,20),8,1),COLOR804000;
STICKLINE(CLOSE>EMA2(HIGH,85),EMA2(HIGH,85),EMA2(LOW,85),8,1),COLOR41444B;
STICKLINE(CLOSE<EMA2(LOW,85),EMA2(LOW,85),EMA2(HIGH,85),8,1),COLOR804000;
PARTLINE(CLOSE>EMA2(HIGH,20),EMA2(HIGH,20)),COLOR41444B;
PARTLINE(CLOSE<EMA2(HIGH,20),EMA2(HIGH,20)),COLOR804000;
PARTLINE(CLOSE>EMA2(LOW,20),EMA2(LOW,20)),COLOR41444B;
PARTLINE(CLOSE<EMA2(LOW,20),EMA2(LOW,20)),COLOR804000;
PARTLINE(CLOSE>EMA2(HIGH,85),EMA2(HIGH,85)),COLOR41444B;
PARTLINE(CLOSE<EMA2(HIGH,85),EMA2(HIGH,85)),COLOR804000;
PARTLINE(CLOSE>EMA2(LOW,85),EMA2(LOW,85)),COLOR41444B;
PARTLINE(CLOSE<EMA2(LOW,85),EMA2(LOW,85)),COLOR804000;
DRAWTEXT(SS,LOW,'买入'),COLOR8000FF;
DRAWTEXT(XX,HIGH,'卖出'),COLOR008000; <!-- 咨询内容:
附件 :
-->
来源:程序化99网( WWW.CXH99.COM )
博易技术人员: 在最后一行加上以下代码DRAWKLINE(H,O,L,C); 来源 程序化久久网
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信号:cxh99cxh99 进行 有偿收费 编写!
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容