N / A comparison in a strategy - futures io
futures io futures trading



N / A comparison in a strategy


Discussion in NinjaTrader

Updated
    1. trending_up 1,706 views
    2. thumb_up 1 thanks given
    3. group 2 followers
    1. forum 3 posts
    2. attach_file 2 attachments




Welcome to futures io: the largest futures trading community on the planet, with well over 125,000 members
  • Genuine reviews from real traders, not fake reviews from stealth vendors
  • Quality education from leading professional traders
  • We are a friendly, helpful, and positive community
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts
  • We are here to help, just let us know what you need
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

(If you already have an account, login at the top of the page)

 
Search this Thread
 

N / A comparison in a strategy

(login for full post details)
  #1 (permalink)
London, UK
 
Experience: Intermediate
Platform: ninja,TS,Meta,Tradeguider
Trading: FX,Metals
 
Posts: 38 since Sep 2011
Thanks: 9 given, 6 received

Hi,
I want to have a condition in my strategy and i want MARising to be N/A (as in panel 2). I want to know how I add that in as its not equivalent to 0 is there a null value available in the condition builder? (null2 screenshoot)

thanks
JLo

Attached Thumbnails
Click image for larger version

Name:	null.png
Views:	47
Size:	107.6 KB
ID:	64304   Click image for larger version

Name:	null2.png
Views:	45
Size:	123.1 KB
ID:	64305  
Started this thread Reply With Quote

Can you help answer these questions
from other members on futures io?
MACD line not plotting after change of plot order
NinjaTrader
Reading A set of Trading Signals
EasyLanguage Programming
Help Needed: TOS Options Chain IV & IMPL MOVE Calcul …
ThinkOrSwim
Second Entry Indicator (Looking for testers/feedback)
NinjaTrader
Automatic pattern research with NT
Elite Algorithmic NinjaTrader Trading
 
 
(login for full post details)
  #3 (permalink)
Atkinson, NH USA
 
Experience: Intermediate
Platform: NinjaTrader 8/TensorFlow
Broker: NinjaTrader Brokerage
Trading: Futures, CL, ES, ZB
 
NJAMC's Avatar
 
Posts: 1,965 since Dec 2010
Thanks: 3,035 given, 2,377 received



solondon View Post
Hi,
I want to have a condition in my strategy and i want MARising to be N/A (as in panel 2). I want to know how I add that in as its not equivalent to 0 is there a null value available in the condition builder? (null2 screenshoot)

thanks
JLo

Hi @solondon,
Here is a section of the NinjaTrader manual that may help. You are looking to see if the dataseries "ContainsValue", false means N/A (not valid data for the bar, value should always be ignored), true means the data is valid. Not sure how to do it with the Wizard as I hand code but hopefully this helps:

DataSeries Class

Checking for Valid Values
It is possible that you may use a DataSeries object but decide not to set a value for a specific bar. However, you should not try to access a DataSeries value that has not been set. Internally, a dummy value does exists, but you want to check to see if it was a valid value that you set before trying to access it for use in your calculations.

DataSeries.ContainsValue(intbarsAgo)
Returns a true or false value.

Nil per os
-NJAMC [Generic Programmer]

LOM WIKI: NT-Local-Order-Manager-LOM-Guide
Artificial Bee Colony Optimization
Visit my futures io Trade Journal Reply With Quote
The following user says Thank You to NJAMC for this post:
 
(login for full post details)
  #4 (permalink)
London, UK
 
Experience: Intermediate
Platform: ninja,TS,Meta,Tradeguider
Trading: FX,Metals
 
Posts: 38 since Sep 2011
Thanks: 9 given, 6 received

thanks for the help appreciated

Started this thread Reply With Quote


futures io Trading Community Platforms and Indicators NinjaTrader > N / A comparison in a strategy


Last Updated on March 1, 2012


Upcoming Webinars and Events
 

NinjaTrader Indicator Challenge!

Ongoing
 

Battlestations! Show us your trading desk - $1,500 in prizes!

March
 

Importance of Finding Your Own Way w/Adam Grimes

Elite only
 

Journal Challenge w/Jigsaw

April
     



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