OPEN-SOURCE SCRIPT
Andean Oscillator (Version 3.0 Sr.K)

Andean Oscillator (Version 3.0 Sr.K)
This indicator is a momentum-based oscillator that measures the balance between bullish and bearish pressure.
🔧 How it works:
It calculates two adaptive envelopes around price and derives a "bullish" and "bearish" component.
The oscillator value is simply Bull - Bear, showing which side dominates.
A signal line (EMA of the oscillator) smooths the raw value.
Optionally, ±1σ levels are plotted to highlight statistically strong moves.
📊 What you see:
Histogram: Positive bars = bullish momentum, negative bars = bearish.
Orange Line: Signal line (EMA) used to confirm or anticipate reversals.
Zero Line: The equilibrium point. Crosses of this level signal a shift in market bias.
Green / Red Triangles: Buy and sell signals, either when crossing zero or crossing the signal line (depending on selected mode).
⚡ Early Signal Mode:
When enabled, signals trigger earlier — at the crossover between the oscillator and its signal line — allowing traders to enter potential reversals before a full zero-cross confirmation.
✅ Use cases:
Identify momentum shifts before price reversals.
Spot potential long/short setups with reduced lag.
Combine with price action or support/resistance for confirmation.
⚠️ Note: This is a tool for discretionary/manual trading. It does not open or close trades automatically. Always confirm with your own analysis and risk management.
This indicator is a momentum-based oscillator that measures the balance between bullish and bearish pressure.
🔧 How it works:
It calculates two adaptive envelopes around price and derives a "bullish" and "bearish" component.
The oscillator value is simply Bull - Bear, showing which side dominates.
A signal line (EMA of the oscillator) smooths the raw value.
Optionally, ±1σ levels are plotted to highlight statistically strong moves.
📊 What you see:
Histogram: Positive bars = bullish momentum, negative bars = bearish.
Orange Line: Signal line (EMA) used to confirm or anticipate reversals.
Zero Line: The equilibrium point. Crosses of this level signal a shift in market bias.
Green / Red Triangles: Buy and sell signals, either when crossing zero or crossing the signal line (depending on selected mode).
⚡ Early Signal Mode:
When enabled, signals trigger earlier — at the crossover between the oscillator and its signal line — allowing traders to enter potential reversals before a full zero-cross confirmation.
✅ Use cases:
Identify momentum shifts before price reversals.
Spot potential long/short setups with reduced lag.
Combine with price action or support/resistance for confirmation.
⚠️ Note: This is a tool for discretionary/manual trading. It does not open or close trades automatically. Always confirm with your own analysis and risk management.
Script open-source
Dans l'esprit de TradingView, le créateur de ce script l'a rendu open-source, afin que les traders puissent examiner et vérifier sa fonctionnalité. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais n'oubliez pas que la republication du code est soumise à nos Règles.
Clause de non-responsabilité
Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.
Script open-source
Dans l'esprit de TradingView, le créateur de ce script l'a rendu open-source, afin que les traders puissent examiner et vérifier sa fonctionnalité. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais n'oubliez pas que la republication du code est soumise à nos Règles.
Clause de non-responsabilité
Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.