Forum: NinjaTrader
March 28th, 2011, 07:08 PM
|
Replies: 9
Views: 3,617
|
Forum: NinjaTrader
March 27th, 2011, 04:58 PM
|
Replies: 9
Views: 3,617
I like to swim
Well, you are mostly correct. It would be a EnterLongLimit order. No sense in putting a stop orde r in OnMarketData.
OnMarketData is just like OnBarUpdate, only it happens a lot more often (...
|
Forum: NinjaTrader
March 27th, 2011, 06:39 AM
|
Replies: 9
Views: 3,617
It is a good start but I would leave the above...
It is a good start but I would leave the above code for BarUpdate. You just need the parts that need to be in OnMarketData as small as possible. ( And it doesn't need to be there ).
OnBarUpdate...
|
Forum: NinjaTrader
March 25th, 2011, 10:28 PM
|
Replies: 9
Views: 3,617
|