I am totally new to Ninja Trader.
I have set up a strategy to backtest which is mis-firng because I don't understand simple boolean properly.
Go Long if
StochRSi rising
StochRSi below 15
Long term moving average (SMA 50) rising
The sell condition is StochRSI falls.
This strategy is buying on every day the buy conditions are valid. so I have thousands of buys per stock.
I want to buy ONCE the first time the conditions are satisfied, hold, then sell as soon as the sell condition is satisfied. Only after that buying again.
What am I not including?
Thanks, Simon

It should not even compile.
Comment