Welcome to NexusFi: the best trading community on the planet, with over 150,000 members Sign Up Now for Free
Genuine reviews from real traders, not fake reviews from stealth vendors
Quality education from leading professional traders
We are a friendly, helpful, and positive community
We do not tolerate rude behavior, trolling, or vendors advertising in posts
We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community. It's free for basic access, or support us by becoming an Elite Member -- see if you qualify for a discount below.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
In this video tutorial I show how to create a strategy from scratch (not using the wizard, which I never use).
The strategy contains a few optimizable parameters such as SMA length, EMA length, HMA length, three different targets with custom tick settings …
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