颜色栏,但仅在一个情况下
我使用此代码为条具有不同的颜色,但是...
color_bar = close > upperk ? #00c3ff : close < lowerk ? #ff0062 : color.gray
我只想保留灰色的情况。
我不想更改&gt中的栏的颜色; &&lt;案件。
用transp或删除2first情况,但错误消息。
感谢您的帮助,
祝您有美好的一天
I use this code to have different color for the bar but ...
color_bar = close > upperk ? #00c3ff : close < lowerk ? #ff0062 : color.gray
I want just keep the case of the GRAY color.
I don't want to change the color of the bar in the > and < case.
Triyng with transp or delete the 2first case but error message.
Thanks for your help
Have a good day
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
不要像我想要的那样工作。
修改在MA基线中犯了一个错误。
这是完整的代码。
谢谢,
我想在蜡烛上更改蜡烛上的颜色。
Don't works like i want.
The modification make a mistake in the MA baseline.
Here is the full code.
Thanks
I want just change the color on the candle when it's grey.