Pivot point bounce strategy
On ES futures from January 2016 to July 2026, the pivot point bounce lost $57,262 after costs and made money in 4 of 11 years.
Mean reversionIntraday1-second barsBacktested Nov 6, 2026
Pivot point bounce backtest, the result
Contract
E-mini S&P 500
-
−$57.3K
Net after costs
After $54,249 in fees and slippage
-
4 of 11
Years that made money
January 2016 to July 2026
-
−$74.2K
Largest drawdown
Peak to trough, 1 contract
-
−$30
Average trade
1,900 trades
Net after costs by month, January 2016 to July 2026.
Pivot point bounce rules
Set the day's floor pivots from the prior day's high, low and close, then fade the first levels above and below.
A drawing of the rules on a made-up day, not a result.
- Floor pivots come from the prior day session's high H, low L and last close C: P = (H + L + C) / 3, R1 = 2P - L, S1 = 2P - H, R2 = P + (H - L), S2 = P - (H - L).
- In the day session, the first one-second close that falls to S1 buys and the first that rises to R1 sells short, once a day.
- The target is the pivot; the stop is S2 for a long and R2 for a short.
- Whatever is still open is closed at the exit minute: 15:45 New York on ES (day session 9:30-16:00), 14:30 on CL (day session 9:00-14:30).
- Decides on
- 1-second bars
- Holds
- Nothing overnight
- Parameters
- open minute 570, close minute 960, exit minute 945
Results by year
It made money in 4 of 11 years on ES. Its best year was 2025, +$10,631, and its worst 2022, −$19,243.
| Year | Net | Trades | Win rate | Drawdown | Buy and hold |
|---|---|---|---|---|---|
| 2016 | −$617 | 180 | 50% | −$6,902 | +$11,497 |
| 2017 | +$147 | 175 | 53% | −$4,485 | +$21,936 |
| 2018 | −$1,639 | 177 | 47% | −$12,386 | −$8,589 |
| 2019 | −$8,354 | 174 | 47% | −$10,681 | +$35,436 |
| 2020 | −$13,851 | 173 | 42% | −$18,786 | +$27,761 |
| 2021 | −$19,237 | 175 | 43% | −$23,640 | +$51,361 |
| 2022 | −$19,243 | 190 | 45% | −$28,729 | −$45,939 |
| 2023 | +$1,012 | 187 | 48% | −$14,157 | +$38,435 |
| 2024 | +$2,382 | 170 | 51% | −$10,087 | +$42,947 |
| 2025 | +$10,631 | 186 | 50% | −$18,965 | +$37,010 |
| 2026, Jan to Jul | −$8,492 | 113 | 52% | −$25,702 | +$24,355 |
Pivot point bounce backtest results
On ES it lost $3,013 before costs, then paid $54,249 in fees and slippage.
- Net = before costs − fees − slippage
- ES: −$3,013 − $6,749 − $47,500 = −$57,262
The interval holds zero: this test cannot tell the average trade from no edge.
Pivot point bounce code and Pine Script
The strategy as the backtest ran it, and the Pine Script our compiler wrote from it for TradingView.
1from atlantive import BUY, NEW_YORK, SELL, Bars, Session, Strategy2 3 4class PivotPointBounce(Strategy):5 """Floor-pivot bounce, New York day session, decided on one-second bars.6 7 The pivots come from the prior day session's high H, low L and last close C: P = (H + L + C) / 3,8 R1 = 2P - L, S1 = 2P - H, R2 = P + (H - L), S2 = P - (H - L). In the day session, the first9 one-second close that falls to S1 buys and the first that rises to R1 sells short, once a day.10 The target is the pivot and the stop is S2 (long) or R2 (short), both tested on every one-second11 close; whatever is still open at the exit minute is closed. The day session and the exit are the12 contract's: 9:30 to 16:00 with a 15:45 exit on the equity index, 9:00 to 14:30 with a 14:30 exit13 on crude oil.14 """15 16 data = "bars"17 18 class Params:19 open_minute: int = 57020 close_minute: int = 96021 exit_minute: int = 94522 clip: int = 123 24 class State:25 clock: Session(zone=NEW_YORK)26 bars: Bars(interval_ns=1_000_000_000)27 day_high: float28 day_low: float29 day_close: float30 session_day: int31 pivot: float32 r1: float33 s1: float34 r2: float35 s2: float36 pivot_day: int37 last_close: float38 traded_day: int39 40 def on_event(self, view, ev, orders):41 self.clock.update(ev)42 if not self.bars.update(ev):43 return44 minute = self.clock.prev_minute45 second = self.clock.prev_second46 day = self.clock.prev_day47 high = float(self.bars.prev_high)48 low = float(self.bars.prev_low)49 close = float(self.bars.prev_close)50 late = second + 1 >= self.p.exit_minute * 60 or day != self.traded_day51 if view.position > 0:52 if close >= self.pivot or close <= self.s2 or late:53 orders.ioc(side=SELL, qty=self.p.clip)54 elif view.position < 0:55 if close <= self.pivot or close >= self.r2 or late:56 orders.ioc(side=BUY, qty=self.p.clip)57 in_session = minute >= self.p.open_minute and minute < self.p.close_minute58 if in_session:59 if self.session_day != day:60 # A new day session: the one before it sets today's pivots.61 if self.session_day != 0:62 rng = self.day_high - self.day_low63 self.pivot = (self.day_high + self.day_low + self.day_close) / 3.064 self.r1 = 2.0 * self.pivot - self.day_low65 self.s1 = 2.0 * self.pivot - self.day_high66 self.r2 = self.pivot + rng67 self.s2 = self.pivot - rng68 self.pivot_day = day69 self.session_day = day70 self.day_high = high71 self.day_low = low72 else:73 self.day_high = max(self.day_high, high)74 self.day_low = min(self.day_low, low)75 self.day_close = close76 entry_open = second + 1 < self.p.exit_minute * 6077 if view.position == 0 and self.pivot_day == day and self.traded_day != day and entry_open:78 if self.last_close > self.s1 and close <= self.s1:79 orders.ioc(side=BUY, qty=self.p.clip)80 self.traded_day = day81 elif self.last_close < self.r1 and close >= self.r1:82 orders.ioc(side=SELL, qty=self.p.clip)83 self.traded_day = day84 self.last_close = close 1//@version=62// PivotPointBounce, exported from Atlantive.3// Chart simulation: decisions use completed bars; market orders fill at the next bar open.4// Native fills, fees, data gaps and session boundaries can differ. Re-test on the target symbol.5// Use standard time-based candles and the strategy's timeframe, not synthetic chart prices.6// Pine v6 trims old trade records at its order limit; the strategy keeps calculating.7// Margin is explicitly disabled to retain the native signal simulation's sizing.8strategy("PivotPointBounce", overlay=true, initial_capital=100000.0, commission_type=strategy.commission.cash_per_contract, commission_value=1.68, default_qty_type=strategy.fixed, default_qty_value=1, calc_on_every_tick=false, process_orders_on_close=false, slippage=0, margin_long=0, margin_short=0)9 10if timeframe.in_seconds() != 111 runtime.error("PivotPointBounce was exported for the 1 second timeframe; set the chart to 1S.")12 13open_minute = input.int(570, "open_minute", minval=-9007199254740991, maxval=9007199254740991)14close_minute = input.int(960, "close_minute", minval=-9007199254740991, maxval=9007199254740991)15exit_minute = input.int(945, "exit_minute", minval=-9007199254740991, maxval=9007199254740991)16clip = input.int(1, "clip", minval=-9007199254740991, maxval=9007199254740991)17 18_q_safe_int(x) =>19 if math.abs(x) > 900719925474099120 runtime.error("an integer left the exact chart range; this run cannot be compared faithfully")21 int(x)22_q_int(x) => _q_safe_int(x < 0 ? math.ceil(x) : math.floor(x))23_q_iadd(a, b) => _q_safe_int(a + b)24_q_imul(a, b) =>25 if a != 0 and math.abs(b) > 9007199254740991 / math.abs(a)26 runtime.error("an integer multiplication left the exact chart range; this run cannot be compared faithfully")27 _q_safe_int(a * b)28 29_q_high = _q_int(math.round(high * 1000000000.0))30_q_low = _q_int(math.round(low * 1000000000.0))31_q_close = _q_int(math.round(close * 1000000000.0))32 33var float day_high = 0.034var float day_low = 0.035var float day_close = 0.036var int session_day = 037var float pivot = 0.038var float r1 = 0.039var float s1 = 0.040var float r2 = 0.041var float s2 = 0.042var int pivot_day = 043var float last_close = 0.044var int traded_day = 045// clock: completed chart bar's opening timestamp (America/New_York).46_q_clock_prev_minute = hour(time, "America/New_York") * 60 + minute(time, "America/New_York")47_q_clock_prev_second = _q_clock_prev_minute * 60 + second(time, "America/New_York")48_q_clock_prev_weekday = (dayofweek(time, "America/New_York") + 5) % 749_q_clock_prev_day = int(timestamp("UTC", year(time, "America/New_York"), month(time, "America/New_York"), dayofmonth(time, "America/New_York"), 0, 0) / 86400000)50// Current clock: this chart bar's scheduled close, known without a future bar.51// A native next event after a data gap can carry a later time.52_q_clock_minute = hour(time_close, "America/New_York") * 60 + minute(time_close, "America/New_York")53_q_clock_second = _q_clock_minute * 60 + second(time_close, "America/New_York")54_q_clock_weekday = (dayofweek(time_close, "America/New_York") + 5) % 755_q_clock_day = int(timestamp("UTC", year(time_close, "America/New_York"), month(time_close, "America/New_York"), dayofmonth(time_close, "America/New_York"), 0, 0) / 86400000)56_q_clock_seen = 157int minute_l = na58int second_l = na59int day = na60float high_l = na61float low_l = na62float close_l = na63bool late = false64bool in_session = false65float rng = na66bool entry_open = false67 68minute_l := _q_int(_q_clock_prev_minute)69second_l := _q_int(_q_clock_prev_second)70day := _q_int(_q_clock_prev_day)71high_l := _q_high * 1.072low_l := _q_low * 1.073close_l := _q_close * 1.074late := _q_iadd(second_l, 1) >= _q_imul(exit_minute, 60) or day != traded_day75if _q_int(strategy.position_size) > 076 if close_l >= pivot or close_l <= s2 or late77 _q_qty1 = _q_int(clip)78 if _q_qty1 <= 079 runtime.error("market order quantity must be a positive whole unit")80 _q_pos1 = _q_int(strategy.position_size)81 if _q_pos1 < 0 or _q_pos1 > 0 and _q_qty1 < _q_pos182 runtime.error("this order would add to or partially reduce a position, so its trade ledger would not be faithful")83 strategy.order("q1", strategy.short, _q_qty1)84else if _q_int(strategy.position_size) < 085 if close_l <= pivot or close_l >= r2 or late86 _q_qty2 = _q_int(clip)87 if _q_qty2 <= 088 runtime.error("market order quantity must be a positive whole unit")89 _q_pos2 = _q_int(strategy.position_size)90 if _q_pos2 > 0 or _q_pos2 < 0 and _q_qty2 < -_q_pos291 runtime.error("this order would add to or partially reduce a position, so its trade ledger would not be faithful")92 strategy.order("q2", strategy.long, _q_qty2)93in_session := minute_l >= open_minute and minute_l < close_minute94if in_session95 if session_day != day96 if session_day != 097 rng := day_high - day_low98 pivot := (day_high + day_low + day_close * 1.0) / 3.099 r1 := 2.0 * pivot - day_low100 s1 := 2.0 * pivot - day_high101 r2 := pivot + rng102 s2 := pivot - rng103 pivot_day := _q_int(day)104 session_day := _q_int(day)105 day_high := high_l106 day_low := low_l107 else108 day_high := math.max(day_high, high_l)109 day_low := math.min(day_low, low_l)110 day_close := close_l111 entry_open := _q_iadd(second_l, 1) < _q_imul(exit_minute, 60)112 if _q_int(strategy.position_size) == 0 and pivot_day == day and traded_day != day and entry_open113 if last_close > s1 and close_l <= s1114 _q_qty3 = _q_int(clip)115 if _q_qty3 <= 0116 runtime.error("market order quantity must be a positive whole unit")117 _q_pos3 = _q_int(strategy.position_size)118 if _q_pos3 > 0 or _q_pos3 < 0 and _q_qty3 < -_q_pos3119 runtime.error("this order would add to or partially reduce a position, so its trade ledger would not be faithful")120 strategy.order("q3", strategy.long, _q_qty3)121 traded_day := _q_int(day)122 else if last_close < r1 and close_l >= r1123 _q_qty4 = _q_int(clip)124 if _q_qty4 <= 0125 runtime.error("market order quantity must be a positive whole unit")126 _q_pos4 = _q_int(strategy.position_size)127 if _q_pos4 < 0 or _q_pos4 > 0 and _q_qty4 < _q_pos4128 runtime.error("this order would add to or partially reduce a position, so its trade ledger would not be faithful")129 strategy.order("q4", strategy.short, _q_qty4)130 traded_day := _q_int(day)131last_close := close_l How it was tested
The published rules, never tuned on the data, with real costs on every fill. Every strategy here is tested the same way.
- Market data
- CME Globex 1-second bars, Jan 2, 2016 to Jul 31, 2026
- Rules
- As published, with the published parameters, never tuned on this data
- Size
- 1 contract on every trade
- Contract
- The most traded one, rolled as the market moved
- Fees
- The broker's $0.50 a side, plus CME's and the NFA's fees when the window opens
- Slippage
- 1 tick a side on ES, 2 in NQ's regular session and 3 outside it, 1 on other markets, where it was not measured
- Stops and entries
- Tested on 1-second closes and filled at the next bar
- Contracts traded
- ES: 43 contracts, ESH6 to ESU6CL: 128 contracts, CLG6 to CLU6
- Costs paid
- ES: $6,749 in fees, $47,500 in slippageCL: $7,275 in fees, $36,140 in slippage
- Warm-up
- None: each contract reads only its own bars
- Flagged days
- ES: NoneCL: None Days the data holds too few bars for. Flagged, not removed.
Could you pass
a prop firm challenge
with the pivot point bounce?
A backtest says whether a strategy makes money. Our AI runs its trades through the rules of every prop firm account, then tells you which one it would pass and at what size.
No card needed. Free credits every month.
- Most money: Blue Guardian Futures Direct 50K, $5,084
- Best payout odds: Funded Futures Family Straight to Funded 50K, 98%
- Fastest pass: Phidias Express to Live 50K, 11 days
$5,084
Median net across 2,000 simulated runs
- Evaluation
- None
- First payout
- 97%
- Fees paid
- $1,521
Median net across 2,000 simulated runs
Questions about the pivot point bounce
What is the pivot point bounce?
Set the day's floor pivots from the prior day's high, low and close, then fade the first levels above and below. Atlantive backtested it on CME futures from January 2016 to July 2026 after costs.
Is the pivot point bounce profitable on ES futures?
Not in this backtest: on ES futures from January 2016 to July 2026 it lost $57,262 after costs, over 1,900 trades, positive in 4 of 11 years; on CL it lost $59,275. Buying and holding one ES contract over the same window made $236,212. The average trade was −$30, its 95% interval −$75 to $16. These are hypothetical results of a backtest, not of trading.
What are the pivot point bounce's rules?
Floor pivots come from the prior day session's high H, low L and last close C: P = (H + L + C) / 3, R1 = 2P - L, S1 = 2P - H, R2 = P + (H - L), S2 = P - (H - L). In the day session, the first one-second close that falls to S1 buys and the first that rises to R1 sells short, once a day. The target is the pivot; the stop is S2 for a long and R2 for a short. Whatever is still open is closed at the exit minute: 15:45 New York on ES (day session 9:30-16:00), 14:30 on CL (day session 9:00-14:30). Its parameters are the published ones, never tuned on the data it was tested on.
How was the pivot point bounce backtested?
On CME Globex data from January 2016 to July 2026, one contract, on 1-second bars, rolled to the most traded contract as the market moved, with the broker's and CME's fees and the slippage measured on each market. Stops and entries were tested on 1-second closes and filled at the next bar. Nothing was fitted to the data.
Can I run the pivot point bounce in TradingView?
Yes. The page carries its Pine Script, written by Atlantive's compiler from the same code the backtest ran, for TradingView's strategy tester. A chart's fills and fees can differ from the backtest's, so test it again on the symbol you trade.
Can I change the pivot point bounce and test it again?
Yes. Rerun it in Atlantive: a new chat opens with the strategy's rules in the box, for you to read, change and send. The agent writes the code, backtests it on the market and window you name, and reports the result with its costs.