OPEN-SOURCE SCRIPT
MTF Andean Oscillator

MTF Andean Oscillator is a Multi Timeframe version of the popular Andean Oscillator that allows traders to view oscillator data from another selected timeframe while staying on the current chart.
This helps traders align entries with higher timeframe trend strength or monitor lower timeframe momentum without switching charts.
How It Works:
The script uses the standard Andean Oscillator formula and imports values from a user selected timeframe using multi timeframe logic.
Example:
Stay on 5 Minute chart and view 1 Hour Andean trend
Stay on 15 Minute chart and view 4 Hour Andean trend
Stay on Daily chart and view 4 Hour momentum shifts
Features:
• Standard Andean Oscillator calculation
• External timeframe selector
• Bull line shown in green
• Bear line shown in red
• Signal line shown in orange
• Separate oscillator pane for clean viewing
• Optional show or hide lines
• Real time multi timeframe updates
• Current selected timeframe display panel
Best Use Cases:
• Scalping with higher timeframe confirmation
• Intraday trading with trend alignment
• Spotting pullbacks inside larger trends
• Avoiding trades against dominant momentum
• Multi timeframe confluence setups
Reading the Oscillator:
Bull line above Bear line may indicate stronger bullish momentum.
Bear line above Bull line may indicate stronger bearish momentum.
Signal line can help identify momentum shifts and transitions.
Examples:
5 Minute chart + 1 Hour external timeframe for scalping
15 Minute chart + 4 Hour external timeframe for intraday trend trades
1 Hour chart + Daily external timeframe for swing bias
Important Note:
This tool is designed for analysis support and should be used together with price action, structure, volume, and risk management.
No indicator guarantees future movement.
This helps traders align entries with higher timeframe trend strength or monitor lower timeframe momentum without switching charts.
How It Works:
The script uses the standard Andean Oscillator formula and imports values from a user selected timeframe using multi timeframe logic.
Example:
Stay on 5 Minute chart and view 1 Hour Andean trend
Stay on 15 Minute chart and view 4 Hour Andean trend
Stay on Daily chart and view 4 Hour momentum shifts
Features:
• Standard Andean Oscillator calculation
• External timeframe selector
• Bull line shown in green
• Bear line shown in red
• Signal line shown in orange
• Separate oscillator pane for clean viewing
• Optional show or hide lines
• Real time multi timeframe updates
• Current selected timeframe display panel
Best Use Cases:
• Scalping with higher timeframe confirmation
• Intraday trading with trend alignment
• Spotting pullbacks inside larger trends
• Avoiding trades against dominant momentum
• Multi timeframe confluence setups
Reading the Oscillator:
Bull line above Bear line may indicate stronger bullish momentum.
Bear line above Bull line may indicate stronger bearish momentum.
Signal line can help identify momentum shifts and transitions.
Examples:
5 Minute chart + 1 Hour external timeframe for scalping
15 Minute chart + 4 Hour external timeframe for intraday trend trades
1 Hour chart + Daily external timeframe for swing bias
Important Note:
This tool is designed for analysis support and should be used together with price action, structure, volume, and risk management.
No indicator guarantees future movement.
Script open-source
Nello spirito di TradingView, l'autore di questo script lo ha reso open source, in modo che i trader possano esaminarne e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricordiamo che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.
Script open-source
Nello spirito di TradingView, l'autore di questo script lo ha reso open source, in modo che i trader possano esaminarne e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricordiamo che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.