Multi-instrument code strategy - NinjaTrader | futures io social day trading
futures io futures trading

Multi-instrument code strategy
Updated: Views / Replies:1,041 / 1
Created: by Astrogirl Attachments:0

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 90,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

Multi-instrument code strategy

  #1 (permalink)
Trading for Fun
Futures Experience: Intermediate
Platform: NinjaTrader
Favorite Futures: ES, YM, NQ, FDAX
Astrogirl's Avatar
Posts: 51 since Oct 2013
Thanks: 25 given, 7 received

Multi-instrument code strategy

Does anyone know how translate in NT language scripting what follows in the same unique strategy?

if it's 10.00am buy one contract of YM;
if it's 11.00am buy one contract of ES;

Reply With Quote
  #2 (permalink)
Market Wizard
Birmingham UK
Futures Experience: Intermediate
Platform: NinjaTrader
Broker/Data: IG/eSignal
Favorite Futures: Dax
ratfink's Avatar
Posts: 3,441 since Dec 2012
Thanks: 12,769 given, 7,524 received
Forum Reputation: Legendary

This post has been selected as an answer to the original posters question Answer

Astrogirl View Post
Does anyone know how translate in NT language scripting what follows in the same unique strategy?

if it's 10.00am buy one contract of YM;
if it's 11.00am buy one contract of ES;

Roughly speaking you need to add the extra instrument series in the Initialise method, then trigger your longs in the OnBarUpdate, e.g.

// in Initialise, assuming you are running the strategy on some other chart series

Add ("YM 06-14", PeriodType.Minute, 1);
Add ("ES 06-14", Periodtype.Minute, 1);

// in OnBarUpdate

if (FirstTickOfBar && BarsInProgress == 1 && Time[0].Hour == 10 && Time[0].Minute == 0) { EnterLong .... }

if (FirstTickOfBar && BarsInProgress == 2 && Time[0].Hour == 11 && Time[0].Minute == 0) { EnterLong .... }
Obviously, lots of other stuff to take care of, just work through the Ninja strategy doc and any detailed examples you can find, hope it helps you get started, you'll probably find lots of full examples on here somewhere.

Travel Well
Reply With Quote
The following user says Thank You to ratfink for this post:


futures io > > > > Multi-instrument code strategy

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

Wyckoff Hunting for Great Risk/Reward Ratio w/Gary Fullett

Elite only

Digging into the Details of iSystems w/Stage 5 & iSystems

Jun 5

Similar Threads
Thread Thread Starter Forum Replies Last Post
Multi-instrument strategy jnorris NinjaTrader Programming 14 February 4th, 2014 02:02 AM
Help with a Multi-Instrument Indicator ECI Ed NinjaTrader Programming 12 July 31st, 2013 09:22 AM
Multi-timeframe code with Minute and SbSRenko traderjh NinjaTrader Programming 9 July 10th, 2013 12:56 PM
Multi-Timeframe in a strategy max-td NinjaTrader Programming 30 July 22nd, 2010 12:35 PM
Ninja Strategy multi-timeframe issue/Strategy to indicator nw123 NinjaTrader Programming 2 December 20th, 2009 06:24 PM

All times are GMT -4. The time now is 10:15 AM.

Copyright © 2018 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
Page generated 2018-05-20 in 0.07 seconds with 23 queries on phoenix via your IP