如何检查低在地下
我有以下图,
last13 = lowest(close, 13)
Bottom = last13 == nz(last13[1]) ? last13 : na
plot(Bottom, color=#0000ff, linewidth=4, style=plot.style_linebr, title="Bottom", offset=0)
它将在图表上绘制一条短线。
我想计算出现线路出现的条的数量。
我还要检查从线的开头,在那条短直线下是否有低点或等于任何低点。如果是,请返回true,如果不是,请返回false。
我该怎么做?
I have the following plot
last13 = lowest(close, 13)
Bottom = last13 == nz(last13[1]) ? last13 : na
plot(Bottom, color=#0000ff, linewidth=4, style=plot.style_linebr, title="Bottom", offset=0)
It will draw a short straight line on the chart.
I would like to count the number of bars where the line appears.
I want to check also if there is any low under or equal that short straight line, from the beginning of line. If yes, return true, if not, return false.
How can I do that?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以为此使用
var
计数器。You can use a
var
counter for this.