High lights the bars based on the RSI (to avoid losing space for another indicator)
Remove from Favorite Scripts Add to Favorite Scripts
study(title="RSIBars", overlay = true)

Rsi = rsi(close, 14)

barcolor(Rsi>80 ? red : Rsi>70 ? orange : Rsi>30 ? white : Rsi>20 ? green : lime)
uops. gross mistake apologies. should be:

study(title="RSIBars", overlay = true)

Rsi = rsi(close, 14)

barcolor(Rsi>80 ? red : Rsi>70 ? orange : Rsi>20 ? lime : Rsi>30 ? green : white)
Reply
Home Stock Screener Forex Screener Crypto Screener Economic Calendar Shows How It Works Chart Features Pricing House Rules Moderators Website & Broker Solutions Widgets Charting Solutions Lightweight Charting Library Help Center Refer a friend Feature Request Blog & News FAQ Wiki Twitter
Profile Profile Settings Account and Billing Refer a friend My Support Tickets Help Center Ideas Published Followers Following Private Messages Chat Sign Out