OPEN-SOURCE SCRIPT
已更新 Cumulative Tick

This is a script that I use to plot the cumulative TICKS. It resets at the beginning of the session (or whatever time is entered on the input variable) and then starts adding, or subtracting if negative).
版本注释
This version actually does what was intended. The old version was full of bugs版本注释
Updated color of bar will be in relation to Moving Average and not whether it is above or below 0.Fixed Moving Average bug
版本注释
Change Log:- Updated to version 4 (from version 2)
- changed code-base to one that works on version 4. Thanks to PineCoders-LucF!
- Added a range for reset time
- added label to measure the gap between a moving average and the cumulative tick
More Info:
- The gap between the moving average and the cumulative tick is an improvement over previous versions. I use this spot changes in sentiment to plan my entry/exit. If the market is trending and the gap starts getting narrower (closer to zero) then I may start taking a few contracts off my position. If I am trying to play a countertrend trade, I may use the gap to start planning my entry.
版本注释
Fixed Average Gap开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。