Experts: Plan X

 

Plan X:

The EA compares the difference between the Close price of bar #1 and the Close price of bar #Candle shift.

Plan X

Author: Vladimir Karputov

 

Great ea, could you add max open positions allowed

or could you paste the code to add it

thanks so much

kev

 
kevrm61 :

Great ea, could you add max open positions allowed

or could you paste the code to add it

thanks so much

kev

Good afternoon.

I will release version 2 and add the following parameters: Maximum volume of one position, Maximum total volume and Maximum number of positions.

 
Vladimir Karputov :

Good afternoon.

I will release version 2 and add the following parameters: Maximum volume of one position, Maximum total volume and Maximum number of positions.

Published Plan X version 2 code

New in version 2:

  • The value for "Money management" -> Lots Min - always trade with a minimum lot (the minimum lot is automatically set depending on the settings of the current symbol)
  • Trailing, in seconds - trailing interval (for more details, see the Trading Settings section)
  • Search signals, in seconds - search interval for trading signals (for more details, see the Trading Settings section)
  • Start Minute - start time, now minutes are added to hours
  • End Minute - end time, now minutes are added to hours
  • Maximum volume of one position (<= '0.0' -> OFF) - maximum volume of one position
  • Maximum volume of all positions (<= '0.0' -> OFF) - the maximum volume of all positions opened by the adviser
  • Maximum number of positions ('0.0' -> OFF) - the maximum number of positions in the market open by the adviser
  • Only one positions - there is always only one position in the market
  • Close opposite - closing positions opposite to the trading signal, and first there is a guaranteed closing of the opposite position and only then opening a new position in the signal direction
  • There can only be one 'market entry' transaction on the bar (this is an internal parameter, it is not put out to the input parameters and this is not related to the ' Only one positions ' parameter). When working in the 'inside signals ' mode (' Search signals, in seconds ' is greater than or equal to '10'), the current bar is bar # 0, when operating in the 'only at the time of birth of a new bar' (' Search signals, in seconds ' less than '10') current bar - bar # 1.
Plan X version 2
Plan X version 2
  • www.mql5.com
Это вторая версия (первая версия опубликована здесь: Plan X). The value for "Money management" -> Lots Min - торговля всегда минимальным лотом (минимальный лот автоматически выставляется в зависимости от настроек текущего символа) Trailing, in seconds - интервал трейлинга (подробнее в разделе Торговые настройки) Search signals, in...