Online publications

 Go back to the forum

Forex Stock Exchange Forum   

Fibonacci Retracement Expert Advisor

Chris Moris | Published sun Jun 25, 2017 11:39 am

The Expert Advisor uses the strategy of trading the Fibonacci levels. As the basis for placing a grid, the EA uses the ZigZag indicator (included in the standard MetaTrader delivery).

First, the EA determines the trend direction. To do that, according to the Dow theory, it uses the last two Highs and last two Lows of the ZigZag.

The message corresponding to the trend evaluation: "Trend is Up", "TRend is Down" or"FLAT"- is displayed in the top left corner.

The Fibonacci grid is built ONLY along the trend. If the price draws a lower Low or High on an uptrend, the EA deletes the grid. Similarly, the EA deletes the grid, is the price draws a higher High or Low on a downtrend.

Once the grid is built, the EA waits for a corrective price movement to intersect one of the levels in the direction opposite to the trend. The bar must close outside the level (cross bar). If the price reverses in the future and one of the subsequent bars closes before the level again (trigger bar), the EA opens a trade in the direction opposite to the breakout, that is, in the trend direction.

The EA uses stop loss and take profit. The stop loss is placed at the user-defined distance after the Low (in case of buying) or High (in case of selling) of the trigger bar. Take profit is set by user as the Fibonacci extension level.

User can also adjust the following parameters:

About the author