Ninjatrader indicator (C#) to show simple difference of highs and lows between bars.
(see attached PDF file for example ...)
Basically ... For Each Bar ... take the current bar High, subtract the previous bar High (call this Delta-H for now)
take the current bar Low, subtract the previous bar Low (call this Delta-L for now)
then replace any negative values of Delta-H with zero
and replace any positive values of Delta-L with zero
Graph the results of Delta-H and Delta-L on the same Stacked bar with Delta-H over Delta-L ..
Delta-H defaulting to a color of Green and Delta-L defaulting to a color of Red ...
a 'inside bar' would show zero, an 'ouside bar' would show both RED and GREEN bar colors
and anything else would only show a GREEN or RED bar with the length of the bar denoting the difference (Delta)
See attached PDF for a simple example