• 概述
  • 评论
  • 评论
  • 新特性

Overturn MT5

The Expert Advisor opens new positions series based on the signals of indicators included in the standard set of the terminal. Three operation logics are implemented in the Expert Advisor

  1. If parameter Mode = None: The Expert Advisor opens a position only in case of matching signals generated by the indicators that can be enabled in an appropriate input parameter at Expert Advisor launch. If a Stop Loss or Take Profit triggers, the EA waits for a new signal. If parameter Close Signal is set to true, in case of an opposite signal the EA will close the previous position and open a new one in the direction of the signal.
  2. If parameter Mode = Overturn: The Expert Advisor opens the first position when signals from indicators match. If Stop Loss triggers, the Expert Advisor reverses a position and increases the volume by the coefficient specified in settings. Position reversal happens until the whole series of unprofitable trades is beneficial.
  3. If Mode = Same_direction. The Expert Advisor opens the first position when signals from indicators match. If Stop Loss triggers, the Expert Advisor opens a position in the same direction and increases the volume by the coefficient specified in settings. The trade series continues until the whole series of unprofitable trades is beneficial.

Also the EA has an information panel to monitor the current situation.


Input Parameters

  • Identification number - EA's ID number.
  • Method calculation Volume - Lot size calculation method: Balance, Equity, FreeMargin.
  • Mode - EA operation mode.
  • Series - Number of series reaching which the EA will be reset toy its initial state and start a new series.
  • New bar (Off/On) - Open the first trade only on a new bar, true or false.
  • Risk - risk percent per trade. If the parameter is set to 0, the lot value is set in the Volume parameter.
  • Volume - lot size. Specify here if the Risk parameter is set to zero.
  • Loading deposit - Deposit load in percentage. If the deposit load exceeds this percent, new trade signal will be ignored.
  • Coefficient Volume - Lot increase ratio for position reversal.
  • Coefficient StopLoss - Multiplier of Stop Loss, calculated based on the ATR indicator in modes Overturn and None with Dynamic Stop calculation enabled, in Same_direction the parameter sets how many times Stop Loss is greater than take profit.
  • Coefficient TakeProfit - Multiplier of Take Profit calculated based on the ATR indicator in the Same_direction mode with Dynamic Stop calculation enabled, in modes Overturn and None sets how many times Take Profit is greater than Stop Loss.
  • TakeProfit - Take Profit level if Dynamic Stop calculation is off.
  • StopLoss - Stop Loss level if Dynamic Stop calculation is off.
  • Dynamic Stop calculation - Enable dynamic stop levels, true or false.
  • Period ATR - period of ATR used for the dynamic calculation of stop levels.
  • TimeFrames ATR - timeframe of ATR used for the dynamic calculation of stop levels.
  • Trailing Stop (Off/On) - use of the Trailing stop function, true or false. Not recommended for use in Overturn and Same_direction modes.
  • Trailing Start - the distance in points where the trailing stop will trigger.
  • Close Signal (Off/On) - Close a position at an opposite signal of indicators, only used for the None mode. true - enabled, false - disabled.
  • Comment deal.
  • Panel (Off/On) - Enable/disable the information panel on the chart, true - enabled, false - disabled.


Description of the indicator signals:

Description of the Moving Average indicator signals

  • Variant 1 (Off/On) - Signal variant №1. If the price crosses the MA from below, then it is a buy signal. IF the price crosses the MA from above, then it is a sell signal. true - signal enabled, false - signal disabled.
  • Variant 2 (Off/On) - Signal variant №2. If the price is above the MA, then it is a buy signal. If the price is below the MA, then it is a sell signal. true - signal enabled, false - signal disabled.

Description of the Commodity Channel Index indicator signals
  • signal_01 - if the CCI Signal is less than -100 then it is a buy signal, if greater than 100 then it is a sell signal. true - signal enabled, false - signal disabled.
  • signal_02 - if the CCI Signal crosses -100 from above then it is a buy signal, if the CCI Signal crosses 100 from below then it is a sell signal. true - signal enabled, false - signal disabled.
  • signal_03 - if the CCI Signal crosses -100 from below then it is a buy signal, if the CCI Signal crosses 100 from above then it is a sell signal. true - signal enabled, false - signal disabled.
  • signal_04 - if the CCI Signal crosses 100 from below then it is a buy signal, if the CCI Signal crosses -100 from above then it is a sell signal. true - signal enabled, false - signal disabled.
  • signal_05 - if the CCI Signal is greater than 100 then it is a buy signal, if less than -100 then it is a sell signal. true - signal enabled, false - signal disabled.
Description of indicators settings is intuitive and consistent with the parameters of the standard indicators of the terminal.
无评论
版本 2.0 - 2016.06.22
Added signal variants for the Moving Average indicator

Variant 1 (Off/On) - the price crosses the Moving Average from below then it is a buy signal, if from above then it is a sell signal. true - signal enabled, false - signal disabled.

Variant 2 (Off/On) - if the price is above the Moving Average then it is a buy signal, if the price is below the Moving Average then it is a sell signal. true - signal enabled, false - signal disabled.