Recently, I started looking into NinjaTrader, and it looks promising!
Currently, I use EOD data from Yahoo.
However, after coding a few simple indicators and strategies, I have stumbled upon a problem. Here is what I want to achieve:
- When my indicator gives a signal, I want the strategy to enter a long position on the close price of that same day
..but what I see (when I call EnterLong()) is that the strategy doesn't enter a postition until the next day.
Searching this forum, that seems to be the default behavior (and it makes sense in some cases). But the way that I trade is I check my indicators half an hour or so before the market closes, and then I enter my actual postitions at "near-close" prices.
So the question is: Is there some way to convince the Strategy Analyzer to enter the positions the same day it gets its signals? Could the IOrder/IExecution interfaces be of any help?
Any help is much appreciated!
Cheers,
Andy

Comment