Fibonacci Optimization Requires Reproducible Swing Anchors

Specify Fibonacci swing anchors, confirmation timing and actual entry, stop and target prices before optimizing a TradingView strategy.

View Chrome Extension

Building a Strategy with Fibonacci Retracement

A retracement level is a fraction of a defined price move. Its meaning depends on the two anchors, orientation and price scale. A line labeled 0.618 does not specify an executable entry or a demonstrated probability of reversal. The commonly included 50% level is a midpoint convention, not a Fibonacci ratio.

Specify how the strategy selects an ordered swing low and subsequent swing high, or the reverse for a decline. A rolling maximum and minimum can occur in the wrong chronological order for the intended swing. If pivot confirmation requires future bars, the pivot becomes available only after those bars close. A level drawn backward on the historical pivot must not be treated as information available at that earlier time. Also decide whether anchors freeze when an order is placed or can change while it waits.

For a concrete linear-price convention, let a confirmed upward swing run from L to H, with distance D = H − L. Define a long entry as H − rD, a stop as H − sD with s greater than r, and an extension target as L + tD with t greater than 1. These definitions use different origins for retracement and extension; they are stated explicitly so the price levels can be checked. Other drawing orientations or log-scale levels require their own formulas. Reject zero-length swings and combinations that put the stop or target on the wrong side of entry.

Optimizable Parameters

Fibonacci Retracement strategy inputs and illustrative test values
ParameterDescriptionExample Test Values
Entry retracement rFraction retraced downward from the confirmed swing high0.382 / 0.5 / 0.618: 3 choices
Stop retracement sMust exceed r for the long example, so the stop is below entry0.786 / 1.0: 2 choices
Target extension tMultiple of swing distance measured upward from L1.272 / 1.618: 2 choices
Swing search windowCandidate anchor window; confirmation and ordering rules stay fixed20–60 bars, step 10: 5 choices

Optimization Example and Test Design

Hypothetical grid: 3 entry choices × 2 stop choices × 2 targets × 5 windows = 60 candidate configurations. No runtime or historical performance result is claimed. For L = 100 and H = 120, r = 0.618 gives an entry of 107.64; s = 0.786 gives a stop of 104.28; t = 1.618 gives a target of 132.36. The planned reward is 24.72 and the planned risk is 3.36 per unit, a reward-to-risk ratio of about 7.36 before costs and fill differences. It is not automatically 2:1 merely because those three labels were selected. First verify anchor timestamps and actual order prices, then compare candidate results on training data and retain a separate, untouched validation interval.

Frequently Asked Questions

Related Strategy Optimizations

Start Optimizing Your Fibonacci Retracement Strategy

Install the extension, sign in and check your plan access. Automated parameter optimization requires an Advanced plan or above.

View Chrome Extension