OPEN-SOURCE SCRIPT
Multi MA Cross [JopAlgo]

Multi MA Cross [JopAlgo] — simple, flexible trend + timing
What it does:
Plots two moving averages (you pick the types and lengths) and marks their crossovers. Use it to read trend direction and time pullbacks/breakouts. Works on any timeframe.
What you’ll see
Short MA (orange)
Long MA (lime)
Cross mark (aqua ✚) when they cross
Green/lime above orange = bullish bias (short MA above long).
Orange above lime = bearish bias.
How to use it (simple playbook)
Trade with the bias
Longs only when short MA > long MA.
Shorts only when short MA < long MA.
Enter at a real level
Use Volume Profile v3.2 [JopAlgo] (VAH/VAL/POC/LVNs) or Anchored VWAP [JopAlgo].
Crosses at or just after a level hold are higher quality.
Quality check (optional, strong)
CVDv1 [JopAlgo]: take trades when Alignment = OK, Imbalance strong, Absorption ≠ red.
Manage risk
Stop goes beyond the level/structure, not on an MA wiggle.
Trim into POC/HVNs or next structure.
Good entries you’ll recognize
Pullback-to-long MA (trend):
Bias up, price pulls to long MA (or AVWAP/VAL), short MA curls back up → enter long.
Reclaim + cross:
Price reclaims AVWAP/VA edge, then short MA crosses over long → confirmation to join.
Squeeze → break:
MAs converge (tight), then expand after a level break. Enter on retest that holds.
Skip crosses in the middle of nowhere. Cross + location + flow beats cross alone.
Timeframe guidance
1–5m (scalps): EMA/EMA or EMA/WMA. Expect more crosses. Use VP/AVWAP and CVD filters.
15m–1H (intraday): EMA(9) vs SMA(21) is a solid default.
2H–4H (swing): SMA(20–34) vs SMA(50) or EMA(21) vs EMA(55).
1D+ (position): SMA(50) vs SMA(200) for broad bias; entries on lower TF.
Settings that matter (and what they mean)
Short/Long MA Type:
EMA = fast, good for timing.
SMA = smooth, good for bias.
WMA/LWMA = in-between (responsive).
VWMA = weights by volume.
SMMA = very smooth (reduces whips).
HEMA/DEMA = extra responsive.
VWAP = daily session VWAP (anchor), ignores length in practice.
Short/Long Length:
Short = timing sensitivity.
Long = trend backbone.
Keep a ratio ~ 1:2 to 1:3 (e.g., 9/21, 10/30, 20/50).
Note on VWAP option: The script fetches a daily VWAP anchor. It acts like a fair-value line, not a rolling MA. Your Length won’t affect VWAP.
Filters that boost win rate
Slope check: Only take longs when both MAs slope up; shorts when both slope down.
Distance check: Don’t chase if price is far from the short MA; wait for a pullback.
HTF agreement: On 15m, glance at 1H/4H bias; on 4H, glance at 1D. Trade with the higher-TF wind.
Combos that work
Volume Profile v3.2: Use VAH/VAL/POC/LVNs for entries/targets. Cross at those references is meaningful.
Anchored VWAP: Reclaims/rejections first, MA cross second = cleaner timing.
CVDv1: Only act when flow agrees (ALIGN OK, no Absorption against you).
Common mistakes this avoids
Shorting into an up-bias (or vice versa).
Chasing a cross far from value (wait for the pullback).
Trading every cross in chop (use levels + CVD to filter).
Defaults to start with
Short MA: EMA 9
Long MA: SMA 21
Timeframes: 15m–4H
Process: Bias → Level → Cross/Retest → CVD check → Execute
Quick disclaimer
Educational tool, not financial advice. Test first, size sensibly, and always anchor your trades to levels, flow, and risk.
What it does:
Plots two moving averages (you pick the types and lengths) and marks their crossovers. Use it to read trend direction and time pullbacks/breakouts. Works on any timeframe.
What you’ll see
Short MA (orange)
Long MA (lime)
Cross mark (aqua ✚) when they cross
Green/lime above orange = bullish bias (short MA above long).
Orange above lime = bearish bias.
How to use it (simple playbook)
Trade with the bias
Longs only when short MA > long MA.
Shorts only when short MA < long MA.
Enter at a real level
Use Volume Profile v3.2 [JopAlgo] (VAH/VAL/POC/LVNs) or Anchored VWAP [JopAlgo].
Crosses at or just after a level hold are higher quality.
Quality check (optional, strong)
CVDv1 [JopAlgo]: take trades when Alignment = OK, Imbalance strong, Absorption ≠ red.
Manage risk
Stop goes beyond the level/structure, not on an MA wiggle.
Trim into POC/HVNs or next structure.
Good entries you’ll recognize
Pullback-to-long MA (trend):
Bias up, price pulls to long MA (or AVWAP/VAL), short MA curls back up → enter long.
Reclaim + cross:
Price reclaims AVWAP/VA edge, then short MA crosses over long → confirmation to join.
Squeeze → break:
MAs converge (tight), then expand after a level break. Enter on retest that holds.
Skip crosses in the middle of nowhere. Cross + location + flow beats cross alone.
Timeframe guidance
1–5m (scalps): EMA/EMA or EMA/WMA. Expect more crosses. Use VP/AVWAP and CVD filters.
15m–1H (intraday): EMA(9) vs SMA(21) is a solid default.
2H–4H (swing): SMA(20–34) vs SMA(50) or EMA(21) vs EMA(55).
1D+ (position): SMA(50) vs SMA(200) for broad bias; entries on lower TF.
Settings that matter (and what they mean)
Short/Long MA Type:
EMA = fast, good for timing.
SMA = smooth, good for bias.
WMA/LWMA = in-between (responsive).
VWMA = weights by volume.
SMMA = very smooth (reduces whips).
HEMA/DEMA = extra responsive.
VWAP = daily session VWAP (anchor), ignores length in practice.
Short/Long Length:
Short = timing sensitivity.
Long = trend backbone.
Keep a ratio ~ 1:2 to 1:3 (e.g., 9/21, 10/30, 20/50).
Note on VWAP option: The script fetches a daily VWAP anchor. It acts like a fair-value line, not a rolling MA. Your Length won’t affect VWAP.
Filters that boost win rate
Slope check: Only take longs when both MAs slope up; shorts when both slope down.
Distance check: Don’t chase if price is far from the short MA; wait for a pullback.
HTF agreement: On 15m, glance at 1H/4H bias; on 4H, glance at 1D. Trade with the higher-TF wind.
Combos that work
Volume Profile v3.2: Use VAH/VAL/POC/LVNs for entries/targets. Cross at those references is meaningful.
Anchored VWAP: Reclaims/rejections first, MA cross second = cleaner timing.
CVDv1: Only act when flow agrees (ALIGN OK, no Absorption against you).
Common mistakes this avoids
Shorting into an up-bias (or vice versa).
Chasing a cross far from value (wait for the pullback).
Trading every cross in chop (use levels + CVD to filter).
Defaults to start with
Short MA: EMA 9
Long MA: SMA 21
Timeframes: 15m–4H
Process: Bias → Level → Cross/Retest → CVD check → Execute
Quick disclaimer
Educational tool, not financial advice. Test first, size sensibly, and always anchor your trades to levels, flow, and risk.
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้มันเป็นโอเพ่นซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันการทำงานของสคริปต์ได้ ขอแสดงความชื่นชมผู้เขียน! แม้ว่าคุณจะสามารถใช้งานได้ฟรี แต่อย่าลืมว่าการเผยแพร่โค้ดซ้ำนั้นจะต้องเป็นไปตามกฎระเบียบการใช้งานของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมที่ ข้อกำหนดการใช้งาน
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้มันเป็นโอเพ่นซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันการทำงานของสคริปต์ได้ ขอแสดงความชื่นชมผู้เขียน! แม้ว่าคุณจะสามารถใช้งานได้ฟรี แต่อย่าลืมว่าการเผยแพร่โค้ดซ้ำนั้นจะต้องเป็นไปตามกฎระเบียบการใช้งานของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมที่ ข้อกำหนดการใช้งาน