OPEN-SOURCE SCRIPT

AO Divergence RCT PRO

137
//description=This indicator, AO Divergence Pro, is a powerful tool designed to automatically identify and plot both classic and hidden divergences on the Awesome Oscillator (AO). Divergences occur when the price action and the oscillator move in opposite directions, often signaling a potential shift in market momentum.
//
// --- Key Features ---
// 1. Regular (Classic) Divergence Detection: This feature identifies potential trend reversals.
// - A **Bullish Regular Divergence** (labeled 'R') is found when the price makes a lower low, but the AO makes a higher low. This suggests that downward momentum is weakening and a reversal to the upside may be imminent.
// - A **Bearish Regular Divergence** (labeled 'R') is found when the price makes a higher high, but the AO makes a lower high. This suggests that upward momentum is fading and a reversal to the downside may be coming.
//
// 2. Hidden Divergence Detection: This feature identifies potential trend continuations.
// - A **Bullish Hidden Divergence** (labeled 'H') is found when the price makes a higher low, but the AO makes a lower low. This often occurs during a pullback in an uptrend, suggesting the trend is likely to resume.
// - A **Bearish Hidden Divergence** (labeled 'H') is found when the price makes a lower high, but the AO makes a higher high. This often occurs during a rally in a downtrend, suggesting the downtrend is likely to continue.
//
// 3. Full Customization: The indicator allows you to toggle the display of each type of divergence (Bullish/Bearish, Regular/Hidden) independently. You can also adjust the pivot detection sensitivity and the time range between divergences to filter signals according to your trading style.
//
// --- How to Use ---
// 1. **Identify Reversals:** Look for the 'R' labels on the chart. A bullish 'R' in a downtrend is a strong signal to consider a long position. A bearish 'R' in an uptrend is a signal to consider a short position.
// 2. **Confirm Continuations:** Look for the 'H' labels. A bullish 'H' during an uptrend pullback can be a good opportunity to add to your position. A bearish 'H' during a downtrend rally can be a signal to enter a short trade.
// 3. **Filter Signals:** Use the settings panel to control the number of signals. For example, increasing the "Min Bars Between" will show fewer, but potentially more reliable, divergences.
//
// --- Attribution ---
// Created by Carlos Mauricio Vizcarra.
//
// --- Disclaimer ---
// This script is for informational and educational purposes only. It is not financial advice. Past performance is not indicative of future results.

Declinazione di responsabilità

Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.