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)
AutoTrendHforRad indicator in a strategy "direction" and "signal"
Good morning, I’m trying to use the AutoTrendHforRad indicator in a strategy, but I can’t find a way to access to "direction" and "signal" value. Someone could help me with the code, thank you.
Can you help answer these questions from other members on NexusFi?
It looks like this is NT7, in that case, how are you calling the indicator in your strategy? Are you calling it in your Initialize void?
For example, this is a simple NT7 strat:
If you are calling it correctly, then you need to make sure that the indicator itself is outputting the data series. Sometimes lazy coders don't bother doing this because they may not want to use it in a strategy. Make sure that the indicator is setting the values you want as public, otherwise, a strategy won't be able to access the data.
it looks like this:
If you would like more support, you will need to send some examples of the strategy. Hard to correct code when I can't see it.
FYI I do not have NT7 installed, and am doing this from memory, so code snips would help.
Cheers,
Sody
"The great Traders have always been humbled by the market early on in their careers creating a deep respect for the market. Until one has this respect indelibly engraved in their makeup, the concept of money management and discipline will never be treated seriously."
Good morning, the indicator has an int and doubles in the middle of the code. I have passed them to Variables and the problem is solved, thanks to everyone.