I'm new to the forum and new to the Strategy Builder, but I have read and studied several guides and video tutorials.
I try to build a strategy in Strategy Builder, that buys when the first bar closes over the high of the recent low bar.
First I've tried to build the strategy of the Swing indicator, but I could not make it work, because I failed to define high of the low bar. Then I tried to follow the forum example where the low bar is coloured https://ninjatrader.com/support/foru...-or-x-bar-high
However, eventhough I succeded by defining the low bar, and buy on the next bar that closes over the high of the recent low bar, I fail to make the next buy wait for a new low after the buy either makes it takeprofit or stoploss. The strategy will buy on the higher close. Instead it shall wait on a new low is maded.
Code:
Can it be done - either with this code, or by using the swin indicator? Can you help? :-)
Best regards

Comment