OPEN-SOURCE SCRIPT
已更新

TRIPLE Moving Averages

168
Triple Moving Average System with Composite Average

This strategy uses three moving averages of different timeframes to assess trend direction, momentum, and potential entry/exit points. The averages are:

Fast MA (Short-term) – Typically a 12-period moving average.

Reacts quickly to price changes, providing early signals.

Medium MA (Intermediate-term) – Often a 21-period moving average.

Smooths out noise and confirms the trend suggested by the Fast MA.

Slow MA (Long-term) – Usually a 50-period moving average.

Represents the dominant trend; acts as a strong support/resistance level.

Additionally, the Composite Moving Average (CMA) is calculated as the average of the three MAs, providing a balanced reference point:

How to Use the System:
Bullish Signal:

When the Fast MA crosses above the Medium MA and both are above the Slow MA, confirming an uptrend.

The price staying above the CMA reinforces bullish strength.

Bearish Signal:

When the Fast MA crosses below the Medium MA and both are below the Slow MA, indicating a downtrend.

The price staying below the CMA confirms bearish momentum.

Trend Confirmation:

The slope and order of the MAs (Fast > Medium > Slow = uptrend; Fast < Medium < Slow = downtrend).

The CMA acting as dynamic support/resistance.

Advantages:
Reduces false signals compared to single or dual MA systems.

The CMA smooths volatility and provides a clearer trend bias.

Example Settings (Customizable):
Fast MA: 12-period SMA/EMA

Medium MA: 21-period SMA/EMA

Slow MA: 50-period SMA/EMA
發行說明
Triple Moving Average System with Composite Average

This strategy uses three moving averages of different timeframes to assess trend direction, momentum, and potential entry/exit points. The averages are:

Fast MA (Short-term) – Typically a 12-period moving average.

Reacts quickly to price changes, providing early signals.

Medium MA (Intermediate-term) – Often a 21-period moving average.

Smooths out noise and confirms the trend suggested by the Fast MA.

Slow MA (Long-term) – Usually a 50-period moving average.

Represents the dominant trend; acts as a strong support/resistance level.

Additionally, the Composite Moving Average (CMA) is calculated as the average of the three MAs, providing a balanced reference point:

How to Use the System:
Bullish Signal:

When the Fast MA crosses above the Medium MA and both are above the Slow MA, confirming an uptrend.

The price staying above the CMA reinforces bullish strength.

Bearish Signal:

When the Fast MA crosses below the Medium MA and both are below the Slow MA, indicating a downtrend.

The price staying below the CMA confirms bearish momentum.

Trend Confirmation:

The slope and order of the MAs (Fast > Medium > Slow = uptrend; Fast < Medium < Slow = downtrend).

The CMA acting as dynamic support/resistance.

Advantages:
Reduces false signals compared to single or dual MA systems.

The CMA smooths volatility and provides a clearer trend bias.

Example Settings (Customizable):
Fast MA: 12-period SMA/EMA

Medium MA: 21-period SMA/EMA

Slow MA: 50-period SMA/EMA
發行說明
Triple Moving Average System with Composite Average

This strategy uses three moving averages of different timeframes to assess trend direction, momentum, and potential entry/exit points. The averages are:

Fast MA (Short-term) – Typically a 12-period moving average.

Reacts quickly to price changes, providing early signals.

Medium MA (Intermediate-term) – Often a 21-period moving average.

Smooths out noise and confirms the trend suggested by the Fast MA.

Slow MA (Long-term) – Usually a 50-period moving average.

Represents the dominant trend; acts as a strong support/resistance level.

Additionally, the Composite Moving Average (CMA) is calculated as the average of the three MAs, providing a balanced reference point:

How to Use the System:
Bullish Signal:

When the Fast MA crosses above the Medium MA and both are above the Slow MA, confirming an uptrend.

The price staying above the CMA reinforces bullish strength.

Bearish Signal:

When the Fast MA crosses below the Medium MA and both are below the Slow MA, indicating a downtrend.

The price staying below the CMA confirms bearish momentum.

Trend Confirmation:

The slope and order of the MAs (Fast > Medium > Slow = uptrend; Fast < Medium < Slow = downtrend).

The CMA acting as dynamic support/resistance.

Advantages:
Reduces false signals compared to single or dual MA systems.

The CMA smooths volatility and provides a clearer trend bias.

Example Settings (Customizable):
Fast MA: 12-period SMA/EMA

Medium MA: 21-period SMA/EMA

Slow MA: 50-period SMA/EMA
2 minutes ago
Release Notes
Triple Moving Average System with Composite Average

