• 概述
  • 评论 (3)
  • 评论 (133)

The Safe

This is a universal Expert Advisor for real MetaTrader 5 accounts. The position is opened and closed at the intersection of MACD and the signal line, using a market order after the close of the signal candlestick. A position can be opened following the trend of a higher timeframe or opposite to it. Position closing depends on the settings, takes into account the profit.

The deposit is secured using the innovative feature "Safe" (UseMacdHighLowZeroClose - true, UseLevelProfit - false). After a last deal opening a differentiated (in a few parts) long position, a signal to close this position appears at the intersection of MACD and the signal line; the intersection must be above 0; to close a short position the intersection must be below 0.

The settings include the date and time, the reversal of signals, auto-lot, position increase, position reversal, real and virtual Take Profit, Stop Loss, Without Loss, Trailing Stop Loss and the function closing a part of or the entire position when the minimal margin is reached.

The screenshots feature the EA operation for the period 2010.01.01 to 2015.09.08 with the "Safe" function enabled and AutoLotK = 0,25. Deposit (0,01+0,02+0,04)*1250*2=175. Profit 9583,13 (5476,07%) or above 80% per month in testing. Min. margin 425,76%.


Input Parameters of the EA

  • StartDate - date to begin trading D1
  • StartTime - time to begin trading on D1
  • StopDate - date to end trading D2
  • StopTime - time to end trading on D2
  • UseInversion (false/true) - change the signal value to opposite
  • UseTimeFrames1 (false/true) - take trend direction on TF1 into account
  • TimeFrames1 - TF1
  • TimeFrames2 - TF2
  • Lots - initial volume to open a position
  • RateDepositForLots - deposit size in the account currency, a variable in the formula Equity/RateDepositForLots*Lots*AutoLotK for auto lot calculation
  • AutoLotK - the initial volume multiplier, the variable in the formula Equity/RateDepositForLots*Lots*AutoLotK for auto lot calculation
  • PeriodFastEma - fast EMA period
  • PeriodSlowEma - slow EMA period
  • PeriodSignalSma - SMA period
  • PriceMacd - price constant
  • UseMacdHighLowZero (false/true) - MACD signal on TF2 to open a long position below 0, to close a long position above 0. Opposite for a short position
  • UseMacdHighLowZeroClose (false/true) - MACD signal on TF2 to only close a long position above 0. Opposite for a short position
  • UseOpenLong (false/true) - only Long
  • UseOpenShort (false/true) - only Short
  • DistanceAvr - minimum distance between trades as % for partial opening of a position
  • LotsFactor - next trade volume multiplier
  • LimitAvr - number of trades
  • NumLimitAvr - index number of a trade to set new take profit
  • TakeProfitAvrNew - new take profit value
  • NumberIncrease - number of trades to increase a position
  • StepIncrease - minimum distance between trades as %
  • VolumeIncrease - trade volume
  • UseCandleCloseIncrease (false/true) - signal on a closed candle
  • UseCloseTimeFrames1 (false/true) - close positions in case of an opposite signal on TF1
  • UseCloseTimeFrames2 (false/true) - close positions in case of an opposite signal on TF2
  • UseLevelProfit (false/true) - consider Level Profit when closing positions in case of an opposite signal on TF2 on the last trade of partial opening of a position
  • LevelProfit - minimum profit as % to close positions in case of an opposite signal on TF2
  • UseRealStop (false/true) - apply real stop orders
  • StopLoss - stop loss as %
  • TrailingStart - profit level to set trailing as %
  • TrailingStop - trailing distance from the price as %
  • UseCandleCloseTrailingStopLoss (false/true) - set trailing on a closed candle
  • TrailingStopWithoutMoving (false/true) - do not move trailing once it is set (Without Loss)
  • TakeProfit - take profit as %
  • Slippage - slippage
  • OrderTypeFilling - order execution method
  • MarginLevel - minimum level of margin to close a position
  • PercentLotsMarginLevel - percentage to decrease a position when the minimum level of margin is reached
  • OrderId - order index
  • LineName - name of a virtual order line
  • LineStyle - type of a virtual order lines line
  • LineColorLoss - color of a virtual stop loss line
  • LineColorProfit - color of a virtual take profit line
  • LineWidht - width of a virtual order line
Perertz
1165
2016.11.08 06:00 
 

Отличный советник. Все функции работают на пятерку. Можно конструировать любую стратегию самому. Удивляет своей устойчивостью авторская стратегия "Luxury Relax 775". Советник для неттинговых счетов.

enbio
943
2016.02.16 08:40 
 

Уже месяц прошёл активной эксплуатации по стратегии "Fast Profit" и могу сказать , что он работает отлично!!! Процентов 10 на волатильном рынке может давать, но не забываем еженедельно снимать прибыль!!!!

Sergey Rozhnov
10350
2016.02.10 22:45 
 

03/02/2016 Тесты впечатляют. Есть реальный мониторинг. Пока всё отлично!

upd 11/02/2016 Неделя в тестах на 5 валютах 1000 прибыли с 5000 (20% прирост), на всех валютах работает идеально, выставляет тейк профит, сопровождает трейлинг стопом, просадка практически нулевая! Шикарно!