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)
I have attached the FORCEINDEX indicator, and would like someone to add code that will show me a change in colour when the line is ABOVE ZERO and a different colour when it is BELOW Zero.
I have attached the FORCEINDEX indicator, and would like someone to add code that will show me a change in colour when the line is ABOVE ZERO and a different colour when it is BELOW Zero for thinkorswim platform
Is this the latest version of this indicator? I'm starting to play with it, but I find that it will change colors in real time but then revert the color if the next bar over crosses back the other way. This happens almost all the time if the cross is not very large, say less than +/- 0.2. I've seen it done as high as +/- 0.5.
For example, assuming calculate on bar close = TRUE, the force index crosses from long to short -0.2 on bar 1. The color now is red. The next bar closes and the force index crosses back to long 0.5. The color now is blue. You would expect the index to have gone red and then blue in the history of the graph, but I keep seeing it as just blue! As if it never went red...
This is a real issue for me as it's screwing me up on backtesting and throwing "fake" signals live, although I'm trying to compensate for it in some way. Any advice is deeply appreciated!!!
PS. here's a screenshot of what I mean, notice on the RIGHT SIDE how the index went well below 0, but the next bar over crossed up again and the red color is gone.