Home > Technical analysis > Fibonacci theory and figures > Fibonacci algorithm

# Algorithm of Fibonacci analysis

**Fibonacci analysis and algorithm**: Technical analysis is one of the most pivotal tools for forecasting the different twists and turns of the forex trading. Resistance and support levels in the bar charts of the forex trading are the most important components which have to be scrutinized through the technical analysis. These levels are very important to know regarding the entry and exit spots of the forex market. For this respective utility, the Forex traders are also using the "retracement" levels involving the **Fibonacci percentages**. 38.2% and 62.8% are the two most important retracement levels in the Fibonacci percentages.

### Retracement technique: the algorithmic sequence in Forex trading

Most of the times, the retracement track is planned by the forex traders with respect to the initial and peak price of the currencies. At the same time, there are other retracement percentages which are used for the technical analysis like 33%, 50% and 75%. For example, if the initial value of any price trend was zero and later it reached to its peak of 100 but eventually, it lowered to 50, its retracement would be 50%. The same concept is applicable in other calculations are well. In the same manner, if the market price is witnessing a downtrend, the "correction" can be applied in it.

### Fibonacci numbers and their application in forex market

The **Fibonacci numbers** were introduced by Leonardo da Pisa, a renowned mathematician of the 13th century. The Fibonacci sequence was invented by him, a series which later became to be applicable to various realms of arithmetic, economics, commerce and even forex trading. The Fibonacci sequence is as follows like 0, 1,2,3,5,8,13 and so on to infinity. The addition of the first two members given the third consecutive number and there on, the process continues. This sequence aids in the forecasting of the forex market, the oscillations in the exchange rates and the currency conversions. Moreover, since forex is all about history repeating itself time and again, the sequence aids in grasping the fundamentals of forex trading.

### The Golden ratio

Later, more calculations were made and it became evident that the sequence also follows a certain fixed ration. For example, when the particular number was in ratio with its just next higher number in the sequence, the value came out to be 0.618 while on the other hand, if the number was in ratio with the previous lower number, the ratio came out to be 1.618. Eventually, these two ratio values were known as the Golden mean or the Golden ratio. It was also later realized that the application of the Golden ratio and the Fibonacci numbers in the technical analysis was very beneficial as it also reflected the human behavior and human nature. This is because the Fibonacci numbers and the golden ratio are applicable to everything from architecture to human body, music, biology and art. Most of the forex traders who have been adopting this technique feel that the entire concept is applicable because trading is related to both science and art. They believe that after a lot of meticulous and close scrutiny of the forex market, it becomes clear that both the price movements and patterns of human behavior are interlinked and the Fibonacci technique have relations to both the patterns.

Risk and greed tolerance are applicable to the forex trade and guide the outputs of the trade. Most of the traders, whether long term or short term undergo the risking and greed tolerance levels. In this case, if an average it calculated, it becomes evident that what the current perspectives of the traders are. In the same manner, the Fibonacci sequence reveals through the cost of the pricing instruments that how many traders have reached or are reaching the tolerance levels.

With the application of the **Fibonacci techniques**, it also becomes easier to predict the various turning points which would crop up in the forex trading.