PROTECTED SOURCE SCRIPT
Quad Moving Average (3, 9, 44, 200)

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)
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에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.
보호된 스크립트입니다
이 스크립트는 비공개 소스로 게시됩니다. 하지만 제한 없이 자유롭게 사용할 수 있습니다 — 여기에서 자세히 알아보기.
면책사항
이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.