This strategy uses three moving averages of different timeframes to assess trend direction, momentum, and potential entry/exit points. The averages are:

Fast MA (Short-term) – Typically a 12-period moving average.

Reacts quickly to price changes, providing early signals.

Medium MA (Intermediate-term) – Often a 21-period moving average.

Smooths out noise and confirms the trend suggested by the Fast MA.

Slow MA (Long-term) – Usually a 50-period moving average.

Represents the dominant trend; acts as a strong support/resistance level.

Additionally, the Composite Moving Average (CMA) is calculated as the average of the three MAs, providing a balanced reference point:

How to Use the System:
Bullish Signal:

When the Fast MA crosses above the Medium MA and both are above the Slow MA, confirming an uptrend.

The price staying above the CMA reinforces bullish strength.

Bearish Signal:

When the Fast MA crosses below the Medium MA and both are below the Slow MA, indicating a downtrend.

The price staying below the CMA confirms bearish momentum.

Trend Confirmation:

The slope and order of the MAs (Fast > Medium > Slow = uptrend; Fast < Medium < Slow = downtrend).

The CMA acting as dynamic support/resistance.

Advantages:
Reduces false signals compared to single or dual MA systems.

The CMA smooths volatility and provides a clearer trend bias.

Example Settings (Customizable):
Fast MA: 12-period SMA/EMA

Medium MA: 21-period SMA/EMA

Slow MA: 50-period SMA/EMA
發行說明
Triple Moving Average System with Composite Average

This strategy uses three moving averages of different timeframes to assess trend direction, momentum, and potential entry/exit points. The averages are:

Fast MA (Short-term) – Typically a 12-period moving average.

Reacts quickly to price changes, providing early signals.

Medium MA (Intermediate-term) – Often a 21-period moving average.

Smooths out noise and confirms the trend suggested by the Fast MA.

Slow MA (Long-term) – Usually a 50-period moving average.

Represents the dominant trend; acts as a strong support/resistance level.

Additionally, the Composite Moving Average (CMA) is calculated as the average of the three MAs, providing a balanced reference point:

How to Use the System:
Bullish Signal:

When the Fast MA crosses above the Medium MA and both are above the Slow MA, confirming an uptrend.

The price staying above the CMA reinforces bullish strength.

Bearish Signal:

When the Fast MA crosses below the Medium MA and both are below the Slow MA, indicating a downtrend.

The price staying below the CMA confirms bearish momentum.

Trend Confirmation:

The slope and order of the MAs (Fast > Medium > Slow = uptrend; Fast < Medium < Slow = downtrend).

The CMA acting as dynamic support/resistance.

Advantages:
Reduces false signals compared to single or dual MA systems.

The CMA smooths volatility and provides a clearer trend bias.

Example Settings (Customizable):
Fast MA: 12-period SMA/EMA

Medium MA: 21-period SMA/EMA

Slow MA: 50-period SMA/EMA
5 minutes ago
Release Notes
Triple Moving Average System with Composite Average

This strategy uses three moving averages of different timeframes to assess trend direction, momentum, and potential entry/exit points. The averages are:

Fast MA (Short-term) – Typically a 12-period moving average.

Reacts quickly to price changes, providing early signals.

Medium MA (Intermediate-term) – Often a 21-period moving average.

Smooths out noise and confirms the trend suggested by the Fast MA.

Slow MA (Long-term) – Usually a 50-period moving average.

Represents the dominant trend; acts as a strong support/resistance level.

Additionally, the Composite Moving Average (CMA) is calculated as the average of the three MAs, providing a balanced reference point:

How to Use the System:
Bullish Signal:

When the Fast MA crosses above the Medium MA and both are above the Slow MA, confirming an uptrend.

The price staying above the CMA reinforces bullish strength.

Bearish Signal:

When the Fast MA crosses below the Medium MA and both are below the Slow MA, indicating a downtrend.

The price staying below the CMA confirms bearish momentum.

Trend Confirmation:

The slope and order of the MAs (Fast > Medium > Slow = uptrend; Fast < Medium < Slow = downtrend).

The CMA acting as dynamic support/resistance.

Advantages:
Reduces false signals compared to single or dual MA systems.

The CMA smooths volatility and provides a clearer trend bias.

Example Settings (Customizable):
Fast MA: 12-period SMA/EMA

Medium MA: 21-period SMA/EMA

Slow MA: 50-period SMA/EMA
2 minutes ago
Release Notes
Triple Moving Average System with Composite Average

This strategy uses three moving averages of different timeframes to assess trend direction, momentum, and potential entry/exit points. The averages are:

Fast MA (Short-term) – Typically a 12-period moving average.

Reacts quickly to price changes, providing early signals.

Medium MA (Intermediate-term) – Often a 21-period moving average.

Smooths out noise and confirms the trend suggested by the Fast MA.

Slow MA (Long-term) – Usually a 50-period moving average.

Represents the dominant trend; acts as a strong support/resistance level.

Additionally, the Composite Moving Average (CMA) is calculated as the average of the three MAs, providing a balanced reference point:

How to Use the System:
Bullish Signal:

When the Fast MA crosses above the Medium MA and both are above the Slow MA, confirming an uptrend.

The price staying above the CMA reinforces bullish strength.

Bearish Signal:

When the Fast MA crosses below the Medium MA and both are below the Slow MA, indicating a downtrend.

The price staying below the CMA confirms bearish momentum.

Trend Confirmation:

The slope and order of the MAs (Fast > Medium > Slow = uptrend; Fast < Medium < Slow = downtrend).

The CMA acting as dynamic support/resistance.

Advantages:
Reduces false signals compared to single or dual MA systems.

The CMA smooths volatility and provides a clearer trend bias.

Example Settings (Customizable):
Fast MA: 12-period SMA/EMA

Medium MA: 21-period SMA/EMA

Slow MA: 50-period SMA/EMA
2 minutes ago
Release Notes
Triple Moving Average System with Composite Average

This strategy uses three moving averages of different timeframes to assess trend direction, momentum, and potential entry/exit points. The averages are:

Fast MA (Short-term) – Typically a 12-period moving average.

Reacts quickly to price changes, providing early signals.

Medium MA (Intermediate-term) – Often a 21-period moving average.

Smooths out noise and confirms the trend suggested by the Fast MA.

Slow MA (Long-term) – Usually a 50-period moving average.

Represents the dominant trend; acts as a strong support/resistance level.

Additionally, the Composite Moving Average (CMA) is calculated as the average of the three MAs, providing a balanced reference point:

How to Use the System:
Bullish Signal:

When the Fast MA crosses above the Medium MA and both are above the Slow MA, confirming an uptrend.

The price staying above the CMA reinforces bullish strength.

Bearish Signal:

When the Fast MA crosses below the Medium MA and both are below the Slow MA, indicating a downtrend.

The price staying below the CMA confirms bearish momentum.

Trend Confirmation:

The slope and order of the MAs (Fast > Medium > Slow = uptrend; Fast < Medium < Slow = downtrend).

The CMA acting as dynamic support/resistance.

Advantages:
Reduces false signals compared to single or dual MA systems.

The CMA smooths volatility and provides a clearer trend bias.

Example Settings (Customizable):
Fast MA: 12-period SMA/EMA

Medium MA: 21-period SMA/EMA

Slow MA: 50-period SMA/EMA
發行說明
This Pine Script indicator plots three customizable moving averages (MAs) along with an optional composite MA (average of all three). It provides visual cues, alerts, and trend confirmation based on MA crossovers and price positioning relative to the MAs.

🔹 Key Features
1. Multiple Moving Average Types
Supports 7 different MA types for each line:

EMA (Exponential Moving Average)

SMA (Simple Moving Average)

SMMA / RMA (Smoothed / Regular Moving Average)

WMA (Weighted Moving Average)

VWMA (Volume Weighted Moving Average)

HMA (Hull Moving Average)

2. Three Independent MAs
MA1, MA2, MA3 can each be enabled/disabled

Custom lengths (default: 12, 21, 50)

Different price sources (close, open, high, low, etc.)

3. Composite Moving Average (Optional)
Calculates (MA1 + MA2 + MA3) / 3

Acts as a consensus trend filter

4. Visual & Alert Features
✅ Color-Coded Lines (Yellow = Price Above MA, Red = Price Below MA)
✅ Thick Line Width (3) for better visibility
✅ Background Highlights for crossovers/crossunders
✅ Alerts for All Crossover Combinations

🔹 How It Works
📈 MA Crossovers & Trend Signals
Bullish Signal: When a faster MA crosses above a slower MA

Bearish Signal: When a faster MA crosses below a slower MA

Trend Confirmation: All MAs aligned in the same direction (e.g., MA1 > MA2 > MA3 = Strong Uptrend)

🎨 Visual Indicators
Green Background → Bullish crossover detected

Red Background → Bearish crossover detected

Yellow Line → Price is above the MA (bullish)

Red Line → Price is below the MA (bearish)

🔔 Alert Conditions
Alerts are triggered for all possible MA crossover combinations, including:

MA1 crossing MA2

MA1 crossing MA3

MA2 crossing MA3

Any MA crossing the Composite MA

免責聲明

這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。