I want to call this Divergence Spotter indicator (https://ninjatraderecosystem.com/use...e-spotter-nt8/) from a strategy AND SELECT another indicator to base divergence on, instead of MACD.
How can I modify indicator code, so it would let me call it from the strategy and select, let's say, RSI (instead of MACD), because now, when I go to indicator's properties, it only gives me option to call as: DivergenceSpotterV2(Input) (where input is close price as default).
And I want it to become DivergenceSpotterV2(Indicator, Input), so I could select indicator of my choice to base the divergence on.
Comment