Skip to content

Free MT5 Expert Advisor

Pivot Point Bounce EA

MT5 Expert Advisor that trades rejection candles at the daily S1 and R1 floor pivots, targeting the central pivot with a stop beyond the wick.

Levelsv1.0MetaTrader 5 (MQL5) Compiles with 0 errors Non-repainting signals Stop-loss on every trade
Strategy
Buys a bullish rejection candle at the daily S1 pivot and sells a bearish rejection at R1, targeting the central pivot in both cases.
Risk model
1% of balance per trade (configurable), stop-loss beyond the rejection wick on every order, one position per symbol and magic number

What it does

Pivot Point Bounce EA uses the classic floor pivots calculated from the previous day. When price tests the first support (S1) or first resistance (R1) and leaves a clear rejection wick, the EA trades back toward the central pivot. The target is a real level, not an arbitrary multiple, and trades are skipped when that level is too close to justify the risk.

How it works

Each day the EA calculates, from the previous daily candle's high (H), low (L) and close (C):

  • Pivot P = (H + L + C) ÷ 3
  • R1 = 2 × P − L
  • S1 = 2 × P − H

On each new intraday bar it checks the last closed candle:

  1. Buy setup: the low reaches S1 (within 0.1 ATR), the candle closes above S1 but below P, and the lower wick is at least half the candle's range.
  2. The stop goes below the candle low minus 0.2 ATR. The target is P.
  3. If the distance from the ask to P is less than 1 R (the stop distance), the trade is skipped.
  4. Only the first qualifying candle at each level per day is considered.

Sells mirror these rules at R1. Example (illustrative): if yesterday's H = 1.0900, L = 1.0800 and C = 1.0850, then P = 1.0850, R1 = 1.0900 and S1 = 1.0800.

How to use it

The idea suits range-bound days on M15 to H1, often during quieter sessions. Pivots are widely watched, which is part of why they can matter, but on strong trend days price can run through S1 or R1 without pausing. The drawn levels help you check the EA's calculations against your chart.

Settings

InputDefaultWhat it changes
Touch tolerance (x ATR)0.1Closeness to the level
Minimum wick ratio0.5Strength of the rejection
Stop buffer (x ATR)0.2Room beyond the wick
Minimum reward (R)1.0Minimum distance to the pivot target
Max stop (x ATR)2.5Skips very large candles
Draw levelstrueShows P, S1, R1
Risk % / Fixed lots1.0 / 0Position sizing
Max spread / hours30 points / 7 to 20Entry filters
Break-even / Trailingon at 1 R / offTrade management

Limitations

Daily pivots depend on when your broker's day starts; a broker on a different server time produces different levels. The strategy trades against short-term moves, so trending days can cause losses. Because the target is fixed at P, the reward-to-risk varies trade by trade. Sunday candles on some brokers distort Monday's pivots.

Before you run it live

Compare the EA's levels with a pivot indicator on your broker's charts, then test on a demo account and in the Strategy Tester. Check spread at your trading hours. Read our lesson on support and resistance, and keep risk small. Trading carries a substantial risk of loss.

Key inputs

Key inputs of Pivot Point Bounce EA
InputDefaultDescription
Touch tolerance (x ATR)0.1How close to S1 or R1 the wick must reach.
Minimum wick ratio0.5Rejection wick as a share of the candle's range.
Stop buffer (x ATR)0.2Distance beyond the wick for the stop-loss.
Minimum reward (R)1.0Skips the trade if the pivot is closer than this many R.
Risk per trade (%)1.0Share of balance risked between entry and stop-loss.
Draw levelstrueShows today's P, S1 and R1 on the chart.

Educational tools, not advice. Automated trading can lose money quickly. Indicators and Expert Advisors describe price; they do not predict it, and past behaviour does not guarantee future results. Test everything on a demo account first and never risk money you cannot afford to lose. See our disclaimer.

Keep exploring

Related mt5 expert advisors