OPEN-SOURCE SCRIPT
Updated

Divergence Backtester - V2

14378
Further attempts to study divergence impact on price in shorter terms.

Previous study can be found here:
Divergence Backtester


In this script, we are trying to gather the stats based on last two pivot state together. For example, Individual table of Pivot High Projection is as explained below:
https://www.tradingview.com/x/jyNEhq4V/

But, by looking at the bigger picture, we can further estimate following things regarding the current unconfirmed pivot and the new pivot which is yet to be formed.

https://www.tradingview.com/x/EgQQoJwG/
Release Notes
Fixed a bug on lower pivot estimation.

Also added average fib ratios for each case.
Release Notes
Few more fixes.
Release Notes
Small updates from next pivot projection script.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.