ForecastCity Help

2. Moving averages, WEMA-21 and SuperTrend

4 min read

Share & Earn

Recommend this article to your friends or followers on social media. Simply copy the link below and share it. When someone clicks your link and subscribes, you both receive a reward.

Preparing your link…

Referral program details
ForecastCity · Indicators & Candlestick Patterns guide

Checking trend slope across Daily and intraday charts keeps you trading with the main wave inside 4CastMachine AI zones. On 4CM-AI Charts, you can plot five moving-average formulas, ForecastCity's signature WEMA-21, smooth higher-timeframe curves on intraday candles, and SuperTrend flip levels. You can also ask AI Trading Assistant by voice or text to add WEMA 21 and SuperTrend in seconds.

XAUUSD 4h chart with a smooth Daily WEMA-21 curve, SuperTrend 10 3, and bearish 4CastMachine AI zones.
Daily WEMA-21 (1D) and SuperTrend (10, 3) confirming downward momentum below the 3830.42 Pivot on XAUUSD 4h.
  1. Daily WEMA-21 (1D) and SuperTrend legend: shows active inputs (EMA 21 hlcc4 1D and SuperTrend 10 3) in the top-left corner.

  2. Smooth Daily WEMA-21 curve and SuperTrend line: the blue Daily WEMA-21 curve caps bounces smoothly across 4h candles while SuperTrend stays red.

  3. 4CastMachine AI zones and green arrows: maps the bearish path below 3830.42 toward the 3512.72 to 3359.54 Profit zone.

Compare moving average formulas

Every moving average accepts a Length from 1 to 500 candles and eight price sources, from Close to weighted range averages.

  • Simple Moving Average (SMA, default 20): weights each candle equally, ideal for major benchmarks like SMA 50 and SMA 200.

  • Exponential Moving Average (EMA, default 20): gives extra weight to recent candles so slope turns appear faster.

  • Weighted Moving Average (WMA, default 20): uses linear weights that favor new candles and drop old spikes cleanly.

  • Hull Moving Average (HMA, default 9): uses square-root smoothing to cut lag during fast swings.

  • Volume-Weighted Moving Average (VWMA, default 20): weights each candle by exchange volume on Crypto and Stocks.

Why WEMA-21 matters across ForecastCity strategies

WEMA-21 is the core trend average built for the Trend Hunter Strategy and built into AI Strategy Studio. Instead of reading raw closes alone, WEMA-21 runs a 21-period EMA on weighted close (H + L + C + C)/4 (shown as hlcc4).

Counting each candle's close twice beside its high and low smooths out sudden wick spikes while tracking real closing commitment. On Daily (D) charts, strong trends ride along WEMA-21 for weeks, and price rarely crosses it without reacting. ForecastCity uses Daily WEMA-21 in three key trade-management rules:

  • Weak DTO Break-Even rule: in the Trend Hunter stop rules, if a Daily entry starts on weak momentum, touching Daily WEMA-21 cues Break-Even.

  • Strong DTO rule with ATR(264, D): when Daily WEMA-21 sits near entry on a strong DTO setup, wait until price clears WEMA-21 by one full Daily ATR(264) before moving your stop to Break-Even.

  • AI Strategy Studio management: in Strategy Studio management setups, you can trigger automatic Break-Even when a healthy candle breaks WEMA 21 on 1D.

Plot WEMA-21 and smooth higher-timeframe curves

You can display Daily WEMA-21 right on a 4h or 1h chart without blocky steps. Picking a higher Timeframe scales the lookback across that market's real trading candles per higher-timeframe candle. A 21-period 1 day curve on XAUUSD 4h covers 21 full trading days smoothly.

EMA Settings modal on XAUUSD 4h with Length 21, Source (H + L + C + C)/4, and Timeframe 1 day.
Set up Daily WEMA-21 on a 4h chart with Length 21, Source (H + L + C + C)/4, and Timeframe 1 day.
  1. Length set to 21: sets the 21-candle exponential lookback period.

  2. Weighted close Source (H + L + C + C)/4: blends high, low, and double-weighted close to filter erratic wicks.

  3. Higher Timeframe set to 1 day: draws the Daily WEMA-21 curve on intraday charts and adds 1D in the legend.

Voice shortcut: open AI Trading Assistant and say or type Add WEMA 21. It adds an EMA with Length 21 and Source (H + L + C + C)/4 right away, ready to save under Defaults.

Track volatility flips with SuperTrend

SuperTrend blends trend direction and Average True Range into one trailing support or resistance line. Open Inputs to adjust ATR Length (default 10) and Multiplier (default 3).

  • Bullish trend (green line below price): holds underneath pullbacks until a candle closes below the line.

  • Bearish trend (red line above price): caps rallies, like the red 3655.83 SuperTrend ceiling below 3830.42 on XAUUSD 4h.

  • SuperTrend flip alerts: in Alerts and Strategy Studio, trigger alerts on turns bullish or turns bearish inside a 4CastMachine AI zone.

Was this article helpful?

Last updated: 11/22/2026