How to draw a Fibonacci retracement: deciding the starting point, the end point and the time frame

You have drawn the line, but it does not agree with someone else’s. Each time you redraw it, the levels move. By the end of this article you will be able, the next time you open a chart, to decide and write out — before looking at the price — which high (高値) and which low (安値) you will take as the target of measurement, whether to include the wicks (ヒゲ) or to use the closing prices (終値) only, and on which time frame you will make the choice.

What produces the differences is not the formula. There are only two formulas — for a rise, measure downwards from the high; for a fall, measure upwards from the low — and they leave no room for interpretation. Where two people looking at the same chart draw lines that diverge, it is because they chose the inputs, the high and the low, differently. What this article deals with, therefore, is not an explanation of the ratios but the fixing of the inputs.

One premise should be stated. What a Fibonacci retracement outputs is a candidate price, that is to say a point for observation. The levels do not determine the direction of the market, and they guarantee neither that the price will rebound there nor that it will reach there. All the figures that appear are synthetic values for the purpose of explanation, not an actual market. The final decision must be made by you, the reader.

From where to where is the line drawn? There are only two inputs

There are only two inputs

The inputs to a Fibonacci retracement are just two: the high H and the low L of the price movement taken as the target of measurement. The moment these two points are settled, every level displayed is determined. Put the other way round, if a line on the chart has moved, what changed was not the ratios but H or L, or both.

The range is defined as follows.

D = H − L

D is the size of the price movement measured, and is always a positive number. Every calculation that follows does no more than add this D multiplied by a ratio r to, or subtract it from, one or other of the end points.

Two directions, two formulas

Which end point is taken as the reference changes according to whether the price movement being measured is a rise or a fall.

Where the retracement of a price movement that has risen is being measured (an upward swing), the measurement runs downwards from the high.

Level = H − r × D

Where the retracement of a price movement that has fallen is being measured (a downward swing), the measurement runs upwards from the low.

Level = L + r × D

The two formulas use the same D and differ only in the point from which the measurement starts. When r = 0, the result is H on an upward swing and L on a downward swing. When r = 1 it is the other way round. That is all there is to the formulas, and there is no room here for interpretation or discretion. Discretion enters only at the stage before, in how H and L are chosen.

The ratios commonly displayed

Displayr in the formulaWhere it sits in relation to the price movement
23.6%0.236Close to the point reached; a shallow retracement
38.2%0.382A shallow to moderate retracement
50%0.500Exactly the midpoint of the range
61.8%0.618A deep retracement
78.6%0.786Close to the starting point; a very deep retracement

This classification is a rough guide for organising the depth of a retracement in words; it does not indicate at which levels the price is more likely to react. Note that 50% is set out alongside the others as a level marking the midpoint of the range, and does not belong to the series of powers of the golden ratio to which 23.6%, 38.2% and 61.8% belong. As to how the ratios are derived, where 50% and 78.6% sit, and the classification of tools other than the retracement, it is easier to organise matters if you first read the meaning of the Fibonacci ratios and the classification of the tools.

The rule for display digits and rounding

In this article the results of calculation are displayed to four decimal places, and no rounding is applied in intermediate calculations. If a rounded value is then used as the input to the next calculation, the error propagates as it stands.

One further point requires care: the treatment of differences. The result of subtracting one value rounded for display from another may fail to agree with the result of subtracting the values before rounding. Where you wish to compare the distances between levels, calculate from the values before rounding, and round only immediately before display. Later in this article an example in which they actually fail to agree is shown with figures.

What this calculation does not determine

What the formula outputs is a candidate price, and no more than that. The calculation says nothing about whether the price will reach that level. Nor does it say whether the price will rebound if it does reach it. Nor does it say whether the price will go up or down. It is therefore not of a nature that allows a decision to buy or sell to be made from this single line, and the levels need to be treated strictly as places at which to begin observation.

Draw it the other way round, and what swaps over?

Even with the same two points, the numbers swap over

Even where the same high and the same low are used, the label attached to the same price changes according to which end point is regarded as “the starting point of the price movement measured”. A level that was r on one view becomes 1 − r on the other. This is why 61.8% and 38.2%, and 78.6% and 21.4%, swap over.

