ContainsValue question - Platforms and Indicators | futures io social day trading
futures io futures trading

ContainsValue question
Updated: Views / Replies:492 / 3
Created: by solondon 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

Thread Tools Search this Thread

ContainsValue question

  #1 (permalink)
Elite Member
London, UK
Futures Experience: Intermediate
Platform: ninja,TS,Meta,Tradeguider
Favorite Futures: FX,Metals
Posts: 38 since Sep 2011
Thanks: 9 given, 6 received

ContainsValue question


can anyone tell me what im doing wrong with this , in my debugging i use the following (same parameters)

" EMAflat: " + EMA_Colors(m_EmaAngle1,m_EmaAngle2,slowAverage).EMAflat[0].ToString()
+ " ContainsValue: " + EMA_Colors(m_EmaAngle1,m_EmaAngle2,slowAverage).EMAflat.ContainsValue(0).ToString()

it prints

August 02, 2013 9:24:26 OnBarUpdate() - adxSetup[0]: 1 adxEntry[0]: 1 bBuySetup: True bBuyEntry: True bSellSetup: False bSellEntry: False EMAflat: 1.3224 ContainsValue: False

I can see that the bar has a value for EMAFlat but i cant explain how both conditions can be true at the same time ie. it has a value but ContainsValue says it doesnt. is the call to the indicator plot value not treated as a dataseries or am i missing something! (too many hours today)

thanks in advance

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
Berlin, Europe
Futures Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker/Data: Interactive Brokers
Favorite Futures: Keyboard
Fat Tails's Avatar
Posts: 9,680 since Mar 2010
Thanks: 4,226 given, 25,724 received

In case that

- no value has been affected to a DataSeries object for a specific bar
- or that you have reset the DataSeries for that bar

the DataSeries will still contain an object. Consider this object as a dummy or placeholder. Usually the dummy value is the close of the referenced bar.

The property "ContainsValue" holds the information, whether the object has been created by the user.

If "ContainsValue" returns the value "False", it simply means that the value stored in the DataSeries field is a dummy.

If you produce code it is your responsibility

-> to make sure that all all DataSeries fields that you want to access hold proper values
-> that you set those values in a proper way

Reply With Quote
The following 2 users say Thank You to Fat Tails for this post:
  #4 (permalink)
Elite Member
London, UK
Futures Experience: Intermediate
Platform: ninja,TS,Meta,Tradeguider
Favorite Futures: FX,Metals
Posts: 38 since Sep 2011
Thanks: 9 given, 6 received

thanks usefull information, I guess this is the hazard of using other peoples indicators

Reply With Quote


futures io > > > ContainsValue question

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

Wyckoff Hunting for Great Risk/Reward Ratio w/Gary Fullett

Elite only

Digging into the Details of iSystems w/Stage 5 & iSystems

Jun 5

Similar Threads
Thread Thread Starter Forum Replies Last Post
Question on MarketDelta jstnbrg MarketDelta 2 December 24th, 2010 01:19 PM
SMI5 Question eone NinjaTrader 7 June 28th, 2010 01:41 PM
basic R question sam028 Matlab, R project and Python 2 March 20th, 2010 06:32 PM
Technical Question kaywai NinjaTrader Programming 3 March 6th, 2010 04:40 AM
Question going by tick jeffbg123 NinjaTrader Programming 2 March 5th, 2010 06:05 PM

All times are GMT -4. The time now is 03:49 PM.

Copyright © 2018 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
Page generated 2018-05-22 in 0.08 seconds with 19 queries on phoenix via your IP