无法用乘数因子绘制EMA
该脚本运行并显示数值,但不会绘制图表上的第二个scaled_ema变量线
//@version=5
indicator(title="5 EMA Strategy", overlay=true)
ema = ta.ema(close, 5)
scaled_ema = ema * 1.05
plot(ema, color=color.green, title="EMA")
plot(scaled_ema, color=color.orange, title="Scaled EMA")
The script runs and shows the numeric values but wont plot the second scaled_ema variable line on the chart
//@version=5
indicator(title="5 EMA Strategy", overlay=true)
ema = ta.ema(close, 5)
scaled_ema = ema * 1.05
plot(ema, color=color.green, title="EMA")
plot(scaled_ema, color=color.orange, title="Scaled EMA")
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
它在那里,但它超出了您的图表价格范围,因此您看不到这条线路。您实际上可以看到其价值以确认。
使用自动缩放或手动调整价格尺度。
It is there but it is out of your charts price range so you don't see the line. You can actually see its value to confirm.
Either use auto scaling or adjust the price scale manually.