OPEN-SOURCE SCRIPT
Atualizado HaP Williams %R Pro+

This indicator combines the classic Williams %R (Percent Range) oscillator with multi-timeframe (MTF) analysis, allowing you to visualize the general market direction on a single chart. Thanks to its advanced dashboard feature, you can instantly monitor overbought/oversold conditions across all periods, ranging from the 1-minute chart to the 1-month chart.
With the AVG F feature added to the table, short-term price movements and momentum changes (specifically for Scalping) can be detected much faster.
🚀 Key Features
Multi-Timeframe (MTF) Support: Simultaneously calculates Williams %R values for 1m, 5m, 15m, 30m, 1h, 2h, 4h, Daily, Weekly, and Monthly periods.
Smart Dashboard: The table located in the corner of the screen displays values and color codes for all timeframes.
AVG S (Slow Average): This is the average of 5m, 15m, 30m, and 1h data. It indicates the general trend direction.
AVG F (Fast Average) [NEW]: This is the average of 1m, 5m, and 15m data. It is used for instant momentum and scalping entries.
Signal Smoothing: Williams %R data is smoothed with a Simple Moving Average (SMA) to reduce market noise.
Dynamic Coloring: Colors on the dashboard and chart automatically change according to the strength of the trend.
🎨 Color Codes and Meanings
The dashboard and chart lines are colored according to the following logic:
🟢 Bright Green (Lime): If the value is above -20. This is the "Overbought" zone, but it indicates a strong Bullish trend. Momentum is very high.
🌿 Dark Green: If the value is between -20 and -50. The market is in the positive zone; the upward tendency continues.
🔴 Red: If the value is between -50 and -80. The market is in the negative zone; the downward tendency dominates.
🛑 Bright Red: If the value is below -80. This is the "Oversold" zone. Momentum is very low, and the Bearish trend is strong.
💡 How to Use? (Strategy Suggestions)
General Trend Tracking: Look at the AVG S (Slow Average) column in the dashboard. If it is green, the general direction is up; if red, it is down.
Scalp Trades: The AVG F (Fast Average) column is ideal for catching short-term reversals. Entry reliability increases when the AVG F color aligns with AVG S.
Crossovers: Crossovers between the Fast Average (Red Line) and Slow Average (Black Line) on the chart can signal potential trend changes.
Dashboard Harmony: If all boxes (or the vast majority) in the dashboard are the same color (e.g., all green), it indicates a very strong trend in that direction. You should avoid opening positions in the opposite direction.
⚙️ Settings
Williams %R Period: Default is 14; you can change it according to your strategy.
Dashboard Position: You can move the dashboard to the top-right, bottom-right, or bottom-left corner of the screen.
Show Lines: If you want to prevent chart clutter, you can toggle off the lines and use only the dashboard.
Disclaimer: This indicator is a support tool and does not contain definitive buy/sell signals. You should make your investment decisions based on your own analysis and risk management.
With the AVG F feature added to the table, short-term price movements and momentum changes (specifically for Scalping) can be detected much faster.
🚀 Key Features
Multi-Timeframe (MTF) Support: Simultaneously calculates Williams %R values for 1m, 5m, 15m, 30m, 1h, 2h, 4h, Daily, Weekly, and Monthly periods.
Smart Dashboard: The table located in the corner of the screen displays values and color codes for all timeframes.
AVG S (Slow Average): This is the average of 5m, 15m, 30m, and 1h data. It indicates the general trend direction.
AVG F (Fast Average) [NEW]: This is the average of 1m, 5m, and 15m data. It is used for instant momentum and scalping entries.
Signal Smoothing: Williams %R data is smoothed with a Simple Moving Average (SMA) to reduce market noise.
Dynamic Coloring: Colors on the dashboard and chart automatically change according to the strength of the trend.
🎨 Color Codes and Meanings
The dashboard and chart lines are colored according to the following logic:
🟢 Bright Green (Lime): If the value is above -20. This is the "Overbought" zone, but it indicates a strong Bullish trend. Momentum is very high.
🌿 Dark Green: If the value is between -20 and -50. The market is in the positive zone; the upward tendency continues.
🔴 Red: If the value is between -50 and -80. The market is in the negative zone; the downward tendency dominates.
🛑 Bright Red: If the value is below -80. This is the "Oversold" zone. Momentum is very low, and the Bearish trend is strong.
💡 How to Use? (Strategy Suggestions)
General Trend Tracking: Look at the AVG S (Slow Average) column in the dashboard. If it is green, the general direction is up; if red, it is down.
Scalp Trades: The AVG F (Fast Average) column is ideal for catching short-term reversals. Entry reliability increases when the AVG F color aligns with AVG S.
Crossovers: Crossovers between the Fast Average (Red Line) and Slow Average (Black Line) on the chart can signal potential trend changes.
Dashboard Harmony: If all boxes (or the vast majority) in the dashboard are the same color (e.g., all green), it indicates a very strong trend in that direction. You should avoid opening positions in the opposite direction.
⚙️ Settings
Williams %R Period: Default is 14; you can change it according to your strategy.
Dashboard Position: You can move the dashboard to the top-right, bottom-right, or bottom-left corner of the screen.
Show Lines: If you want to prevent chart clutter, you can toggle off the lines and use only the dashboard.
Disclaimer: This indicator is a support tool and does not contain definitive buy/sell signals. You should make your investment decisions based on your own analysis and risk management.
Notas de Lançamento
mtf hesaplamasındaki hata giderildi.Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.