found here : http://www.ninjatrader-support.com/v...ead.php?t=5689
I want the indicator to draw a
HL
ONLY when the swing low is > previous swing high
LH
ONly when the swing high < previous swing low
I used TraderGuy's indicator as a base and stripped it to my needs, and I almost got it working as i want
My problem here is how do I reference to the previous swing high/low instead of referencing to a lookback period (x-nr of bars)
in this line of code :
barsback = Swing(strength).SwingHighBar(0,2,lookback);
Your help is much appreciated
Nico
Comment