Indicators

Pascal Weighted Moving Average (PWMA) Indicator Explained

How the Pascal Weighted Moving Average uses Pascal's triangle for binomial smoothing, and how to automate PWMA in Setup.Cash.

By Setup.Cash TeamLast updated 2026-07-032 min read202 words

Featured image placeholder

/og/setup-cash-og.svg

The Pascal Weighted Moving Average (PWMA) takes its weights from a row of Pascal's triangle — the binomial coefficients. That gives a bell-shaped weighting that approximates Gaussian smoothing with exact integer weights: heavy in the middle, vanishing at the edges.

How It Works

  • A Pascal's-triangle row (1, 4, 6, 4, 1 …) defines the weight profile.
  • The bell shape filters high-frequency noise much like a Gaussian filter.
  • Longer lengths flatten the bell, producing progressively calmer lines.

How to Trade It

PWMA works anywhere you'd use a smooth reference line: slope-direction filters, pullback levels in trends, or the smoothing stage of custom oscillators. Its near-Gaussian response makes it a favorite building block inside the Indicators Lab.

Building It in Setup.Cash

Add Pascal Weighted Moving Average (PWMA) in the strategy builder — the length input controls its sensitivity — and use its value in any entry, exit, or filter condition. You can also combine it with other tools in the Indicators Lab or via the AI indicator generator. See ALMA for the offset-Gaussian evolution of the same idea. For the full category overview, see the advanced trend library guide.

Trend tools reward patience: pick one, pair it with a volatility or regime filter, and backtest before trading it live.

Not financial advice. Trading involves risk. Use backtesting and paper trading before risking real capital.

Related Posts

View all

Start here

Build your trading bot workflow with structure

Use Setup.Cash to create, backtest, and paper trade rule-based strategies without relying on guesswork. Not financial advice. Trading involves risk.