Accessing Hidden Indicator Conditions - NinjaTrader Programming | futures io social day trading
futures io futures trading


Accessing Hidden Indicator Conditions
Updated: Views / Replies:3,668 / 20
Created: by KenB 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
 1  
 
Thread Tools Search this Thread
 

Accessing Hidden Indicator Conditions

  #1 (permalink)
Just starting out...
Boynton Beach, FL
 
Futures Experience: Intermediate
Platform: NinjaTrader
 
Posts: 9 since Jul 2010
Thanks: 0 given, 1 received

Accessing Hidden Indicator Conditions

Can you please tell what the easiest way to access an indicators' "true" condition from the Strategy Wizard? I don't mind adding code to the indicator, but I want to be able to access that information from the Strategy wizard as a condition so I can add an action.
Thanks

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)
Administrator: Retired Backtester
 Vendor: speedytradingservers.com 
Rennes France
 
Futures Experience: Advanced
Platform: NinjaTrader
Broker/Data: IB/Kinetick
Favorite Futures: Futures
 
sam028's Avatar
 
Posts: 3,366 since Jun 2009
Thanks: 3,572 given, 3,982 received


Hmm, an you be more clear ?
An indicator can expose values, and these values can be booleans (true or false), but is what you mean ?

Success requires no deodorant! (Sun Tzu)
Reply With Quote
 
  #4 (permalink)
Elite Member
Frankfurt
 
Futures Experience: Intermediate
Platform: NinjaTrader
Favorite Futures: FGBL 6E B4
 
max-td's Avatar
 
Posts: 1,754 since Jun 2009
Thanks: 2,309 given, 917 received

instead of true / false you can also use something with values wich is more easy to use in the strategy-wizard i think.

you can make something like this + you have to set myValue as a dataseries to be able to grab it in the wizard :


if (your condition) // >>> ("true" condition)

myValue = 1


if not (your condition)

myValue = - 1


then grab it in the wizard :

if myValue > 0 ( sell the stuff or so )

max-td

Last edited by max-td; September 28th, 2010 at 03:45 AM.
Reply With Quote
 
  #5 (permalink)
Just starting out...
Boynton Beach, FL
 
Futures Experience: Intermediate
Platform: NinjaTrader
 
Posts: 9 since Jul 2010
Thanks: 0 given, 1 received

Specifically, I would like to access 3 conditions of an indicator that reference trend, "Uptrend, Downtrend, and Notrend". NinjaTrader tech says I can only access an indicator's conditions with the strategy wizard using "Plots". I read through the available tutorials and I'm still not clear on how to accomplish this and he is being a bit vague.

So far what I think I need to do is to create a plot called "TrendPlot" and put it with the indicator's Uptrend condition as an action with a value of 1 (TrendPlot=1), Downtrend condition with a value of -1 (TrendPlot=-1), Notrend condition with a value of 0 (TrendPlot=0). Then In the strategy wizard I can choose the "TrendPlot" plot in the conditon builder and say equals 1, -1, or 0 to be an addtional conditions to my strategy conditons.

The exact "how to" is what I need to know. What goes in "Variables", "Initialize()", "OnBarUpdate()", and "Properties"?
Thanks


Last edited by KenB; September 28th, 2010 at 08:53 AM.
Reply With Quote
The following user says Thank You to KenB for this post:
 
  #6 (permalink)
Site Administrator
Manta, Ecuador
 
Futures Experience: Advanced
Platform: My own custom solution
Favorite Futures: E-mini ES S&P 500
 
Big Mike's Avatar
 
Posts: 46,238 since Jun 2009
Thanks: 29,350 given, 83,218 received

Any exposed (public) dataseries from the indicator can be referenced by the strategy. Just edit the indicator and make sure in the properties region you are exposing the "Trend" dataseries.

Mike

Due to time constraints, please do not PM me if your question can be resolved or answered on the forum.

