OPEN-SOURCE SCRIPT
Williams %R Intensity

Overview
"Williams %R Intensity" is a unique indicator that combines the classic Williams %R with a dynamic intensity-based visualization. This indicator helps traders identify overbought and oversold conditions with enhanced clarity while also predicting potential future crossovers using smoothed slope calculations. It is tailored for traders seeking a more nuanced approach to trend detection and momentum analysis.
Features and How It Works
Core Calculation:
Williams %R: Measures the current closing price relative to the highest high and lowest low over a user-defined length (default: 14).
Exponential Moving Average (EMA): Smoothens the %R values for better trend tracking (default length: 14).
Overbought/Oversold Zones:
Upper and lower threshold levels are set at -20 (overbought) and -80 (oversold), making it easier to identify extreme conditions.
Intensity Visualization:
Crossover Signals:
The background color changes (lime for bullish, red for bearish) to highlight these critical moments when enabled via the "Show Cross & Predicted Cross Signal" option.
Future Cross Prediction:
How to Use
Chart Information
For clarity and compliance with publishing standards:
"Williams %R Intensity" is a unique indicator that combines the classic Williams %R with a dynamic intensity-based visualization. This indicator helps traders identify overbought and oversold conditions with enhanced clarity while also predicting potential future crossovers using smoothed slope calculations. It is tailored for traders seeking a more nuanced approach to trend detection and momentum analysis.
Features and How It Works
Core Calculation:
Williams %R: Measures the current closing price relative to the highest high and lowest low over a user-defined length (default: 14).
Exponential Moving Average (EMA): Smoothens the %R values for better trend tracking (default length: 14).
Overbought/Oversold Zones:
Upper and lower threshold levels are set at -20 (overbought) and -80 (oversold), making it easier to identify extreme conditions.
Intensity Visualization:
- The intensity is calculated based on the absolute distance between Williams %R and its EMA.
- The closer the value is to extreme levels, the more pronounced the visual intensity, capping at 90% transparency.
- Overbought conditions are highlighted in red; oversold conditions in teal.
Crossover Signals:
- Bullish Cross: When Williams %R crosses above its EMA in the oversold zone.
- Bearish Cross: When Williams %R crosses below its EMA in the overbought zone.
The background color changes (lime for bullish, red for bearish) to highlight these critical moments when enabled via the "Show Cross & Predicted Cross Signal" option.
Future Cross Prediction:
- Uses the smoothed slope of %R to estimate future values over a customizable number of steps.
- Predicts potential bullish or bearish crosses based on the interaction between the predicted Williams %R and EMA.
- Light green and light red background colors indicate predicted bullish and bearish crosses, respectively.
How to Use
- Trend Detection: Use the Williams %R and its EMA to identify ongoing trends and confirm their strength.
- Overbought/Oversold Analysis: Pay attention to crosses in extreme zones (-20 and -80) for potential reversals.
- Intensity-Based Filtering: The intensity visualization helps to focus on the most significant conditions, reducing noise.
- Cross Prediction: Enable "Show Cross & Predicted Cross Signal" to anticipate future turning points and plan trades proactively.
- Example Applications
- Scalping: Monitor rapid crossovers in lower timeframes for quick entries and exits.
- Swing Trading: Use the overbought/oversold zones and cross predictions to identify longer-term reversal opportunities.
- Risk Management: The intensity visualization can be used to filter out weak signals, ensuring higher-quality trade setups.
Chart Information
For clarity and compliance with publishing standards:
- The chart should display the full symbol, timeframe, and the script name ("Williams %R Intensity").
- Ensure the indicator is visible and properly configured for the chart.
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้มันเป็นโอเพ่นซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันการทำงานของสคริปต์ได้ ขอแสดงความชื่นชมผู้เขียน! แม้ว่าคุณจะสามารถใช้งานได้ฟรี แต่อย่าลืมว่าการเผยแพร่โค้ดซ้ำนั้นจะต้องเป็นไปตามกฎระเบียบการใช้งานของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมที่ ข้อกำหนดการใช้งาน
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้มันเป็นโอเพ่นซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันการทำงานของสคริปต์ได้ ขอแสดงความชื่นชมผู้เขียน! แม้ว่าคุณจะสามารถใช้งานได้ฟรี แต่อย่าลืมว่าการเผยแพร่โค้ดซ้ำนั้นจะต้องเป็นไปตามกฎระเบียบการใช้งานของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมที่ ข้อกำหนดการใช้งาน