Quantcast
Channel: RSI line to show different colour at different levels - Stack Overflow
Browsing all 2 articles
Browse latest View live

Answer by AmphibianTrading for RSI line to show different colour at different...

You can use the ternary operator in your plot statement to change the colorplot (RSI, color = RSI > 60 ? color.green : RSI < 40 ? color.red : color.yellow, linewidth = 1)

View Article



RSI line to show different colour at different levels

I'm using a basic RSI indicator that also has Bollinger bands on it as an overlay. I want my RSI line to show different colour at different levels. I want the line to be in green colour when it is...

View Article
Browsing all 2 articles
Browse latest View live




Latest Images