Using multiple charts - one strategy - NinjaTrader Programming | futures io social day trading
futures io futures trading


Using multiple charts - one strategy
Updated: Views / Replies:635 / 4
Created: by AA Ron 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

Reply
 
Thread Tools Search this Thread
 

Using multiple charts - one strategy

  #1 (permalink)
Trading Apprentice
denver, colorado
 
Futures Experience: Beginner
Platform: NinjaTrader
Favorite Futures: Futures
 
Posts: 4 since Oct 2015
Thanks: 8 given, 0 received

Using multiple charts - one strategy

I'm looking to improve my existing automated strategy. Currently its running on a Renko 3 chart, but I would like to also have it do the same analysis on a Range 4 chart and possibly others, then make buy decisions on a polling basis.

Is this possible in ninjascript? Any Examples?

I've looked through the SampleMultiInstrument example in ninja trader but they don't seem to add more then one instrument or show how to use them independently.

Reply With Quote
 
  #2 (permalink)
Quick Summary
Quick Summary Post

Quick Summary is created and edited by users like you... Add FAQ's, Links and other Relevant Information by clicking the edit button in the lower right hand corner of this message.

 
  #3 (permalink)
Elite Member
Seattle, WA
 
Futures Experience: Intermediate
Platform: NinjaTrader 8
Broker/Data: AMP/CQG
Favorite Futures: Indices
 
stoicbuddha's Avatar
 
Posts: 79 since Feb 2012
Thanks: 282 given, 62 received

Adding data from other charts


I uses a two chart system myself. The first is a non-renko chart and the second is a renko chart. created alerts based on indicators on both charts, but the strategy is applied to the main chart. Here are some snippets on how I did it.

Keeping in mind this strategy is being placed on the non-renko chart, I need to "add" a renko chart to it during initialization:


protected override void Initialize()
{
CalculateOnBarClose = true;
Add(PeriodType.Final2, 6);
}

then later, in the OnBarUpdate section, i first need to specify what to do for ticks relate to each chart:

protected override void OnBarUpdate()
if (BarsInProgress == 0)
{logic for non-renko main chart}
else if (BarsInProgress == 1)
{logic for secondary renko chart}

Using this format you can theoretically as much info from as many charts as you need, though I only use two, so YMMV. Also, PeriodType.Final2 is specific to the "WickedRenko" which is what I use.

Reply With Quote
The following user says Thank You to stoicbuddha for this post:
 
  #4 (permalink)
Trading Apprentice
denver, colorado
 
Futures Experience: Beginner
Platform: NinjaTrader
Favorite Futures: Futures
 
Posts: 4 since Oct 2015
Thanks: 8 given, 0 received


happyrenko View Post
I uses a two chart system myself. The first is a non-renko chart and the second is a renko chart. created alerts based on indicators on both charts, but the strategy is applied to the main chart. Here are some snippets on how I did it.

Keeping in mind this strategy is being placed on the non-renko chart, I need to "add" a renko chart to it during initialization:


protected override void Initialize()
{
CalculateOnBarClose = true;
Add(PeriodType.Final2, 6);
}

then later, in the OnBarUpdate section, i first need to specify what to do for ticks relate to each chart:

protected override void OnBarUpdate()
if (BarsInProgress == 0)
{logic for non-renko main chart}
else if (BarsInProgress == 1)
{logic for secondary renko chart}

Using this format you can theoretically as much info from as many charts as you need, though I only use two, so YMMV. Also, PeriodType.Final2 is specific to the "WickedRenko" which is what I use.


Thank you for the response. Just to make sure I understand this right, if I added a 3rd chart to the strategy would this be referenced as such:

else if (BarsInProgress == 2)
{ do something with 3rd chart }

is that understanding correct?

Reply With Quote
 
  #5 (permalink)
Elite Member
Seattle, WA
 
Futures Experience: Intermediate
Platform: NinjaTrader 8
Broker/Data: AMP/CQG
Favorite Futures: Indices
 
stoicbuddha's Avatar
 
Posts: 79 since Feb 2012
Thanks: 282 given, 62 received


AA Ron View Post
Thank you for the response. Just to make sure I understand this right, if I added a 3rd chart to the strategy would this be referenced as such:

else if (BarsInProgress == 2)
{ do something with 3rd chart }

is that understanding correct?

Yes

Reply With Quote

Reply



futures io > > > > > Using multiple charts - one strategy

Thread Tools Search this Thread
Search this Thread:

Advanced Search



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

Linda Bradford Raschke: Reading The Tape

Elite only

Adam Grimes: TBA

Elite only

NinjaTrader: TBA

January

Ran Aroussi: TBA

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
EA not working properly on multiple charts bondstrader MetaTrader 1 April 29th, 2016 03:59 AM
Tick charts for Forex.. Multiple time frames Magiklair Currency Futures 4 March 16th, 2015 11:39 AM
Signal (alerts) generation across multiple tradestation charts.... paps TradeStation 2 February 17th, 2013 08:02 PM
Signals from multiple time frame charts Allistah Traders Hideout 7 October 18th, 2012 02:18 PM
Sierra Chart overlay multiple charts Big Mike Sierra Chart 7 August 2nd, 2012 04:59 AM


All times are GMT -4. The time now is 04:07 PM.

Copyright © 2017 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@futures.io
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 2017-12-12 in 0.10 seconds with 19 queries on phoenix via your IP 54.163.210.170