i tried to program a simple but quite well working EOD-strategy (tried it in MS Ex...for single stocks) in NinjaTrader.
Unfortunately it doesn´t work. Hope someone of you can help me.
The following conditions should be met:
If
Close[1]<Open[1]
and
Close[0]>Open[0]
and
SMA(12)[1]<Low[1]
and
SMA(12)[0]<Low[1]
then a StopBuy-Order should be set. the StopBuy-Price for next-day-opening shall be High[0].
If the Order is filled, a stoploss and Target should be set. Stoploss 0,99*Low[0] and a Targetprice of 4 percent from BuySignal.
I´d be very happy if someone could help me. The Wizard didn´t work properly.
The same vice versa should then be simple to do for me..
Thanks in advance.
Gallli
Comment