This is not an error of calculation; it is simply that the price movement declared as the target of measurement is different. Where, however, only the figures are shared without the declaration being made explicit, the person receiving them will understand the depth of the retracement the other way round. When leaving a record of an analysis, therefore, write down as one set not only the figure for the level but three items: the direction of the swing taken as the target of measurement, H, and L. Where these three are present, a third party can reproduce the same figures.

The notation convention used in this article

This article standardises matters as follows.

Under this convention, 61.8% on an upward swing means the price that has fallen from the high by 61.8% of the range. Where the tool you use adopts the opposite convention, you can deal with it by subtracting the displayed figure from 100 and reading it accordingly. Because converting the reading every time is a cause of misreading, it is safer, where possible, to set the tool itself to match your own convention.

An example of a vendor’s display convention

The default levels and the method of control differ from platform to platform. One example is given here: the specification set out in the MetaTrader 5 help.

In MetaTrader 5, a retracement is drawn by drawing a trend line between two extreme points. By default, 9 levels are displayed: 0.0, 23.6, 38.2, 50, 61.8, 100, 161.8, 261.8 and 423.6. The object has three control points: the two at either end determine the length and the direction, and the one in the middle moves the object as a whole.

This is a statement about the implementation of one particular piece of software, MetaTrader 5, and does not guarantee the default values or the direction of drawing on other platforms. The default levels of the tool you use, the orientation of its labels and the digits at which it rounds need to be checked by you and written out in your rules.

Note that those default levels above 100 (161.8 and beyond) are not a retracement inside the price movement measured, but a region dealing with the outside of the range. What this article covers is confined to the interval from 0% to 100%. For the method of obtaining the outer levels from three points, please refer to the article dealing with the Fibonacci expansion.

How to treat interpretive statements in a vendor’s documents

The MetaTrader 5 help also includes an interpretive statement to the effect that prices often meet support or resistance at these levels. Care is needed in how statements of this kind are treated.

Facts about the specification of the tool — the drawing procedure, the list of default levels, the number of control points — can be treated as primary information about that vendor’s own implementation. A statement about how the price behaves at those levels, on the other hand, is a sentence in which the vendor explains what its own tool is for; it is not a verified result showing a property of the market. Even though both are written in the same document, the two kinds cannot be treated on the same footing. This article quotes only the former as fact, and does not use the latter as grounds for anything about the market.

Confirming with figures: the declaration changes the labels, and the starting point moves the levels

All of the following are synthetic values created for the purpose of explanation. They do not represent an actual currency pair or the market at any particular point in time, nor do they indicate any particular buying or selling. Display is to four decimal places, and no rounding has been applied in intermediate calculations. The inputs are the following set.

H = 1.3120
L = 1.2980
D = H − L = 0.0140

Measuring from the high

This is the case of measuring how far a price movement that rose to the high of 1.3120 has turned back.

Retracement rateCalculationLevel
23.6%1.3120 − 0.0140 × 0.2361.3087
38.2%1.3120 − 0.0140 × 0.3821.3067
50%1.3120 − 0.0140 × 0.5001.3050
61.8%1.3120 − 0.0140 × 0.6181.3033
78.6%1.3120 − 0.0140 × 0.7861.3010

Measuring from the low

This is the case of measuring how far a price movement that fell to the low of 1.2980 has turned back.

Retracement rateCalculationLevel
23.6%1.2980 + 0.0140 × 0.2361.3013
38.2%1.2980 + 0.0140 × 0.3821.3033
50%1.2980 + 0.0140 × 0.5001.3050
61.8%1.2980 + 0.0140 × 0.6181.3067
78.6%1.2980 + 0.0140 × 0.7861.3090

Setting the two tables against each other

The swapping of labels described above is confirmed with this one set. 1.3033 corresponds to 61.8% on the upward swing and to 38.2% on the downward swing. Likewise 1.3067 is 38.2% on the upward swing and 61.8% on the downward swing. Only 1.3050, which corresponds to 50%, is the same figure in either direction.

One price, two names. A statement that the price “retraced to 61.8%” therefore does not carry enough information. Only once the direction of the price movement measured is stated alongside it does that sentence become a reproducible record. This article sets out this one set in order to show that the figures are reproduced once the declaration is fixed. The meaning assigned to each level, and how each is read, are dealt with by the complete guide to Fibonacci retracement and extension.

