Near the BEuTiFULL Horse Shoe
Experience: Beginner
Platform: NinjaTrader
Broker: MBTrading Dukascopy ZenFire
Trading: $EURUSD when it is trending
Posts: 473 since Jul 2009
Thanks Given: 401
Thanks Received: 184
|
Greets!
I am trying to add this type of condition to the condition 'if' statement of the strategy, and while it does compile, there are no results generated when running a backtest:
SwingGap.SwingHigh [0] - SwingGap.SwingLow [0] > 14
In other words I dont want to take a trade if the range between the current swing high and low is less that a predetermined amount. Sorry, I am typing from a computer where the strategy is not installed: I can post the rest of the code later if it is helpful.
I have tried private boll statements but it is not accepted that way either. I must be missing a step that is obvious to some ... not to me though.
Can someone please help me out?
Thanks,
Jon
|