PROTECTED SOURCE SCRIPT
已更新

Yash RSI Bars - timeframe alart

10
Only bar coloring - No extra plots or lines
✅ Custom timeframe - Colors bars based on RSI from your selected timeframe
✅ White bars - When RSI is above overbought level (default 70)
✅ Yellow bars - When RSI is below oversold level (default 30)
✅ No color - When RSI is in neutral zone
✅ Overbought → Normal - Alert fires when white bars stop and RSI falls back below 70
✅ Oversold → Normal - Alert fires when yellow bars stop and RSI rises back above 30
✅ No alert on entry - Only alerts when bars return to normal/no color

Add the indicator to your chart
Click the bell icon ⏰ on the indicator
Select which alerts you want:
"RSI: Overbought to Normal"
"RSI: Oversold to Normal"
Choose: Notify, Email, SMS, or Webhook
發行說明
Overbought → Normal - Alert fires when white bars stop and RSI falls back below 70
✅ Oversold → Normal - Alert fires when yellow bars stop and RSI rises back above 30
✅ No alert on entry - Only alerts when bars return to normal/no color
✅ EMA 1 - Default 9-period (fast moving average) - Blue line
✅ EMA 2 - Default 21-period (slow moving average) - Red line
✅ Customizable - Change EMA lengths in indicator settings
✅ Customizable Colors - Adjust EMA line colors
✅ All Features - RSI bar coloring + alerts + EMAs

發行說明
Wrapped EMAs with request.security() - Now EMAs are calculated on the custom timeframe
✅ EMAs now sync with RSI - Both use the same custom timeframe
✅ Lines will move properly - EMAs will track the bars correctly when zooming in/out

The issue was that the EMAs were on the chart's timeframe while the RSI was on a different timeframe. Now they're synchronized! 🎯
發行說明
✅ Bar coloring - White (overbought), Yellow (oversold) on custom timeframe
✅ Alerts - Only when bars return to normal
✅ No SMA/EMA - Clean, simple, no scale issues
✅ Custom timeframe - Choose any timeframe for RSI calculation

just the bars color in different time frame! 🎯

免責聲明

這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。