OPEN-SOURCE SCRIPT
Multiple Moving Averages [JopAlgo]

Multiple Moving Averages [JopAlgo] — read trend, timing, and strength at a glance
What it does:
Mark up to 5 moving averages (you pick type + length + color). Watch how they stack, slope, braid, and fan out to judge trend direction, pullback timing, and breakout quality on any timeframe.
Read it in 5 seconds
Stack order:
Bullish: fast MAs on top of slow MAs.
Bearish: fast MAs below slow MAs.
Slope: up = trend has a tailwind; down = headwind.
Spacing: wide = strong trend; tight/braided = balance/chop.
If you remember only one rule: trade with the stack and slope, enter at levels.
High-probability plays (simple and repeatable)
Trend pullback (with level)
Stack is bullish, slopes up.
Price pulls back to the MA cluster (or AVWAP/VAL), holds, fast MAs curl back up.
Long. Stop: below structure/slowest MA. Target: POC/HVNs or next swing.
(Mirror for shorts in a bearish stack.)
Reclaim + recurl
After a down phase, price closes above fast MAs (MA1–MA2), they turn up, and you’re at a real level (AVWAP/VA edge).
Take the first higher-low with the stack starting to flip.
Squeeze → expansion
MAs braid tight = energy building.
Break at a level, then the lines fan out in your direction.
Enter on the first retest that holds.
Skip trades when the lines are braided mid-range and you’re not at a level.
Timeframe guide (what usually works)
1–5m (scalps): EMA heavy (e.g., 5/9/21/34/55). Expect more signals; filter with levels + CVD.
15m–1H (intraday): 9/21/34/50/200 (mix EMA for fast, SMA for slow).
2H–4H (swing): 10/20/50/100/200 or 8/21/34/55/89 (smoother read).
1D+ (position): 20/50/100/200 (bias) and enter on lower TF.
Tip: Don’t set all five to the same length—stagger them so the stack tells a story.
Settings that matter (and what they mean)
MA types (pick the feel you like):
EMA – fastest response (great for timing).
SMA – smoother backbone (great for bias).
WMA / LWMA – responsive but less twitchy than EMA.
VWMA – weights price by volume (good on assets with uneven volume).
SMMA – very smooth (reduces whips).
DEMA – extra fast (can be noisy).
HEMA – in this script behaves like a double-EMA style response (fast).
RVIMA – not implemented here (will plot nothing if chosen).
Length:
Shorter = earlier turns, more noise.
Longer = slower, cleaner bias.
Keep a sensible spread (e.g., 1:2:3… or Fib-style 9/21/34/55/89).
Colors:
Use consistent colors (e.g., warm = fast, cool = slow) so you can read the stack instantly.
Best combos with other [JopAlgo] tools
Volume Profile v3.2: take signals at VAH/VAL/LVNs; use POC/HVNs for targets.
Anchored VWAP: reclaims/rejections + MA recurl = clean timing.
CVDv1: execute with flow (Alignment OK, strong Imbalance, no Absorption against you).
Common mistakes this prevents
Shorting into a bullish stack (or buying into a bearish one).
Chasing far from the fast MAs; better to wait for a pullback.
Trading every wiggle in chop—braids tell you to do less.
Quick FAQs
Cluttered chart? Hide 1–2 lines (keep fast, middle, slow) or thin the linewidth.
Which one is “right”? None. Pick a set that fits your tempo and stick to it.
RVIMA option? Not implemented in this version—choose another type.
Starter presets (copy these, then adjust)
Intraday: MA1 EMA9, MA2 EMA21, MA3 SMA34, MA4 SMA50, MA5 SMA200
Swing: MA1 EMA10, MA2 SMA20, MA3 SMA50, MA4 SMA100, MA5 SMA200
Scalp: MA1 EMA5, MA2 EMA9, MA3 EMA21, MA4 EMA34, MA5 EMA55
Mini-disclaimer
Educational tool, not financial advice. Always anchor trades to levels, flow, and risk—this indicator keeps your bias and timing honest; the plan is still yours.
What it does:
Mark up to 5 moving averages (you pick type + length + color). Watch how they stack, slope, braid, and fan out to judge trend direction, pullback timing, and breakout quality on any timeframe.
Read it in 5 seconds
Stack order:
Bullish: fast MAs on top of slow MAs.
Bearish: fast MAs below slow MAs.
Slope: up = trend has a tailwind; down = headwind.
Spacing: wide = strong trend; tight/braided = balance/chop.
If you remember only one rule: trade with the stack and slope, enter at levels.
High-probability plays (simple and repeatable)
Trend pullback (with level)
Stack is bullish, slopes up.
Price pulls back to the MA cluster (or AVWAP/VAL), holds, fast MAs curl back up.
Long. Stop: below structure/slowest MA. Target: POC/HVNs or next swing.
(Mirror for shorts in a bearish stack.)
Reclaim + recurl
After a down phase, price closes above fast MAs (MA1–MA2), they turn up, and you’re at a real level (AVWAP/VA edge).
Take the first higher-low with the stack starting to flip.
Squeeze → expansion
MAs braid tight = energy building.
Break at a level, then the lines fan out in your direction.
Enter on the first retest that holds.
Skip trades when the lines are braided mid-range and you’re not at a level.
Timeframe guide (what usually works)
1–5m (scalps): EMA heavy (e.g., 5/9/21/34/55). Expect more signals; filter with levels + CVD.
15m–1H (intraday): 9/21/34/50/200 (mix EMA for fast, SMA for slow).
2H–4H (swing): 10/20/50/100/200 or 8/21/34/55/89 (smoother read).
1D+ (position): 20/50/100/200 (bias) and enter on lower TF.
Tip: Don’t set all five to the same length—stagger them so the stack tells a story.
Settings that matter (and what they mean)
MA types (pick the feel you like):
EMA – fastest response (great for timing).
SMA – smoother backbone (great for bias).
WMA / LWMA – responsive but less twitchy than EMA.
VWMA – weights price by volume (good on assets with uneven volume).
SMMA – very smooth (reduces whips).
DEMA – extra fast (can be noisy).
HEMA – in this script behaves like a double-EMA style response (fast).
RVIMA – not implemented here (will plot nothing if chosen).
Length:
Shorter = earlier turns, more noise.
Longer = slower, cleaner bias.
Keep a sensible spread (e.g., 1:2:3… or Fib-style 9/21/34/55/89).
Colors:
Use consistent colors (e.g., warm = fast, cool = slow) so you can read the stack instantly.
Best combos with other [JopAlgo] tools
Volume Profile v3.2: take signals at VAH/VAL/LVNs; use POC/HVNs for targets.
Anchored VWAP: reclaims/rejections + MA recurl = clean timing.
CVDv1: execute with flow (Alignment OK, strong Imbalance, no Absorption against you).
Common mistakes this prevents
Shorting into a bullish stack (or buying into a bearish one).
Chasing far from the fast MAs; better to wait for a pullback.
Trading every wiggle in chop—braids tell you to do less.
Quick FAQs
Cluttered chart? Hide 1–2 lines (keep fast, middle, slow) or thin the linewidth.
Which one is “right”? None. Pick a set that fits your tempo and stick to it.
RVIMA option? Not implemented in this version—choose another type.
Starter presets (copy these, then adjust)
Intraday: MA1 EMA9, MA2 EMA21, MA3 SMA34, MA4 SMA50, MA5 SMA200
Swing: MA1 EMA10, MA2 SMA20, MA3 SMA50, MA4 SMA100, MA5 SMA200
Scalp: MA1 EMA5, MA2 EMA9, MA3 EMA21, MA4 EMA34, MA5 EMA55
Mini-disclaimer
Educational tool, not financial advice. Always anchor trades to levels, flow, and risk—this indicator keeps your bias and timing honest; the plan is still yours.
Skrypt open-source
W duchu TradingView twórca tego skryptu udostępnił go jako open-source, aby traderzy mogli analizować i weryfikować jego funkcjonalność. Brawo dla autora! Możesz korzystać z niego za darmo, ale pamiętaj, że ponowna publikacja kodu podlega naszym Zasadom Społeczności.
Wyłączenie odpowiedzialności
Informacje i publikacje przygotowane przez TradingView lub jego użytkowników, prezentowane na tej stronie, nie stanowią rekomendacji ani porad handlowych, inwestycyjnych i finansowych i nie powinny być w ten sposób traktowane ani wykorzystywane. Więcej informacji na ten temat znajdziesz w naszym Regulaminie.
Skrypt open-source
W duchu TradingView twórca tego skryptu udostępnił go jako open-source, aby traderzy mogli analizować i weryfikować jego funkcjonalność. Brawo dla autora! Możesz korzystać z niego za darmo, ale pamiętaj, że ponowna publikacja kodu podlega naszym Zasadom Społeczności.
Wyłączenie odpowiedzialności
Informacje i publikacje przygotowane przez TradingView lub jego użytkowników, prezentowane na tej stronie, nie stanowią rekomendacji ani porad handlowych, inwestycyjnych i finansowych i nie powinny być w ten sposób traktowane ani wykorzystywane. Więcej informacji na ten temat znajdziesz w naszym Regulaminie.