VIDEO TUTORIAL: How to create an advanced NinjaTrader Strategy - NinjaTrader | futures io | futures trading
futures io futures trading

VIDEO TUTORIAL: How to create an advanced NinjaTrader Strategy
Updated: Views / Replies:63,736 / 64
Created: by Big Mike Attachments:3

Welcome to futures io.

(If you already have an account, login at the top of the page)

futures io is the largest futures trading community on the planet, with over 100,000 members. At futures io, our goal has always been and always will be to create a friendly, positive, forward-thinking community where members can openly share and discuss everything the world of trading has to offer. The community is one of the friendliest you will find on any subject, with members going out of their way to help others. Some of the primary differences between futures io and other trading sites revolve around the standards of our community. Those standards include a code of conduct for our members, as well as extremely high standards that govern which partners we do business with, and which products or services we recommend to our members.

At futures io, our focus is on quality education. No hype, gimmicks, or secret sauce. The truth is: trading is hard. To succeed, you need to surround yourself with the right support system, educational content, and trading mentors Ė all of which you can find on futures io, utilizing our social trading environment.

With futures io, you can find honest trading reviews on brokers, trading rooms, indicator packages, trading strategies, and much more. Our trading review process is highly moderated to ensure that only genuine users are allowed, so you donít need to worry about fake reviews.

We are fundamentally different than most other trading sites:
  • We are here to help. Just let us know what you need.
  • We work extremely hard to keep things positive in our community.
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts.
  • We firmly believe in and encourage sharing. The holy grail is within you, we can help you find it.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.

You'll need to register in order to view the content of the threads and start contributing to our community.  It's free and simple.

-- Big Mike, Site Administrator

Thread Tools Search this Thread

VIDEO TUTORIAL: How to create an advanced NinjaTrader Strategy

  #61 (permalink)
NYC, NY, United States
Posts: 9 since Aug 2014
Thanks: 27 given, 1 received

the virtual machine is for linux

I know it's late to reply but the virtual machine is for Linux. Ninja runs native on windows. To run it on Linux you a virtual machine or some workaround. Big Mike mentioned he had a Cron backup running and that's a Linux scheduled task.

Reply With Quote
  #62 (permalink)
rome - italy
Posts: 12 since Oct 2014
Thanks: 0 given, 0 received


It's possible to have this code to start ?

I'm a beginner and I'd like to input this on my Platform to improve ad see how it works.

Thank you

Big Mike View Post
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 on each, a stop size, and the option to move target 2 to breakeven after target 1 is hit, as well as move target 3 to breakeven after target 2 is hit.

The strategy is just an example! It took all of 10 minutes to write. Even though it says it made 20k in 90 days over 700 trades, it will likely fail going forward. Simple strategies are usually best, but this one is too simple to work fully automated. Most strategies I write for customers take me hours of work (this one took 10 minutes), so don't just go and copy this strategy and expect good results.

Instead, I created this so you could get your feet wet and learn some of the basics of a more advanced strategy than what Ninja includes with the base install. I also created it so if someone shows you backtest results where it makes tons of money, you can see just how easy it is to produce those results.

Also, don't forget that optimizing based on net profit is virtually worthless. I've spent two years tweaking my custom optimizer type and it considers everything you can imagine such as balanced longs/shorts, trade counts, commission costs, profit factors, expectancy, trade duration, and a bunch of other stuff I don't want to go into because I am not giving it away.

With the normal drop-down list of optimizer types in NT, you don't want to just pick the result that shows the most net profit. You should factor in as many other variables as you can. Unless you're going to do what I did with the custom optimizer, the easiest way is to dump the results to an Excel spreadsheet (feature is built-in to NinjaTrader) and then work some analysis there.


Reply With Quote
  #63 (permalink)
las vegas
Trading Experience: Beginner
Platform: ninja trader
Favorite Futures: es,tf
Posts: 7 since May 2014
Thanks: 2 given, 8 received

need help

Hello Mike, kudos to you for the effort to sustain this forum over the years. I am a student of the trading game for 2 years now..anyhow, i have a question for you, what is the correct code to have 2 entires in ninja programming, , having them with 1 stop loss, and 2 different profit targets without trailing stops. I am trying to teach myself how to code my ideas correctly in order to backtest fast, because, although going through price bars 1 by 1 has it's benefits, i will grow BIG beard untill i complete 1-2 years of tests.

Reply With Quote
  #64 (permalink)
desert CA
Trading Experience: Intermediate
Platform: NT7, TOS, CQG-trader
Broker/Data: AMP, DT, TDA
Favorite Futures: CL,NQ,YM
Posts: 2,111 since Jul 2011
Thanks: 2,356 given, 1,682 received

MWinfrey has some strategies posted which show the code for multiple trade entries and stops.

Visit my futures io Trade Journal Reply With Quote
The following 3 users say Thank You to Cloudy for this post:
  #65 (permalink)
Newburyport, MA / USA
Trading Experience: Advanced
Platform: NinjaTrader, TOS
Favorite Futures: CL, ES
Posts: 5 since Sep 2012
Thanks: 1 given, 1 received

what happened to the video?

The link to Mike's Video on Ninja Strategy is broken

Reply With Quote


futures io > > > > VIDEO TUTORIAL: How to create an advanced NinjaTrader Strategy

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Upcoming Webinars and Events (4:30PM ET unless noted)

futures io is celebrating 10-years w/ over $18,000 in prizes!

Right now

$250 Amazon Gift Cards with our "Thanks Contest" challenge!

Right now

Similar Threads
Thread Thread Starter Forum Replies Last Post
VIDEO TUTORIAL: How to create an advanced MultiCharts EasyLanguage Strategy Big Mike MultiCharts 39 November 9th, 2017 04:35 AM
VIDEO: MultiCharts vs. NinjaTrader strategy backtesting and optimization Big Mike MultiCharts 53 June 12th, 2016 02:34 PM
Anyone know of good video tutorial for C# language? whoisthere48 NinjaTrader Programming 11 April 1st, 2012 06:33 PM
Is there a video tutorial on creating a NT indicator (in 6.5)? Thanks. aquarian1 NinjaTrader 9 May 16th, 2011 06:56 PM
VIDEO TUTORIAL: How to create an advanced NinjaTrader Strategy Big Mike NinjaTrader Programming 0 January 26th, 2010 06:22 AM

All times are GMT -4. The time now is 03:19 AM. (this page content is cached, log in for real-time version)

Copyright © 2020 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432,
All information is for educational use only and is not investment advice.
There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
no new posts