Change the starting point and the levels move

Next, with the high held fixed, only the low is replaced with another candidate. In both cases the 61.8% level of the upward swing is calculated.

SwingHLDThe 61.8% level
The longer price movement1.31201.29800.01401.3033
The shorter price movement1.31201.30500.00701.3077

The difference between the two levels is checked in accordance with the rule for rounding set out above. The difference between the values before rounding is 0.004326. Subtracting one displayed value from the other, on the other hand, gives 0.0044. The two fail to agree because values rounded for display were used in the subtraction. For the purpose of comparing distances, the unrounded 0.004326 is used.

This difference did not arise because the ratio changed. The ratio is the same, 61.8%, in both cases; what changed was D alone — that is, the range declared as the target of measurement.

What this one set shows is simple. The output of a Fibonacci retracement is governed more strongly by the choice of the starting point and the end point than by the choice of ratio. That is precisely why this article devotes its space to fixing the inputs rather than to explaining the ratios.

What this example shows, and what it does not

What this example shows is three things: that the arithmetic is unique, that the labels change according to the declaration of direction, and that a difference in the starting point carries straight through into a difference in the levels.

An example in which the direction label changes for the same price, and in which the 61.8 per cent level moves when the anchors are changed
Record the ratio labels and the choice of anchors separately.View the image enlarged (original size 1672×941)

What it does not show should also be made clear. It shows nothing about whether the price will reach these levels. Nor does it show whether the price will rebound if it does reach them. Nor does it include any comparison of which level is more effective. These are matters that do not come out of the calculation, and they require separate verification.

A figure showing the 5 levels drawn from the two points of the high 1.3120 and the low 1.2980, and showing that the label on the same price swaps over unless the direction in which the measurement is taken has been declared.
The levels determined by two points, and the declaration of direction. All the prices are synthetic values for the purpose of explanation.

Measure with the wicks or with the closing prices? And how are the time frames to be aligned?

The properties of the two price series

The value of D changes according to whether the high and the low are taken from the wicks (the highest and the lowest price during the period) or from the closing prices alone. It is not that one or the other is correct; it is more accurate to understand that what is being measured is different.

Point of comparisonHigh and low including the wicksClosing prices only
The range measuredIncludes the widest range actually reached during the periodLimited to the period’s final values only
Treatment of a temporary sharp moveIncluded in the range DTends to fall outside D
Tendency in the size of DTends to be relatively largerTends to be relatively smaller
Differences by data providerWhere the extreme values do not agree between data providers, that difference is reflected directly in DThe degree to which it is reflected is relatively small
ReproducibilityReproducible if the definition is written outReproducible if the definition is written out

If you use the wicks, you do not miss the price band at which trades were actually executed. If you use the closing prices, you are less affected by momentary jumps in the price. Which you adopt is settled by what you wish to confirm in the observation that follows, and the only requirement is that you do not change it once decided.

Do not mix the series

Where a mixture arises — measuring the upward swing with the wicks and the downward swing with the closing prices — the two values of D come to be built on separate definitions. Comparing the levels obtained in that state does not amount to a meaningful comparison. In the same way, a combination in which H is taken from the wicks and L from the closing prices gives inputs whose definition differs on one side only.

Mixing is rarely done deliberately; it usually arises for the reason that “this way is easier to see this time”. So long as that judgement is made after looking at the price movement, it is not a choice but a fitting after the fact.

Changing the time frame does not change the arithmetic definition

This is the central point of this article. Changing the time frame does not change the formula itself in any way. An upward swing is always H − r × D, and a downward swing is always L + r × D.

What changes is only the inputs — the high and the low that are chosen. H and L chosen on the daily time frame (日足) produce a larger D than H and L chosen on the 5-minute time frame, but that is not because the formula differs; it is because the inputs differ. “Fibonacci on the daily time frame” and “Fibonacci on the 5-minute time frame” are therefore not two kinds of analytical technique, but two results obtained by putting different inputs into the same formula.

Once this distinction is drawn, the following follows naturally. The way of speaking under which the levels become more reliable if you move up to a higher time frame does not hold. What changes when you move up a time frame is the granularity of the inputs, not the nature of the output. The choice of time frame is not a question of precision, but a question of which price movement is declared as the target of measurement.

