OPEN-SOURCE SCRIPT
Custom 4 MA & Probability (KenshinC) [English]

Custom 4 MA - Fast / Normal / Slow / Super Slow with Deviation Analysis
This powerful multi-timeframe moving average indicator combines four strategically chosen Simple Moving Averages with advanced deviation analysis to help traders identify extreme price levels and mean-reversion opportunities.Key Features:Flexible MA Modes: Choose between calculating All 4 MAs simultaneously or Single MA Only for cleaner charts and better performance.
Four Strategic Periods:Fast MA (16) – Short-term momentum
Normal MA (100) – Medium-term trend
Slow MA (365) – Long-term trend (approximately 1 year on daily)
Super Slow MA (1460) – Very long-term trend (approximately 4–5 years on daily)
Advanced Deviation Analysis:
Automatically detects and tracks the strongest Top and Bottom percentage deviations from each MA within a configurable lookback window.
Visual Extreme Levels: Displays dashed horizontal lines for the top 5 highest and lowest deviation levels of each active MA, making overextended zones clearly visible.
Historical Labels: Marks significant Top and Bottom deviation points directly on the chart with detailed information (price + % deviation).
Statistics Table: Real-time table showing Start Date, Candles Above/Below MA, and percentage distribution for each active MA.
Fully Customizable: Colors, label sizes, number of extreme points, and lookback period are all adjustable.
Ideal For:
Mean-reversion traders
Swing and position traders
Traders who use multiple timeframe moving averages
Identifying high-probability reversal zones when price deviates significantly from long-term averages
Whether you're trading breakouts, pullbacks, or looking for exhaustion points, this indicator provides clear visual references for both trend strength and extreme price behavior.
This powerful multi-timeframe moving average indicator combines four strategically chosen Simple Moving Averages with advanced deviation analysis to help traders identify extreme price levels and mean-reversion opportunities.Key Features:Flexible MA Modes: Choose between calculating All 4 MAs simultaneously or Single MA Only for cleaner charts and better performance.
Four Strategic Periods:Fast MA (16) – Short-term momentum
Normal MA (100) – Medium-term trend
Slow MA (365) – Long-term trend (approximately 1 year on daily)
Super Slow MA (1460) – Very long-term trend (approximately 4–5 years on daily)
Advanced Deviation Analysis:
Automatically detects and tracks the strongest Top and Bottom percentage deviations from each MA within a configurable lookback window.
Visual Extreme Levels: Displays dashed horizontal lines for the top 5 highest and lowest deviation levels of each active MA, making overextended zones clearly visible.
Historical Labels: Marks significant Top and Bottom deviation points directly on the chart with detailed information (price + % deviation).
Statistics Table: Real-time table showing Start Date, Candles Above/Below MA, and percentage distribution for each active MA.
Fully Customizable: Colors, label sizes, number of extreme points, and lookback period are all adjustable.
Ideal For:
Mean-reversion traders
Swing and position traders
Traders who use multiple timeframe moving averages
Identifying high-probability reversal zones when price deviates significantly from long-term averages
Whether you're trading breakouts, pullbacks, or looking for exhaustion points, this indicator provides clear visual references for both trend strength and extreme price behavior.
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
Made with passion by KenshinC
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
Made with passion by KenshinC
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。