• Información general
  • Comentarios (5)
  • Discusión (2)
  • Novedades

CodEx 4

Operation of the CodEx 4 Expert Advisor is based on patterns composed of consecutive candles. Positions are closed when opposite signals appear.

Sequences of candles are encoded into an integer according to the following rule. The code number must be converted to binary form and the highest bit must be discarded. The resulting sequence of bits encodes a continuous sequence of candles, where 1 is a bullish candle, 0 is a bearish candle. The higher bits encode the earlier candles. For example: 19[10]=10011[2], the obtained sequence of candles is [bear][bear][bull][bull].

In the input parameters, the patterns for buy signals are encoded. The EA obtains the patterns for sell signals by inverting the initial patterns.

Input parameters

  • Code Set — string parameter that contains numbers separated by comma — codes of candlestick patterns for buying, used in trading and in testing of the EA.
  • Code — numeric parameter, that contains the code of the candlestick pattern of the buy signal, used in optimization of the EA.
  • Stop Loss — loss fixing level in points.
  • Take Profit — profit fixing levels in points.
  • Lot — lot size.
  • Magic Number — "magic" number of the orders.

The screenshots demonstrate the backtesting results. The Expert Advisor was tested on EURUSD H1 in the "Every tick" mode from 04.01.2016 to 13.08.2017, with the values Code Set=34, Lot=0.1, spread=20.

Matthew Todorovski
Matthew Todorovski 2018.05.10 15:10 

El usuario no ha dejado ningún comentario para su valoración

Thomas Engel
Thomas Engel 2017.10.20 22:45 


Andrey Litvichenko
Andrey Litvichenko 2017.10.20 07:19 

El usuario no ha dejado ningún comentario para su valoración

bluelinx 2017.09.22 23:07 

Testing gives very good results.

Also very good with USDJPY,m15 with some changes in the variables.

For it to become perfect I think you should add a stoploss in the variables.

I'll keep an eye on it.

Evgenii Bazenko
Evgenii Bazenko 2017.09.20 13:14 

Зачем ваш советник вмешиваться в работу других советников вы нормальный???

Пахнет идиотизмом....

Устраните проблему...

Versión 1.2 2018.12.31
Input parameter Orders Type added. It allow to limit type of positions: only buy or only sell.
Versión 1.1 2017.11.01
Added input parameters Stop Loss and Take Profit in points.
Added input parameter Magic Number.