Methods for maintaining consistency, and identifying the lines

There are two methods for maintaining consistency. The first is to complete everything within a single time frame. Both the choice of swing and the observation that follows are carried out on the same time frame. The rules become simple, and mixing is less likely to arise. The second is to divide the roles among the time frames. For example, you might settle on an arrangement under which the choice of swing is made only on the higher time frame, the lower time frame is used only to observe the reaction, and the swing on the higher time frame is not redrawn on the strength of a move on the lower one. In this case, unless it is written explicitly into the rules which time frame carries which role, you will end up redrawing on whichever time frame happens to suit.

Under either method, where the levels of several swings or of several time frames are displayed at the same time, make it possible to identify which swing a level came from, by the colour and the thickness of the line and by its label. A line that cannot be identified cannot be used as grounds later. A state in which levels sit on the chart without it being known which inputs they arose from is not a state of having too many lines; it is a state in which the record has been lost.

How the width of the inputs changes when wicks and closing prices, and higher and lower time frames, are mixed
Unify on one of the wicks, the closing prices or the time frame before comparing.View the image enlarged (original size 1672×941)

May a wave still extending be redrawn?

The high or the low that forms the end point may be updated while the price movement is still in progress. If the end point is updated, D changes and every level moves at the same time. The levels displayed while the movement is still in progress are therefore provisional values.

Being provisional is not in itself a problem. What becomes a problem is failing to leave the distinction between provisional and final on the record. If the conditions for redrawing are included in the rules in advance, redrawing is an application of the rules and is not a fitting after the fact. Conversely, if you redraw without having settled the conditions, no one will be able to tell afterwards whether it was an application of the rules or a convenient change.

An example of separating a provisional high from a final high and deciding the conditions for updating in advance
The conditions for redrawing while the move is still extending are fixed in writing before observation.View the image enlarged (original size 1672×941)

So what is to be written out before looking at the price?

Write the rules out before looking at the price

The largest cause of reproducibility being lost with a Fibonacci retracement is not the calculation but the selection. Since several swings can be taken out of the same chart, unless the rules of selection are fixed first, the result can be altered after the event to any extent you like.

Before drawing, therefore, write the following items out in prose. The act of writing them out is itself the point; how well or badly they are framed is secondary.

Item to fixWhat to decide in advanceExample entry
The target time frameFrom which time frame’s highs and lows the swing is to be chosenThe 4-hour time frame
The price seriesHighs and lows including the wicks, or closing prices onlyHighs and lows including the wicks
The definition of a swingWhat is to count as one upward or downward movementA wave is taken to have ended at the point the price has moved a set interval in the opposite direction
The conditions for updating the end pointWhether to redraw when the end point is updatedRedraw only where it is updated on a closing price of the target time frame
The levels displayedHow many ratios to displayThe 5 lines 23.6, 38.2, 50, 61.8 and 78.6
Display digits and roundingTo how many digits to display, and whether to round in intermediate calculationsDisplay to four decimal places; no rounding in intermediate calculations
The method of recordingWhich cases to leave on recordEvery case recorded on the same basis, whether the price reacted or not

There are several options for how to define an extreme value

There is no single correct answer as to which high and which low are to be regarded as the two ends of one wave. In practice, definitions such as the following are used.

What matters is not which you choose, but writing out and fixing what you have chosen. If the definition has been put into prose, you can check your own analysis over afterwards. Where the definition exists only in your head, that check cannot be made.

Checking reproducibility

Whether the rules are sufficient can be checked with the following question. Could a third party handed the same rules and the same price data, or you yourself a month from now, choose the same H and the same L? If not, something in the rules is missing. The missing part usually lurks somewhere near expressions such as “an obvious high” or “a clean wave” — expressions whose criteria vanish the moment they are put into words.

Note that where Fibonacci levels are observed alongside levels of a different lineage, such as pivots, the target swing, the pivot method and the period boundary by date need to be registered together before the observation. This procedure is dealt with in the article on avoiding double counting.

Where do the common failures occur?

None of the items listed here is an error of calculation. They are failures on the input side, where the formula is correct and yet the result ceases to be reproducible.

The type where the inputs are moved afterwards

