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 the following code that I'd like to add to have converted into a column in the watchlist. It's the RSI code with a grey color when in the "Chop Zone" Can someone with the knowledge be able to do that? I THINK it needs a lot of def code.
All I'm interested is for the column to say "CHOP" when the RSI is in the chop zone which is between 40 & 60 else the column will be black.
I was just looking at the Custom Quote Formula area where the code would be pasted. Concerning the time selection next to Column Name, are tick candle charts not available?
#
# TD Ameritrade IP Company, Inc. (c) 2007-2020
#
I think you want to check if the RSI value is between 40 and 60. Currently, you're passing in the close price, which is part of the issue. Besides that, for some reason the between function doesn't seem to work as expected, so I redefined the check using a simple greater than less than expression, which achieves the same result.
I figured out why between wasn't working. The high/low chop values needed to be reversed, low then high range. Also, you can just call the RSI function since you're using the exact same calculation. So the latest version...