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.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.