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.
Skrypt open-source
W zgodzie z duchem TradingView twórca tego skryptu udostępnił go jako open-source, aby użytkownicy mogli przejrzeć i zweryfikować jego działanie. Ukłony dla autora. Korzystanie jest bezpłatne, jednak ponowna publikacja kodu podlega naszym Zasadom serwisu.
Wyłączenie odpowiedzialności
Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.
Skrypt open-source
W zgodzie z duchem TradingView twórca tego skryptu udostępnił go jako open-source, aby użytkownicy mogli przejrzeć i zweryfikować jego działanie. Ukłony dla autora. Korzystanie jest bezpłatne, jednak ponowna publikacja kodu podlega naszym Zasadom serwisu.
Wyłączenie odpowiedzialności
Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.