Intraday test plan

A testable Fibonacci day trading strategy

A Fibonacci day trading strategy uses retracement or extension levels inside a rule set for one market, session, and timeframe. The ratios do not create an edge by themselves. Entry confirmation, invalidation, costs, and sample testing determine whether the full rule is useful.

Direct answer

For a simple test, use SPY on a five-minute chart. Mark the first 30-minute opening range, identify a confirmed impulse, and wait for a pullback into the 50% to 61.8% zone. Enter only after a five-minute close confirms the direction. Place invalidation below 78.6% or the swing extreme, then compare exits at the prior high and 1.272 extension.

Freeze these inputs before testing

Instrument

SPY

Chart

Five-minute bars

Session

Regular US market hours

Entry zone

50% to 61.8% pullback

A compact intraday level set

Each level needs a defined job. More lines do not improve a strategy unless they change a written decision.

LevelRole in this testDecision
38.2%Shallow pullbackObserve, but do not enter
50.0%Entry zone boundaryRequire a confirming close
61.8%Entry zone boundaryReject the trade if no confirmation
78.6%Deeper invalidation referenceExit according to the fixed stop rule
127.2%Extension exit candidateCompare with the prior swing high

A six-step day trading test

  1. 1

    Fix the market and session

    Test SPY during regular US market hours. Do not mix overnight data, another instrument, or a different timeframe into the same sample.

  2. 2

    Mark the opening range

    Record the high and low of the first 30 minutes. Use the range as context, not as an automatic signal.

  3. 3

    Confirm the impulse

    Require a completed swing that breaks the opening range and later forms a confirmed pivot. Save the two anchor prices.

  4. 4

    Wait for the retracement

    Draw from the impulse low to high for a long setup. Watch the 50% to 61.8% zone without moving the anchors.

  5. 5

    Require bar-close confirmation

    For the example long rule, enter only after a five-minute candle trades in the zone and closes back above 50%.

  6. 6

    Apply exits and costs

    Use the predefined stop below 78.6% or the swing low. Test the prior high and 1.272 extension exits with commission and slippage included.

Keep the sample auditable

Record both anchor bar times and the later times at which they became confirmed. Do not replace them after inspecting the outcome.

Retain rejected candidates and their reasons separately from eligible trades; do not retroactively discard signals that failed.

Test one exit method at a time with unchanged commission, slippage and fill assumptions. Retain a separate holdout period.

Fibonacci is a measurement layer, not the source of the edge

A retracement line only measures where price is relative to a chosen swing. It does not explain why price should reverse there. The complete strategy needs a reproducible anchor rule, a directional condition, confirmation, invalidation, and position sizing.

The useful question is not whether 61.8% works. Ask whether the exact SPY rule performs differently from a control rule after realistic trading costs and across enough independent sessions.

Define invalidation before entry

The stop belongs to the setup logic, not to the amount a trader hopes to risk. In this example, a long setup is invalidated by the selected 78.6% or swing-low rule. Position size must then adapt to the distance between entry and stop.

For a hypothetical $20,000 account and a 0.5% planned risk budget, the budget is $100. A $2.50 entry-to-stop distance gives a risk-based ceiling of 40 shares before fees and slippage. This is not a cash-affordability limit: at a $606 entry, 40 shares cost $24,240. Without borrowing, $20,000 funds at most 33 whole shares before fees. Use the smaller applicable limit, and allow for losses beyond the planned stop during gaps.

  • Dollar risk = account value x risk percentage
  • Position size = dollar risk divided by entry-to-stop distance
  • Skip the setup if the required size or liquidity violates the test constraints

Use replay and paper trading before evaluating live execution

Start with TradingView Bar Replay or a strategy script that does not use future bars. Then use paper trading to check whether alerts, order timing, and session filters behave as written.

A backtest can still be misleading when anchors repaint, entries assume fills inside a bar, or costs are omitted. Review the trade list and chart markers, not only the summary metrics.

Specify the remaining rules before coding

The outline above is a research specification, not a completed backtest. One explicit long-only version can freeze the opening range at 10:00 America/New_York after the six five-minute bars beginning at 09:30. Reject a day with missing opening-range bars. Choose strict two-left/two-right pivots, excluding tied highs or lows, and retain each confirmation timestamp.

After the range freezes, select the first confirmed pivot high whose price exceeds the opening-range high and pair it with the latest earlier confirmed pivot low. Only use the pair after both confirmation times. Starting with the next bar, require its high-low range to overlap the 50%–61.8% zone and its close to exceed the 50% price. Freeze the anchors; expire the candidate after six eligible bars or before the session ends. These are proposed test choices, not proven settings.

Choose one stop and one exit before running each comparison. Define the tick buffer, cancel the setup if the stop is already breached, and reject an opening fill at or above the target or at or below the stop. Distinguish a bar-close signal from the next available simulated fill. Document session-closing handling and any early-close calendar before including those dates.

Illustrative SPY pullback calculation

Assume an intraday impulse moves from 604.00 to 608.00. These teaching prices are not current quotes.

Retracement price = high - (high - low) x ratio

Low = 604.00
High = 608.00
Range = 4.00
50% level = 608.00 - (4.00 x 0.50) = 606.00
61.8% level = 608.00 - (4.00 x 0.618) = 605.528
127.2% extension from the low = 604.00 + (4.00 x 1.272) = 609.088

Round calculations to the instrument tick size and apply the exact fill rule used by the test.

Turn the written rules into a TradingView test

Pineify can draft a Pine Script strategy from the written rules. Inspect the code and verify its order timing and costs in TradingView; generation alone does not test the strategy.

Create a Pine Script v6 strategy for SPY five-minute bars during regular US market hours. Record the first 30-minute opening range. After a confirmed bullish pivot breaks the opening-range high, draw retracement levels from the impulse low to high. Enter long only when price reaches the 50% to 61.8% zone and a bar closes back above 50%. Let the user choose a stop below 78.6% or the swing low and an exit at the prior high or 1.272 extension. Add commission, slippage, one-position-at-a-time logic, bar-close execution, date filters, and chart labels for every anchor and order. Use the stated strict two-left/two-right pivot rule and retain confirmation timestamps. Freeze the opening range at 10:00 America/New_York, select the first qualifying confirmed high with the latest earlier confirmed low, and only evaluate subsequent bars. Expire after six eligible bars or session end. Treat bar close as signal time and specify the actual simulated fill separately; do not backdate fills to pivot bars. Cap quantity by both the planned loss budget and available buying power. Expose tick buffer and calendar handling as explicit settings.
Calculate retracement levels

This page is an information tool, not investment advice. Day trading can produce rapid losses. Fibonacci levels do not predict reversals, targets, or returns.

Common questions