Multi Series bug - NinjaTrader Programming | futures io social day trading
futures io futures trading


Multi Series bug
Updated: Views / Replies:1,122 / 0
Created: by bukkan Attachments:1

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
 

Multi Series bug

  #1 (permalink)
Elite Member
Calcutta, India
 
Futures Experience: Intermediate
Platform: ArthaChitra
 
Posts: 278 since Jun 2009
Thanks: 161 given, 259 received

Multi Series bug

hi,
this is a simple Multi series indicator which prints the close of the last bar. the secondary series is of the same instrument, with a periodicity of 5 minutes.
 
Code
Add(PeriodType.Minute,5);
 
Code
protected override void OnBarUpdate()
        {
            // Use this method for calculating your indicator values. Assign a value to each
            // plot below by replacing 'Close[0]' with your own formula.
            try
            {
                Print(Closes[0][0] + ", " + Closes[1][0]);
            }
            catch (Exception ex)
            {
                Print(ex.Message);
            }
                
        }
this works fine except for when i set the chart periodicity to 5 Minutes (same as the secondary data series). a null object error is encountered.

can anybody help me out.

thanks in advance.

Attached Files
Register to download File Type: zip dsError.zip (1.7 KB, 6 views)
Reply With Quote

Reply



futures io > > > > > Multi Series bug

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
CTA - Series 3, Series 7, Series 9, Series 10, Series 56 NASD exams certifications Big Mike Traders Hideout 41 January 15th, 2015 10:27 AM
2Range indicator in 4 Range chart : multi data series chart emini_Holy_Grail NinjaTrader 5 July 3rd, 2011 04:19 PM
BUG for OnMarketData timmyb NinjaTrader Programming 12 February 5th, 2011 10:32 PM
Multi-time series strategy in NT using different sessions? zwentz NinjaTrader Programming 1 April 2nd, 2010 08:20 AM
First Multi-series indicator vegasfoster NinjaTrader Programming 10 March 11th, 2010 06:37 PM


All times are GMT -4. The time now is 03:44 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-16 in 0.06 seconds with 20 queries on phoenix via your IP 54.196.201.241