如何计算时间范围内事件发生多少次? V5
正如屏幕截图所示,我正在尝试检测VWAP篮板,如果您可以看到,图像的右侧有一个巨大的看跌突破。我的理论是,如果我能计算出弹跳发生多少次的数量(结合VWAP的趋势),我就可以预测潜在的突破。也是看涨的背景。
是否有一个函数可以进行计数?还是脚本化解决方法的任何想法?
我可以打开市场时刻,这可能是计数的最佳开始。无法制作ta.cum()
工作。
As the screenshot shows, I am trying to detect VWAP rebounds and if you may see, there's a huge bearish breakout on the right side of the image. My theory is, if I could count the number of how many times a bounce occurred then (combining with the trend of VWAP) I could be able to predict potential breakouts. Also in bullish context.
Is there a function to do this counting? Or any idea of a scripted workaround?
I can get the moment of Market Open, it could be the best start of the counting. Couldn't make ta.cum()
work.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以使用它来计算在给定长度上您的病情真实的次数:
You can use this to count how many times your condition was true in the given length: