Welcome to NexusFi: the best trading community on the planet, with over 150,000 members Sign Up Now for Free
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 for basic access, or support us by becoming an Elite Member -- see if you qualify for a discount below.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
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
Can you help answer these questions from other members on NexusFi?
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
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.
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.
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