Need help?
1) Stop changing things. No new indicators, charts, or methods. Be consistent with what is in front of you first.
2) Start a journal and post to it daily with the trades you made to show your strengths and weaknesses.
3) Set goals for yourself to reach daily. Make them about how you trade, not how much money you make.
4) Accept responsibility for your actions. Stop looking elsewhere to explain away poor performance.
5) Where to start as a trader? Watch this webinar and read this thread for hundreds of questions and answers.
6)
Help using the forum? Watch this video to learn general tips on using the site.

If you want
to support our community, become an Elite Member.

Reply With Quote
 
  #7 (permalink)
Just starting out...
Boynton Beach, FL
 
Futures Experience: Intermediate
Platform: NinjaTrader
 
Posts: 9 since Jul 2010
Thanks: 0 given, 1 received

You're saying change this to "true" and I can access the property with the Strategy Wizard?
[Browsable(
false)]

Reply With Quote
 
  #8 (permalink)
Site Administrator
Manta, Ecuador
 
Futures Experience: Advanced
Platform: My own custom solution
Favorite Futures: E-mini ES S&P 500
 
Big Mike's Avatar
 
Posts: 46,238 since Jun 2009
Thanks: 29,350 given, 83,218 received


KenB View Post
You're saying change this to "true" and I can access the property with the Strategy Wizard?
[Browsable(
false)]

No, that is not what I am saying.

You would need to post the entire code if you don't know how to expose a dataseries, then perhaps someone else can do it for you. Otherwise, I suggest you hire the work done by an experienced programmer.

Mike

Due to time constraints, please do not PM me if your question can be resolved or answered on the forum.

Need help?
1) Stop changing things. No new indicators, charts, or methods. Be consistent with what is in front of you first.
2) Start a journal and post to it daily with the trades you made to show your strengths and weaknesses.
3) Set goals for yourself to reach daily. Make them about how you trade, not how much money you make.
4) Accept responsibility for your actions. Stop looking elsewhere to explain away poor performance.
5) Where to start as a trader? Watch this webinar and read this thread for hundreds of questions and answers.
6)
Help using the forum? Watch this video to learn general tips on using the site.

If you want
to support our community, become an Elite Member.

Reply With Quote
 
  #9 (permalink)
Just starting out...
Boynton Beach, FL
 
Futures Experience: Intermediate
Platform: NinjaTrader
 
Posts: 9 since Jul 2010
Thanks: 0 given, 1 received

I'm not interested in hiring someone to do this. I want to know specifically how to do this on my own. In the thread above I mentioned what I thought was the right track. Am I on the right track or not?
Thanks

Reply With Quote
 
  #10 (permalink)
Elite Member
Frankfurt
 
Futures Experience: Intermediate
Platform: NinjaTrader
Favorite Futures: FGBL 6E B4
 
max-td's Avatar
 
Posts: 1,754 since Jun 2009
Thanks: 2,309 given, 917 received


you are on the right track -i post something later - need to find an example !

max-td
Reply With Quote

Reply



futures io > > > > > Accessing Hidden Indicator Conditions

Thread Tools Search this Thread
Search this Thread:

Advanced Search



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

Linda Bradford Raschke: Reading The Tape

Elite only

Adam Grimes: TBA

Elite only

NinjaTrader: TBA

January

Ran Aroussi: TBA

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
Accessing another indicator from within an indicator? RambleDog NinjaTrader Programming 7 July 25th, 2012 06:28 PM
Accessing Zigzag swing highs/lows buylosellhi NinjaTrader Programming 3 April 27th, 2011 05:56 PM
Accessing the clipboard from within an indicator Tempo NinjaTrader Programming 4 February 7th, 2011 05:23 PM
Accessing a chart from a strategy richtobey NinjaTrader Programming 3 December 31st, 2010 05:07 AM


All times are GMT -4. The time now is 08:56 PM.

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-11 in 0.13 seconds with 20 queries on phoenix via your IP 54.83.122.227