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)
For some reason the StopTargetInfo indicator is not calculating the Average Daily Range correctly.
The daily range is supposed to be the overnight and day session range from High-Low.
The idea behind this is that the stop is supposed to be 10% of the 7day ADR and the target is 15% of the 7day ADR.
I've attached the EvtADR indicator that DOES calculate ADR correctly for reference.
I posted this in the NT forum as well but if anyone wants to take a stab at this, feel free.
Here is my best attempt, I believe I have it working although I'm not a NinjaScript programmer. I modified the script to also display the ADR so we can always check if it's being calculated correctly. See how it works out for you.