The first is moving the starting point to fit the place where the price reacted. If the price does not react at 38.2%, redraw to another high; if it does not react at 61.8% either, replace the low with another one. Continue this operation and it will look as though Fibonacci fits every price movement. What fits is not the market but the inputs chosen after the event. As the table in the previous section shows, replacing a single low is enough to move the levels. So long as the inputs can be chosen after the result has been seen, a line can be run through any price at all. There is one way to prevent this: fix the rules of selection before the observation, and do not carry out any redrawing that the rules do not specify.

The second is treating an extreme value that is still in progress as final. If a level at a stage where the end point may still be updated is recorded as a level that has become final, provisional values and final values cannot be told apart when the record is looked at later. In verification against past data this appears in a heavier form. If an extreme value that had not yet become final at that point in time is used as an input already treated as final, the result obtained cannot be reproduced in real time. The conditions under which an extreme value becomes final need to be written into the rules, and the same conditions need to be applied in verification as well.

The type where definitions are mixed

Mistaking the direction label occurs when the figures are read without confirming at which end point 0% and 100% sit. It is the mistake in which a level you took to be a shallow retracement was in fact a deep level that had turned back almost to the starting point. Once you have drawn the lines, first confirm the figures at the two ends and see whether they match your own convention.

Mixing the price series occurs when the wicks and the closing prices are used selectively from one situation to another. Even where each individual calculation is correct, the definition of D changes from case to case, so the records collected cannot be compared. This mixing does not come to the surface at the stage of aggregation; it remains as an error at the stage of the conclusion. Mixing time frames takes the same form. If the levels of a swing chosen on the higher time frame and those of a swing chosen on the lower time frame are treated as the same grounds without being distinguished, only the number of lines increases. Decide the role of each time frame in the rules, and attach to each line an identification that makes its origin clear.

The type concerning the design of the record

The more ratios you display, the more often the price will touch one line or another. An increase in contacts and an increase in the effectiveness of the analysis are separate things. The number of levels displayed is also to be included among the things decided and fixed before the observation.

If you collect only the cases in which the price rebounded, any level at all will look as though it works. A record acquires meaning only once the cases in which the price reacted and those in which it did not are both kept on the same basis. The surest course is to settle this design of the record at the same time as the rules of selection.

Where the D measured is small compared with transaction costs such as the spread, the interval between adjacent levels is buried in those costs. This is not an error of calculation but a question of the choice of what to measure. Including in the rules the minimum range above which something is to be taken as a target of measurement also makes the judgement more stable.

The correspondence between the failures and the items to be fixed in advance

FailureItem to fix in advance
Moving the starting point after seeing the resultThe definition of a swing and the conditions for redrawing
Mistaking the direction labelThe convention assigning 0% and 100%
Mixing wicks and closing pricesThe price series
Mixing time framesThe target time frame and the role of each time frame
Treating a provisional value as a final valueThe conditions under which an extreme value becomes final
Too many lines accumulatingThe number of levels displayed
Only the successful examples being keptThe method of recording and the scope of aggregation
The range being buried in costsThe minimum range to be taken as a target of measurement

As the list makes clear, the remedies all take the same form. Decide before looking at the price, and put what you have decided into prose — that is all.

Failures and remedies concerning the anchors, the direction, the price series, the time frame, provisional values, the number of lines, the record and costs
Before worrying about calculation errors, fix the rules for the inputs and for the record.View the image enlarged (original size 1672×941)

Projecting a range using levels above 100%, the mathematical origin of the ratios themselves and the classification of the tools as a whole, and the setting procedures on each platform are not dealt with in this article. This article keeps to a methodology that does not depend on any particular tool, and touches on a vendor’s implementation only as an example of a display convention. From here, please proceed to the following articles according to your purpose.

What to check before you use it

One final confirmation. The levels set out in this article are candidate points at which to begin observation; they neither determine the direction of the price nor guarantee a rebound or that a level will be reached. All the numerical examples are synthetic values for the purpose of explanation. This article is intended to provide general information, and does not recommend any particular product, currency pair or method of trading. Please make decisions about actual trading on your own responsibility, taking into account market conditions, transaction costs and the losses you are able to bear.

Information referred to

Always check the latest trading conditions, fees and campaigns on each company’s official site. The information on this page is as at the time it was written.