布林通道参数标记在线后面

[复制链接]
查看55 | 回复0 | 2022-7-24 06:57:55 | 显示全部楼层 |阅读模式

有时候用2个布林通道组合起来用,就不知道哪个是20日线还是55日线,求老师帮我把20和55这2个数字自动显示在布林通道线的后面

优化源码如下:

BOLL:MA(CLOSE,20),COLOR00FF00,DOTLINE;
 UPPER:BOLL+2*STD(CLOSE,20),COLOR00FF00,DOTLINE;
 LOWER:BOLL-2*STD(CLOSE,20),COLOR00FF00,DOTLINE;BOLL1:MA(CLOSE,55),COLORRED,DOTLINE;
 UPPER1:BOLL1+2*STD(CLOSE,55),COLORRED,DOTLINE;
 LOWER1:BOLL1-2*STD(CLOSE,55),COLORRED,DOTLINE; DRAWTEXT(CURRBARSCOUNT=1,UPPER,' 20上轨'),COLOR00FF00;
 DRAWTEXT(CURRBARSCOUNT=1,UPPER1,' 55上轨'),COLORRED;
 DRAWTEXT(CURRBARSCOUNT=1,LOWER,' 20下轨'),COLOR00FF00;
 DRAWTEXT(CURRBARSCOUNT=1,LOWER1,' 55上轨'),COLORRED;

645400157.jpg

645400157.jpg

 

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则