There are also a number of simple sample strategies that come with NinjaTrader. The strategy by @Ducman is an advanced piece of code. Your first strategy should be much simpler.
I would recommend to run the first strategy on minute bars and in mode CalculateOnBarClose = true. In that case the strategy will only make a decision once per N minutes, and you can be sure that this decision has been executed, before the next decision is made. Minute bars have the advantage that
- they can be backtested
- overfills are unlikely, once you go live and trade with real money
The following 2 users say Thank You to Fat Tails for this post:
There are also several Webinars that cover NT programming in the futures.io (formerly BMT) webinar 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 user says Thank You to Big Mike for this post: