OPEN-SOURCE SCRIPT

5 MA Length Custom [wjdtks255]

47
Indicator Title: 5 MA Length Custom
This indicator is a minimalist tool designed for pure trend visualization across five user-defined periods using Simple Moving Averages (SMAs). It contains no built-in signals or dynamic features—it serves strictly as a trend filter and confirmation layer.

Key Features and Customization
The indicator plots five fixed-color, fixed-thickness moving average lines. Only the Length (period) of each MA can be changed in the settings, offering clean, focused market analysis.

MA 1 (Default 5): Immediate price action.

MA 2 (Default 20): Short-term momentum.

MA 3 (Default 60): Key Mid-term Trend Line.

MA 4 (Default 40): Proxy for the standard Bollinger Band Center Line.

MA 5 (Default 120): Major Long-term Trend.

🧭 Trading Strategy: MA Filtered Reversion
This strategy uses the MA hierarchy for trend filtering and bias confirmation when executing trades based on an external signal indicator (e.g., a volatility/reversal signal like BB OPT EN).

🟢 Long Bias Confirmation (Buy)

The short-term trend must support the mid-term trend. This is confirmed when MA 2 (20) is positioned above MA 3 (60). When this alignment occurs, you should only take external Buy signals (reversal signals) for higher probability trades.

🔴 Short Bias Confirmation (Sell)

The short-term trend must align with the bearish direction. This is confirmed when MA 2 (20) is positioned below MA 3 (60). When this alignment occurs, you should only take external Sell signals (reversal signals) for higher probability trades.

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.