NT8 - Multi Instrument Indicators - NinjaTrader Programming | futures io social day trading
futures io futures trading


NT8 - Multi Instrument Indicators
Updated: Views / Replies:1,786 / 13
Created: by wuileng 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
 

NT8 - Multi Instrument Indicators

  #11 (permalink)
Market Wizard
Germany
 
Futures Experience: Intermediate
Platform: Other
Favorite Futures: ES, YM, 6E
 
Posts: 2,644 since Feb 2013
Thanks: 4,904 given, 6,441 received
Forum Reputation: Legendary


wuileng View Post

However, when calling the indicator from a strategy, only the third (the hardcode) works. Sorry for not being specific earlier that I was trying to get it to work in the context of a strategy.

ad 1.)
Pardon, but the first sentence doesn't make sense.
Indicators are supposed to be called by strategies.
So - if called correctly - why should a call deliver less than the indicator can do?

ad 2.)
From a performance point of view:
Why would one pack x time series into a strategy that uses indicators that hold these time series anyway?

Reply With Quote
 
  #12 (permalink)
Elite Member
Kuala Lumpur + Malaysia
 
Futures Experience: Advanced
Platform: NinjaTrader
Broker/Data: Interactive Brokers
Favorite Futures: ES
 
Posts: 26 since Aug 2012
Thanks: 13 given, 9 received


choke35 View Post
ad 1.)
Pardon, but the first sentence doesn't make sense.
Indicators are supposed to be called by strategies.
So - if called correctly - why should a call deliver less than the indicator can do?

ad 2.)
From a performance point of view:
Why would one pack x time series into a strategy that uses indicators that hold these time series anyway?

What I meant is that when I try to use my indicator from within a strategy (via AddChartIndicator), the strategy fails to run because the indicator is referencing BarsPeriod. However, this does not cause problems when the indicator is just added to a chart (for visual purposes only).

Reply With Quote
 
  #13 (permalink)
Market Wizard
Germany
 
Futures Experience: Intermediate
Platform: Other
Favorite Futures: ES, YM, 6E
 
Posts: 2,644 since Feb 2013
Thanks: 4,904 given, 6,441 received
Forum Reputation: Legendary



wuileng View Post
What I meant is that when I try to use my indicator from within a strategy (via AddChartIndicator), the strategy fails to run because the indicator is referencing BarsPeriod. However, this does not cause problems when the indicator is just added to a chart (for visual purposes only).

Ok, so the problem was more basic
AddChartIndicator is nothing but a visual representation without any flexibility concerning calculations.
But that is also made clear in the manual ...

Reply With Quote
The following user says Thank You to choke35 for this post:
 
  #14 (permalink)
Elite Member
Kuala Lumpur + Malaysia
 
Futures Experience: Advanced
Platform: NinjaTrader
Broker/Data: Interactive Brokers
Favorite Futures: ES
 
Posts: 26 since Aug 2012
Thanks: 13 given, 9 received


choke35 View Post
Ok, so the problem was more basic
AddChartIndicator is nothing but a visual representation without any flexibility concerning calculations.
But that is also made clear in the manual ...

I've played around with it a bit more. It seems a workaround for this problem would be to not define my indicator in State.Configure, but instead wait till OnBarUpdate to do so (of course with logic implemented so this code snippet is only called once). It's working fine now, tested with all three lines of AddDataSeries.

I guess the only drawback is that since it's not defined in State.Configure, I can't AddChartIndicator, so I don't have the visual representation but I can live with that. It would be nice to have though, and am surprised this took a step back since it worked fine in NT7.

Thanks again for your help!

Reply With Quote
The following user says Thank You to wuileng for this post:

Reply



futures io > > > > > NT8 - Multi Instrument Indicators

Thread Tools Search this Thread
Search this Thread:

Advanced Search



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

Jigsaw Trading: TBA

Elite only

FuturesTrader71: TBA

Elite only

NinjaTrader: TBA

Jan 18

RandBots: TBA

Jan 23

GFF Brokers & CME Group: Futures & Bitcoin

Elite only

Adam Grimes: TBA

Elite only

Ran Aroussi: TBA

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
Multi Instrument / Portfolio Strategy Backtesting Problem wuileng NinjaTrader 2 July 4th, 2015 03:04 PM
Multi Instrument Time Delay Redmoon22 NinjaTrader Programming 3 June 2nd, 2015 02:58 PM
Multi-instrument code strategy Astrogirl NinjaTrader 1 April 14th, 2014 03:47 PM
Multi-instrument strategy jnorris NinjaTrader Programming 14 February 4th, 2014 03:02 AM
Help with a Multi-Instrument Indicator ECI Ed NinjaTrader Programming 12 July 31st, 2013 10:22 AM


All times are GMT -4. The time now is 08:21 AM.

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-17 in 0.08 seconds with 19 queries on phoenix via your IP 54.145.16.43