C# Programming for NinjaTrader to develop a custom chart type:
Modified 3 tick Range Bars :
Green bar complete: move to next new bar.
Set BASE reference 2 ticks below last green bar high.
Set 2 bar triggers: 1st trigger at BASE + 4 ticks. 2nd trigger at BASE – 4 ticks.
If 1st trigger hit, print green bar from BASE to + 3 ticks and move to next bar. New BASE will be 2 ticks below last green bar high.
If 2nd trigger hit, print red bar from BASE to – 3 ticks and move to next bar. New BASE will be 2 ticks up from last red bar low.
Set new bar triggers at + 4 and – 4 ticks.