DINEXSPACEXAUUSD SpecialistEAs available to rentCustom EA: Strategy → Code → BacktestView rentable EA bots
// PRICE_ACTION.MQ5

What is price action?

Price ActionPrice action

Reads the structure of highs, lows and closed candles to spot a confirmed swing break.

What is Price Action?

Reads the structure of highs, lows and closed candles to spot a confirmed swing break.

Price Action — Price Action · swing 2/2 — SIMULATEDDINEXSPACE / Price actionPrice Action · swing 2/2XAUUSD · 1H / SIMULATEDRESSUP2,331.52,360.92,449.22,420.3▲ BUYCandle 72: BUY▼ SELLCandle 91: SELL▲ BUYCandle 104: BUYVOL*CANDLE 1CANDLE 29CANDLE 57CANDLE 85CANDLE 112MA · EMA 14 ━━━━ / VOL* · ILLUSTRATIVE CANDLE RANGEEMA 14Illustrative data — not real market data, not a trading signalPrice Action — Price Action · swing 2/2 — SIMULATEDPRICE ACTIONXAUUSD · 1H / SIMULATEDRESSUP2,331.52,360.92,449.22,420.3▲ BUYCandle 104: BUYVOL*Price Action — Price Action · swing 2/2 — SIMULATEDPRICE ACTIONXAUUSD · 1H / SIMULATEDRESSUP2,331.52,360.92,449.22,420.3▲ BUYCandle 104: BUYVOL*Price Action — Price Action · swing 2/2 — SIMULATEDPRICE ACTIONXAUUSD · 1H / SIMULATEDRESSUP2,331.52,360.92,449.22,420.3▲ BUYCandle 104: BUYVOL*EMA 14Illustrative data — not real market data, not a trading signal

Illustrative signals of the rule on simulated data — not a trading recommendation.

Rule: Break of a confirmed swing high/low (2 candles on each side): buy/sell. Entry = close of the signal candle; SL = entry ∓ 1.5 × ATR(14); TP1/TP2/TP3 = 1R/2R/3R.

Use this indicator to create a Custom EA brief →
// READING_SIGNALS

How to read Price Action signals

How Price Action produces its number, and what each shape on the chart means.

Formula and how it works

A swing high or low is confirmed when it is higher or lower than two candles on each side. A close beyond the latest swing is a structure-break signal; the rule only uses closed candles.

How to use it in an EA

State which swing is used, the timeframe and the candle-close condition in the EA brief.

// PARAMETERS

Recommended MT5 parameters for Price Action

Values used in the illustration; confirm them before deploying an EA.

ParameterDescription
SwingTwo candles on the left and two on the right to confirm a high/low.
// FAQ

Frequently asked questions about Price Action

Does Price Action on this page use real or simulated data?

The chart on this page uses a deterministic simulated candle series; it is not market prices or trading results.

Can Price Action be used in an EA?

You can describe the rule and parameters in a Custom EA brief. It needs independent testing with real data and server time.

How are the SL and TP levels on the Price Action chart calculated?

Entry is the close of the signal candle. SL is 1.5 times ATR(14) away from entry; TP1, TP2 and TP3 are 1R, 2R and 3R away from entry.

// SAME_GROUP

Other price action indicators

Indicators in the same price action group, often used instead of or alongside Price Action.

Turn Price Action into an automated EA

An indicator draws signals, but when to enter, where to stop out and how much to risk are still your set of rules. Send those rules and DinexSpace builds them into an EA.

Use this indicator to create a Custom EA brief