OPEN-SOURCE SCRIPT
Awesome Oscillator + ADX Divergence System – RCT FUSION PRO

Descripción del script:
This script enhances the classic Awesome Oscillator (AO) by integrating non-repainting divergence detection and scaled ADX/DMI trend confirmation, creating a unified framework for identifying high-confluence trade setups. The combination is not arbitrary: divergences in AO signal potential reversals, while ADX validates whether the market has sufficient trend strength to act on them.
1. Customizable Awesome Oscillator:
The AO is calculated as the difference between a fast and slow moving average of the median price (HL2). Users can choose between SMA (default) or EMA for both legs. The histogram changes color based on momentum acceleration (green when rising, red when falling), with built-in alerts for color transitions.
2. Divergence Engine (Non-Repainting):
Automatically detects regular and hidden bullish/bearish divergences between price and the AO:
Regular bullish: Price makes a lower low, AO makes a higher low (potential reversal up).
Hidden bullish: Price makes a higher low, AO makes a lower low (continuation signal).
Equivalent logic applies for bearish cases.
All lines and labels are drawn only after the candle closes, eliminating repainting. Users can toggle visibility, adjust pivot sensitivity (lookback range: 1–60 bars), and choose between 1- or 2-pivot confirmation.
3. Scaled ADX & DMI Overlay:
The standard ADX (14-period) and +DI/-DI lines are dynamically scaled to match the amplitude of the AO. This allows direct visual comparison:
When AO shows a bullish divergence and +DI > -DI and ADX > 23, the setup gains confluence.
The Key Level line (offset to -7) serves as a dynamic reference for ADX strength relative to AO momentum.
ADX, DM+, and DM- can be toggled independently.
How to use:
Look for divergence signals below zero (bullish) or above zero (bearish) in the AO.
Confirm with ADX > 23 (strong trend) and directional alignment (+DI > -DI for longs, vice versa for shorts).
Use color-change alerts in AO as secondary momentum triggers.
This system is designed for swing and intraday traders who seek confirmation across momentum, price structure, and trend strength—reducing false signals through convergence.
Versión en español :
Este script mejora el Oscilador Awesome (AO) clásico al integrar detección de divergencias sin repintado y confirmación de tendencia mediante ADX/DMI escalado, creando un marco unificado para identificar entradas con alta confluencia. La combinación no es arbitraria: las divergencias en el AO señalan posibles giros, mientras que el ADX valida si el mercado tiene fuerza de tendencia suficiente para actuar.
El AO personalizable permite elegir entre SMA o EMA.
Las divergencias (regulares y ocultas) se detectan solo tras el cierre de la vela.
El ADX y los DM+/- se escalan dinámicamente para alinearse visualmente con el AO, permitiendo evaluar confluencia en tiempo real.
Ideal para traders que buscan confirmación entre estructura de precio, momentum y fuerza de tendencia.
This script enhances the classic Awesome Oscillator (AO) by integrating non-repainting divergence detection and scaled ADX/DMI trend confirmation, creating a unified framework for identifying high-confluence trade setups. The combination is not arbitrary: divergences in AO signal potential reversals, while ADX validates whether the market has sufficient trend strength to act on them.
1. Customizable Awesome Oscillator:
The AO is calculated as the difference between a fast and slow moving average of the median price (HL2). Users can choose between SMA (default) or EMA for both legs. The histogram changes color based on momentum acceleration (green when rising, red when falling), with built-in alerts for color transitions.
2. Divergence Engine (Non-Repainting):
Automatically detects regular and hidden bullish/bearish divergences between price and the AO:
Regular bullish: Price makes a lower low, AO makes a higher low (potential reversal up).
Hidden bullish: Price makes a higher low, AO makes a lower low (continuation signal).
Equivalent logic applies for bearish cases.
All lines and labels are drawn only after the candle closes, eliminating repainting. Users can toggle visibility, adjust pivot sensitivity (lookback range: 1–60 bars), and choose between 1- or 2-pivot confirmation.
3. Scaled ADX & DMI Overlay:
The standard ADX (14-period) and +DI/-DI lines are dynamically scaled to match the amplitude of the AO. This allows direct visual comparison:
When AO shows a bullish divergence and +DI > -DI and ADX > 23, the setup gains confluence.
The Key Level line (offset to -7) serves as a dynamic reference for ADX strength relative to AO momentum.
ADX, DM+, and DM- can be toggled independently.
How to use:
Look for divergence signals below zero (bullish) or above zero (bearish) in the AO.
Confirm with ADX > 23 (strong trend) and directional alignment (+DI > -DI for longs, vice versa for shorts).
Use color-change alerts in AO as secondary momentum triggers.
This system is designed for swing and intraday traders who seek confirmation across momentum, price structure, and trend strength—reducing false signals through convergence.
Versión en español :
Este script mejora el Oscilador Awesome (AO) clásico al integrar detección de divergencias sin repintado y confirmación de tendencia mediante ADX/DMI escalado, creando un marco unificado para identificar entradas con alta confluencia. La combinación no es arbitraria: las divergencias en el AO señalan posibles giros, mientras que el ADX valida si el mercado tiene fuerza de tendencia suficiente para actuar.
El AO personalizable permite elegir entre SMA o EMA.
Las divergencias (regulares y ocultas) se detectan solo tras el cierre de la vela.
El ADX y los DM+/- se escalan dinámicamente para alinearse visualmente con el AO, permitiendo evaluar confluencia en tiempo real.
Ideal para traders que buscan confirmación entre estructura de precio, momentum y fuerza de tendencia.
오픈 소스 스크립트
진정한 트레이딩뷰 정신에 따라 이 스크립트 작성자는 트레이더가 기능을 검토하고 검증할 수 있도록 오픈소스로 공개했습니다. 작성자에게 찬사를 보냅니다! 무료로 사용할 수 있지만 코드를 다시 게시할 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.
오픈 소스 스크립트
진정한 트레이딩뷰 정신에 따라 이 스크립트 작성자는 트레이더가 기능을 검토하고 검증할 수 있도록 오픈소스로 공개했습니다. 작성자에게 찬사를 보냅니다! 무료로 사용할 수 있지만 코드를 다시 게시할 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.