Erdica MA Cross with Flags

Four moving averages, confirmed crosses, anchored VWAP and bull / bear flag pattern detection.

FreeAvailable on TradingView

What it shows

Erdica MA Cross with Flags plots up to four moving averages of the same type and marks the crosses between neighboring lines once the bar has closed. It adds an anchored VWAP and an optional detector of bull and bear flags based on a regression channel and a trend filter.

MA Cross with Flags by Erdica on a TQQQ 1-hour TradingView chart

Example only, not advice

Charts by TradingView

How to read it

  • Line order and slope describe the trend context; cross markers are timing references.
  • A triangle marks MA1 / MA2, a circle MA2 / MA3 and a diamond MA3 / MA4.
  • A dotted channel is a flag still forming; a solid channel with a label is a confirmed breakout.
  • Labels, colors, zones, levels and alerts describe a technical condition observed at bar close. They are not orders, recommendations or forecasts.

Main settings

  • Moving-average type (SMA, EMA, WMA, TEMA, HMA, ALMA, McGinley) and four lengths (9, 21, 50, 100 by default)
  • VWAP anchor (trading day, 09:30 ET, week)
  • Flag settings: pole height (× ATR), flag length, maximum retracement, trend filter
  • Instrument Profile and Timeframe Profile
  • Alert hours (New York time), 18 named alerts and one dynamic alert

Limits

  • Moving averages lag price by construction; a cross confirms a move that has already started.
  • Crosses are frequent in sideways markets.
  • The VWAP is hidden on daily, weekly and monthly charts.

At a glance

ID
0603
Family
Trend
Access
Free
Status
Available on TradingView
Pine Script
v6

How to get it

Open on TradingView

(TradingView, opens the external site)

← All indicators

Get notified when new indicators and updates are released.

We collect only your email address and the language of this page, to send you these emails after you confirm by email. Erdica Trading is a product of Erdica Solutions Inc., P.O. Box 2, Saint-Hyacinthe QC J2S 7B2, Canada · contact@erdicatrading.com. The list is managed by Brevo; your information is processed outside Québec (European Union and United States). You can access, correct or delete it. Privacy