• Overview
  • Reviews (2)
  • Comments (32)
  • What's new

Harmonic Patterns

The EA is developed for Harmonic Patterns trading. It does not use any indicators or high risk strategies like Martingale of order grid in trading. Every deal has stop loss and take profit. Open positions are attended by breakeven and trailing stop function. There is an additional function which checks stop loss level. If an order does not have stop loss or breakeven for some reason, the EA automatically places these levels with a new tick depending on input parameters.

I intentionally did not prescribed rigorous conditions for Pattern determining, so you can flexibly adjust it for a certain way of determining Harmonic Patterns. When the ShowPatterns function is enabled, the EA draws discovered Harmonic Patterns on the chart. All settings for determining Patterns recognition and selection criteria are included into inputs and allow a trader to easily manipulate them.

The EA can be set for recognition following patterns:

  • Gartley Butterfly
  • Gartley Butterfly. Irregular ratios
  • Pesavento Butterfly. (Perfect butterfly model)
  • Harmonic Patterns as "nests"
  • Harmonic Patterns. Bat
  • Harmonic Patterns. Crab
  • Harmonic Patterns. Deep crab


  • TypeOrderExecution — order execution type. Market Execution or Instant Execution;
  • AutoDigits — automated recalculation of parameters for 3-5 digit quotes;
  • BalanceRisk — calculation of trading lot from the balance/free margin;
  • Lots — fixed trading lot if BalanceRisk = 0;
  • TakeProfit — take profit in points;
  • StopLoss — stop loss in points;
  • Magic — trade magic number;
  • MaxSpread — maximum allowed spread for opening orders;
  • BuyColor — buy order color;
  • SellColor — sell order color;
  • MaxAttempts — number of attempts to open orders in case of slippage;
  • DelaySeconds — pause between attempts in seconds;
  • Slippage — maximum price slippage;
  • ZigZag — number of ZigZag extrema for plotting Patterns;
  • Backstep — minimum number of candles between connected points (ZigZag);
  • Deviation — minimum distance between local extrema in percentage % (ZigZag);
  • Depth — shortest distance (in candles) a new maximum or minimum will be drawn at;
  • X1 — deviation above the extermum in percentage;
  • X2 — deviation below the extermum in percentage;
  • XB — Fibo level from the point X to the point B;
  • XD — Fibo level from the point X to the point D;
  • AC — Fibo level from the point A to the point C;
  • BD — Fibo level from the point B to the point D;
  • ShowPatterns — show/hide Harmonic Patterns;
  • *BorderClr — Pattern border color;
  • *BodyClr — Pattern body color;
  • *FiboClr — Pattern Fibo level color;
  • *TextClr — extremum point color;
  • Breakeven — enable/disable breakeven function;
  • StartBreakeven_1,2 – number of points profitably passed by the price to move positions to breakeven;
  • StepBreakeven_1,2 – distance in points to place breakeven level;
  • Trailing — enable/disable trailing stop;
  • TrailingStart — minimum number of points passed from the order open price for the trailing;
  • TrailingStop — number of points to start trailing stop;
  • TrailingStep — trailing stop step;
  • ShowInfo — display/hide information on the trading;
  • TextColor — displayed data color.
Nicola Furini
Nicola Furini 2019.05.12 18:23 

User didn't leave any comment to the rating

Aleksandr Teperev
Aleksandr Teperev 2015.04.21 11:46 

Отличный советник. Давно такой искал. Тестирование на двух брокерах прошел успешно с авторскими параметрами. Уже поставил на реал. Рекомендую всем кто предпочитает стабильный доход без рискованных методов торговли (типа мартингейл).Автору респект и уважуха за качественный продукт и поддержку в торговле.

Version 1.1 2015.04.20
Fixed bug with checking the magic number