• 概述
  • 评论
  • 评论 (2)
  • 新特性

Extended Candlestick Patterns

Trading in candlestick patterns is more reliable for a long time. Japanese candlestick analysis was invented a long time ago, and is often used today. However, not all traders know a lot of candlestick patterns, and not everyone can constantly monitor the market. This Expert Advisor recognizes many candlestick patterns, opens a trade at the right time, and displays the name of the candlestick pattern (when the ShowInfo option is enabled). The extended version, in addition to showing the names of candlestick patterns on the chart, has many additional features compared to the simple version (for example, the ADX volatility indicator, the dynamic stop loss parameter, settings for optimizing and managing the lot). The Expert Advisor can determine both simple models, consisting of 1 candle, and complex ones from 2 to 5 candles. This adviser is recommended to be used on a 4-hour timeframe, as well as a daily and 1-hour one. It is better to use EUR / USD as a currency pair, but it can also be used on others (only thorough optimization of parameters is then necessary).

Input Parameters

  • Lots - lot size (if Lots=0, then the lot will be calculated based on the percentage of account free margin);
  • Percentage of free money - the percentage of free margin to open each new trade (works when Lots=0);
  • MaxSpread - the maximum allowable spread to open trades (for floating-spread symbols, to avoid opening with a large spread);
  • Magic (unique identifier) - a unique identifier, use different magic numbers if multiple Expert Advisors run in your terminal;
  • MaxTakeProfit - maximum take profit;
  • MaxStopLoss - maximum stop loss;
  • EnableAutoClose - enable/disable automatic order closure when a reverse signal appears;
  • FactorDynamicSL - coefficient of dynamic stop loss (values ​​from 0 to 2.5 are recommended), when it is on (greater than 0), Stop-loss depends on the candlestick model (but not more than the MaxStopLoss value);
  • Stop to breakeven after - sets the stop loss to breakeven after passing so many points (0 - off);
  • TrailingStopValue - trailing stop value (0 - do not use simple trailing stop);
  • SetStopToLastFractal - enable trailing stop on the last fractal;
  • StopToParabolicStep - enable trailing stop by parabolic, setting the parabolic step value for trailing stop (0 - off);
  • EnableVolume - when enabled, candlestick volumes of almost every model are taken into account;
  • MinForceModel - minimum candlestick model strength for entering a trade (1 or 2);
  • CountCandlesLength - the number of candles to determine the optimal length of the candle in the model (recommended from 10 to 50);
  • AdxPeriod - period of the ADX indicator;
  • MinAdxLevel - minimum level of the ADX indicator;
  • MaxAdxLevel - maximum level of the ADX indicator;
  • MinuteOpen - the minute after which the transaction will open (to wait a little after the candle closes, when the market cools down);
  • Trading start hour - hour to start trading advisor;
  • Trading end hour - hour of the end of trading;
  • OrdersComments - comment on open transactions;
  • OneTradeOnly - when enabled, only 1 trade can be opened at a time;
  • CntBarslastSignalIsActive - count of bars, how long the last signal will be active for receiving by other advisers (for example, for RiseOrFallVolumesPro);
  • IncLotAfterProfit - increase the lot after a profitable close of the previous transaction;
  • DecLotAfterLoss - decrease the lot after a loss-making close of the previous transaction;
  • CntHoursForVerificationOrder - parameter to simplify optimization; when it is greater than 0, then at least one transaction must be completed within this number of hours (in order to immediately discard parameters not suitable for the number of transactions, creating a permanent loss), 0 - do not use this parameter and the next 2 (it’s better not to use it during trading, but during optimization it is possible to specify 100-2000 depending on the timeframe);
  • ProfitToLossRatio - the number of profit for losses (for optimization), 0 - off;
  • MaxAllowableLoss - maximum loss, above which during testing there will be a drain of the deposit (for optimization), 0 - off;
  • ShowInfo - show information (when turned on, information is displayed at the top in the corner, and the names of candlestick patterns are displayed directly on the chart above or below the signal candle).


无评论
版本 1.4 2020.02.24
Minor improvements in displaying information and signaling.
版本 1.2 2020.02.16
Added the ability to transmit signals to other advisors.
版本 1.1 2020.02.09
Added trailing stops for parabolic and fractals.