Since I am new with NT I just wanted to know if NT consider the spread on backtesting. I write scalper and the spread on backtesting is an important point. Where do I enter the spread? in Slippage? in Commission?
Second question. The entered slippage is added on the backtest on every turn, roundturn or just now and then?
Last edited by siscop; September 5th, 2009 at 02:07 PM.
You can calculate the spread between Bid and Ask inside your strategy and do something there. If you use the Slippage function of the backtest menu, that slippage is added to every execution.
You might try avoiding the Slippage function and instead use the GetCurrentBid() and GetCurrentAsk() functions inside the strategy itself. Of course, if you star to use Limit orders then a whole new set of many problems will exist within NinjaTrader for backtesting, so I always advise people to use Market orders unless they have a lot of experience and know exactly how to deal with the limitations of backtesting.
Last, I moved this to Programming section.
Due to time constraints, please do not PM me if your question can be resolved or answered on the forum.
Need help? 1) Stop changing things. No new indicators, charts, or methods. Be consistent with what is in front of you first. 2) Start a journal and post to it daily with the trades you made to show your strengths and weaknesses. 3) Set goals for yourself to reach daily. Make them about how you trade, not how much money you make. 4) Accept responsibility for your actions. Stop looking elsewhere to explain away poor performance. 5) Where to start as a trader? Watch this webinar and read this thread for hundreds of questions and answers. 6) Help using the forum? Watch this video to learn general tips on using the site.
If you want to support our community, become an Elite Member.
The following 2 users say Thank You to Big Mike for this post: