Login / Register
Add a review
Log in
Sign UP
[bws_google_captcha]

The work of the CodEx expert is based on templates made up of a sequence of candlesticks. The position is closed when the opposite signal appears.

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

The input parameters encode the candlestick patterns for buy signals. The Expert Advisor obtains templates for sell signals by inverting the original ones.

  • Code Set-a string parameter containing comma-separated numbers – codes of candle patterns of buy signals, used during trading and when testing the Expert Advisor;
  • Code-a numeric parameter containing the code of the candle pattern of the buy signal, used when optimizing the Expert Advisor;
  • Stop Loss – the level of loss fixing in points;
  • Take Profit – the level of profit taking in points;
  • Lot – the value of the lot.

The screenshots show the results of testing on the history. Testing was carried out on the EURUSD currency pair and the H1 timeframe in the “All ticks” mode for the period from 04.01.2016 to 13.08.2017 with the Code Set parameters equal to “34”, Lot equal to 0.1.

Add review
Reviews ( 0 ):