当条关闭或低于枢轴点打开时,松文脚本信号
我已经在Pine脚本中编码了一个枢轴点,但是现在我想添加S2信号,该信号表明:
- 一个栏位于第一个枢轴点栏的开放式上方(用于上升趋势),并且
- 一个栏位于第一个杆的下方。 Pivot Point Bar(对于下降趋势)
可能需要几个条,因此我认为Bar_index会有所帮助,但我无法弄清楚(因为我不是编码器)。每当有一个新的枢轴点时,检查再次开始。
如果有人能提供帮助,那就太好了。
[]
I have coded a pivot point in pine script but now I want to add the S2-signal that indicates that:
- a bar closes ABOVE the OPEN of the first pivot point bar (for an UPtrend) and
- a bar closes BELOW the OPEN of the first pivot point bar (for an DOWNtrend)
This could take a few bars so I'm thinking a bar_index would be helpful but I can't figure it out (because I'm not a coder). Whenever there's a new pivot point, the check starts again.
If someone could help that would be great.
[]
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果我明白您需要什么:
但是没有一条源代码就很难理解
if i understand what's you need:
But without a piece of source code is difficult understand