Indicator show divergence between price and chosen indicator. User may choose any standard or custom indicator for finding divergence.
Parameter [Frames] define count of bars for identification of indicator extremums.
Download:
Multi Source Indicator_Divergence will allow you the selection or source type.
For example the MACD has three outputs.
1) MACD
2) Signal
3) Histogram.
This is possible via the Stream Number parameter.
U can now select tick or bar source.
Unfortunately if tick source is selected, Bar-based indicator (HA, AO, AC ...) will not work.
Make sure to set source to Bar source for Bar-based indicator
The indicator was revised and updated