OPEN-SOURCE SCRIPT

Divergence Backtester - V2

Updated
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.
dovergencehewhomustnotbenamedOscillatorsprobabilitiesRelative Strength Index (RSI)statstrendoscopeZig Zag Indicator

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer