PROTECTED SOURCE SCRIPT

Quad Moving Average (3, 9, 44, 200)

47
MA 200 — The Big Trend Indicator

Use: Long-term trend direction.

Meaning:

If price > MA 200 → Bullish (uptrend)

If price < MA 200 → Bearish (downtrend)

Traders use it to:

Stay aligned with the major trend.

Avoid counter-trend trades.

Best for: Swing & positional traders.

⚙️ 2. MA 44 — Mid-Term Trend

Use: Medium-term trend tracking.

Meaning:

Works well on 1-hour, 4-hour, or daily charts.

Helps identify trend continuations or pullbacks.

Traders use it to:

Spot retracements to the mid-term moving average for buy/sell opportunities.

Filter out short-term noise.

⚡ 3. MA 9 — Short-Term Momentum

Use: Entry timing & momentum confirmation.

Meaning:

Tracks short-term price action.

Reacts fastest to price changes.

Traders use it to:

Catch short swings or early trend reversals.

Signal entries when it crosses above/below other MAs (like MA44 or MA200).

🔄 Common Strategy Example

Triple Moving Average Strategy (MA 9, 44, 200):

Buy signal:

Price above MA200 (long-term bullish)

MA9 crosses above MA44 → short-term momentum aligns with medium trend

Sell signal:

Price below MA200 (long-term bearish)

MA9 crosses below MA44 → short-term weakness confirmed

⚠️ Cautions

MAs lag behind price (they are not predictive).

Combine with RSI, MACD, or volume for confirmation.

Avoid using the same MAs across all timeframes — adjust for your trading style.

Would you like me to show you an example chart setup (with MA 200, 44, and 9) and how to interpret signals visually (for TradingView or similar)?

You said:
give me pine script for moving average 9, 44 and 200
ChatGPT said:

Here’s a clean, ready-to-use Pine Script v5 for TradingView that plots MA 9, 44, and 200, with color-coded signals and optional alerts 👇

📜 Pine Script (v5)
//version=5
indicator("Triple Moving Average (9, 44, 200)", overlay=true)

// Input settings
ma9_length = input.int(9, "Short-Term MA", minval=1)
ma44_length = input.int(44, "Mid-Term MA", minval=1)
ma200_length = input.int(200, "Long-Term MA", minval=1)
ma_type = input.string("EMA", "MA Type", options=["SMA", "EMA"])

// Calculate MAs
ma9 = ma_type == "EMA" ? ta.ema(close, ma9_length) : ta.sma(close, ma9_length)
ma44 = ma_type == "EMA" ? ta.ema(close, ma44_length) : ta.sma(close, ma44_length)
ma200 = ma_type == "EMA" ? ta.ema(close, ma200_length) : ta.sma(close, ma200_length)

// Plot MAs
plot(ma9, color=color.new(color.yellow, 0), linewidth=2, title="MA 9")
plot(ma44, color=color.new(color.orange, 0), linewidth=2, title="MA 44")
plot(ma200, color=color.new(color.aqua, 0), linewidth=2, title="MA 200")

// Cross conditions
bullish_cross = ta.crossover(ma9, ma44) and close > ma200
bearish_cross = ta.crossunder(ma9, ma44) and close < ma200

// Background highlight for signals
bgcolor(bullish_cross ? color.new(color.green, 85) : na)
bgcolor(bearish_cross ? color.new(color.red, 85) : na)

免責聲明

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