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.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.