Class-level double array from secondary dataseries zeroed out - NinjaTrader | futures io social day trading
futures io futures trading

Class-level double array from secondary dataseries zeroed out
Updated: Views / Replies:84 / 0
Created: by lepete11 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 100,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

Class-level double array from secondary dataseries zeroed out

  #1 (permalink)
Houston, TX
Posts: 5 since Jan 2015
Thanks: 0 given, 1 received

Class-level double array from secondary dataseries zeroed out

Within an NT8 strategy, I am filling a class-level double array in a secondary series that has the same bars and same contract (5 min bars, NQ 09-19) as the primary series. I printed the array's values when BarsInProgress==2, and they are all valid. However, when BarsInProgress==1, the array is totally wiped out with zeroes. How can I set an array's value in another series that has exactly the same bars, and then retrieve them from within the primary without them getting zeroed out?

The reason for having two dataseries for the same asset and bars is because I can only call the indicators from the strategy on the last bar of the secondary series, since the computation is to expensive to perform on all values of the charts latest [0] value. Once the array values are filled, and a primary bar updates, I should be able to loop through all relevant bars in the primary OBU and trigger buy/sells.

Reply With Quote


futures io > > > > Class-level double array from secondary dataseries zeroed out

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

futures io is celebrating 10-years w/ over $18,000 in prizes!

Right now

$1,000 in Amazon Gift Cards being given away right now from GFF Brokers

Right now

$250 Amazon Gift Cards with our "Thanks Contest" challenge!

Right now

Show us your trading desks and win over $5,000 in prizes w/Jigsaw Trading


Webinar: AutoTrading World Cup Advisor w/GFF Brokers

Aug 22

Webinar: Suri Duddella (TBA)

Elite only

Webinar: Richard Bailey (TBA)

Elite only

Similar Threads
Thread Thread Starter Forum Replies Last Post
Is it possible - bar type based on a secondary dataseries trendisyourfriend NinjaTrader Programming 13 August 12th, 2014 07:14 PM
Convertinb Double to DataSeries patbateman NinjaTrader Programming 3 October 10th, 2012 11:15 AM
Double Top / Double Bottom indicator for Multicharts / Tradestation, one available? PositiveDeviant MultiCharts 12 February 15th, 2012 01:10 AM
Double bottom and Double top with DIV benbrooke NinjaTrader Programming 36 December 6th, 2011 12:29 PM
DOUBLE DOUBLE STOCHASTICS Jeff Castille The Elite Circle 112 September 4th, 2011 11:40 PM

All times are GMT -4. The time now is 10:38 PM. (this page content is cached, log in for real-time version)

Copyright © 2019 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