• Overview
  • Reviews
  • Comments
  • What's new

Ray Of Hope

The system determines the short-term trend direction using several standard and custom indicators. By default, the robot is configured to trade round-the-clock, the following currency pairs: EURUSD, USDJPY, GBPUSD, USDCAD. Also, the robot can be used on other low-spread pairs.


Parameters

  • FirstOrder - if you disable this function, the robot will stop trading after closing all orders;
  • NumberPositions - the number of simultaneously open sessions on different currency pairs;
  • Slippage - allowable slippage;
  • Spread - allowable spread;
  • MagicNumber - order identifier;
  • AccountBalance - 0 - lot calculation based on balance value, above 0 - based on the specified amount;
  • RiskPercent - risk percent for lot calculation;
  • Lot - fixed lot value of risk percent is 0;
  • DecreaseFactor - lot decreased factor depending on the history of deals;
  • LotExponent - lot multiplier depending on the number of open positions;
  • MaxLots - maximum allowable lot;
  • TakeProfit - take profit;
  • Stoploss - stop loss;
  • DynamicPips - distance between orders: dynamic or fixed;
  • DefaultPips - fixed distance in pips;
  • DepthHistory - number of bars for calculating the dynamic distance;
  • SepChannel - division coefficient of the distance obtained;
  • DayHiLow - if the distance prior to the division exceeds this value, the positions will not be opened due to increased activity. Not used if 0;
  • MaxTrades - the allowed number of open positions;
  • UseEquityStop - virtual stop loss as a percentage of the deposit;
  • TotalEquityRisk - the percentage to close by the virtual stop loss;
  • UseTrailingStop - trailing stop;
  • TrailStart - trailing start;
  • TrailStop - trailing step;
  • UseTimeOut - time based closing;
  • MaxTradeOpenHours - order expiration in hours;
  • UseCCI - using the CCI indicator;
  • PeriodCCI - number of candlesticks for calculation;
  • Drop - the maximum and minimum (with a minus sign) values ​​within which the EA trades;
  • CCIStop - closing orders if value exits beyond channel borders;
  • UseRSI - using the RSI indicator;
  • PeriodRSI - the number of candlesticks for calculation;
  • RsiMinimum, RsiMaximum - the maximum and minimum values ​​within which the EA trades;
  • RSIStop - closing orders if value exits beyond channel borders;
  • UseATR - the ATR indicator;
  • ATRPeriod - the number of candlesticks for calculation;
  • ATRMinimum, ATRMaximum - the maximum and minimum values ​​within which the EA trades;
  • ATRStop - closing orders if value exits beyond channel borders;
  • UseCrossMA - the МА indicator;
  • PeriodMA - Moving Average period;
  • InpPeriodMA - the number of candlesticks for calculation;
  • InpMethodMA - calculation method;
  • InpPriceMA - calculation price;
  • InpShiftMA - shift from the 0 candlestick;
  • MAStop - closing orders by an opposite signal;
  • UseFractal - 0-off, 1-fractal level breakout, 2-above the level, 3-below the level.
  • Сandles - 0-off, 1-breakout of level calculated by candlesticks, 2-above the level, 3-below the level.
  • StrongPriceFluctuations - price strength;
  • Step - variable for calculating trend strength;
  • StepTime - time of price change;
  • UseTime - time filter;
  • OpenHourFirstSession - the beginning of the session in hours;
  • OpenMinFirstSession - the beginning of the session in minutes;
  • CloseHourFirstSession - the end of the session in hours;
  • CloseMinFirstSession - the end of the session in minutes;
  • AutoGMT - automatic detection of GMT offset (does not work in the strategy tester);
  • ManualGMT – manually set GMTOffset (used for backtesting).


Suggestion

  • Instant order execution - ECN (with minimum spread, commission and slippage);
  • Trouble-free connection to the server - VPS (with minimum network latency);
  • Currency pairs: EURUSD, USDJPY, GBPUSD, USDCAD, others after appropriate testing;
  • Chart period: M15;
No reviews
Version 4.0 - 2018.09.19
Проведена оптимизация кода.
Version 3.0 - 2018.09.19
Проведена оптимизация кода
Version 2.0 - 2018.09.19
Добавлен параметр "OrderFilling" который позволяет выбрать тип исполнения ордеров:

ORDER_FILLING_FOK - Данная политика исполнения означает, что ордер может быть исполнен исключительно в указанном объеме.
ORDER_FILLING_IOC - Означает согласие совершить сделку по максимально доступному на рынке объему в пределах указанного в ордере.
ORDER_FILLING_RETURN - Данный режим используется для рыночных (ORDER_TYPE_BUY и ORDER_TYPE_SELL), лимитных и стоп-лимитных ордеров (ORDER_TYPE_BUY_LIMIT, ORDER_TYPE_SELL_LIMIT, ORDER_TYPE_BUY_STOP_LIMIT и ORDER_TYPE_SELL_STOP_LIMIT) и только в режимах "Исполнение по рынку" и "Биржевое исполнение". В случае частичного исполнения рыночный или лимитный ордер с остаточным объемом не снимается, а продолжает действовать.