Multi Series bug - NinjaTrader Programming | futures trading

Go Back

> Futures Trading, News, Charts and Platforms > Platforms and Indicators > NinjaTrader > NinjaTrader Programming

Multi Series bug
Started:January 21st, 2010 (09:52 AM) by bukkan Views / Replies:1,021 / 0
Last Reply:January 21st, 2010 (09:52 AM) Attachments:1

Welcome to

Welcome, Guest!

This forum was established to help traders (especially futures traders) by openly sharing indicators, strategies, methods, trading journals and discussing the psychology of trading.

We are fundamentally different than most other trading forums:
  • We work extremely hard to keep things positive on our forums.
  • We do not tolerate rude behavior, trolling, or vendor advertising in posts.
  • We firmly believe in openness and encourage sharing. The holy grail is within you, it is not something tangible you can download.
  • 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, and we will never resell your private information.

-- Big Mike

Thread Tools Search this Thread

Multi Series bug

Old January 21st, 2010, 09:52 AM   #1 (permalink)
Elite Member
Calcutta, India
Futures Experience: Intermediate
Platform: ArthaChitra
Posts: 278 since Jun 2009
Thanks: 161 given, 255 received

Multi Series bug

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.
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.
                Print(Closes[0][0] + ", " + Closes[1][0]);
            catch (Exception ex)
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 (1.7 KB, 5 views)
Reply With Quote

Reply > Futures Trading, News, Charts and Platforms > Platforms and Indicators > NinjaTrader > NinjaTrader Programming > Multi Series bug

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

NinjaTrader 8: Programming Profitable Trading Edges w/Scott Hodson

Elite only

Anthony Drager: Executing on Intermarket Correlations & Order Flow, Part 2

Elite only

Adam Grimes: Five critically important keys to professional trading

Elite only

Machine Learning Concepts w/FIO member NJAMC

Elite only

MarketDelta Cloud Platform: Announcing new mobile features

Dec 1

NinjaTrader 8: Features and Enhancements

Dec 6

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 09:27 AM
2Range indicator in 4 Range chart : multi data series chart emini_Holy_Grail NinjaTrader 5 July 3rd, 2011 03:19 PM
BUG for OnMarketData timmyb NinjaTrader Programming 12 February 5th, 2011 09:32 PM
Multi-time series strategy in NT using different sessions? zwentz NinjaTrader Programming 1 April 2nd, 2010 07:20 AM
First Multi-series indicator vegasfoster NinjaTrader Programming 10 March 11th, 2010 05:37 PM

All times are GMT -4. The time now is 01:17 PM.

Copyright © 2016 by 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 2016-10-26 in 0.06 seconds with 20 queries on phoenix via your IP