This is a conversion from NinjaTrader 7 of the Divergence Spotter indicator originally created by Ben Letto, November 2007, [email protected], as requested by a user. This version has optional background stripes.
Update 01/24/2022: Fixed bug that kept indicator from loading on initial application to the chart (previously you had to reload NinjaScript on the chart for it to process properly)
NYSE Advancing Issues/Declining Issues
Uses historical tick data to calculate the ^ADV index minus the ^DECL index to give a simulation of the ^ADD index.
Requires a data feed that supports indexes and provides data for the ^ADV (NYSE Advancing Issues) and ^DECL (NYSE Declining Issues).
Update June 16th, 2020 – Corrected stroke attributes to allow script to work with Strategy Builder.
Update Oct. 29th, 2024 – Correction to rendering coordinates