Советники: Super Trend Hull EA

 

Super Trend Hull EA:

Торговая стратегия на основе пользовательского индикатора Super Trend Hull

Super Trend Hull EA

Автор: Vladimir Karputov

 
Awesome stuffs ... Thanks !!
Answered lots of the issues I was having especially the dreaded invalid stops ... :)



Toggle: Buy Only or Sell only Mode


Is it possible to code it in such that on the appearance of the opposite signal, the current opposition is closed in the same bar. 
For example, if its in a buy and the VoiletRed appears signalling a Sell, the current position is closed straight away and not in the next candle open.
Файлы:
 
cryptobinarykay:
Is it possible to code it in such that on the appearance of the opposite signal, the current opposition is closed in the same bar. 
For example, if its in a buy and the VoiletRed appears signalling a Sell, the current position is closed straight away and not in the next candle open.

Используйте входной параметр 'Close opposite '.


Справка, описание эксперта:

Дополнительные возможности

    • Only one positions - в рынке всегда только одна позиция
    • Reverse - переворот торгового сигнала
    • Close opposite - закрытие позиций противоположных торговому сигналу, причём сначала идёт гарантированное закрытие противоположной позиции и только потом открытие новой позиции в направлении сигнала
     

    Okay thanks.

    Still tweaking it. Will update accordingly.

    Thanks.

     
    Vladimir Karputov :

    Use the input parameter ' Close opposite '.


    Help, expert description:

    Additional features

      • Only one positions  - there is always only one position in the market
      • Reverse  - a reversal of a trading signal
      • 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

      I have evaluated the parameters; The Only one positions, Reverse and Close opposite.

      The Reverse trade open both Buy and Sell orders. Check the images attached.

      What i was asking if its possible, to have an option either to place Buy only or sell only orders.


      Thanks.

      Файлы:
       
      cryptobinarykay:


      What i was asking if its possible, to have an option either to place Buy only or sell only orders.

      Вы хотите что-то вроде:

      • Only BUY
      • Only SELL
      • BUY and SELL
      ?
       
      Vladimir Karputov:

      Вы хотите что-то вроде:

      • Only BUY
      • Only SELL
      • BUY and SELL
      ?

      Yes Exactly.

      * Only BUY; true/false

      * Only SELL; true/false


      As with 3rd option(BUY and SELL), one can set both to true for that condition.


      Thanks!!

       
      cryptobinarykay:

      Yes Exactly.

      * Only BUY; true/false

      * Only SELL; true/false


      As with 3rd option(BUY and SELL), one can set both to true for that condition.


      Thanks!!

      Super Trend Hull EA 2

      Новое в версии 2:

      • 'Type trade:' - тип разрешённой торговли (Only BUYOnly SELLBUY and SELL)
      • 'Use time control' - разрешить/запретить временной интервал торговли. Временной интервал задаётся от 'Start Hour'::'Start Minute' до 'End Hour'::'End Minute'
      Super Trend Hull EA 2
      Super Trend Hull EA 2
      • www.mql5.com
      'Type trade:' - тип разрешённой торговли (Only BUY, Only SELL, BUY and SELL) 'Use time control' - разрешить/запретить временной интервал торговли. Временной интервал задаётся от 'Start Hour'::'Start Minute' до 'End Hour'::'End Minute' на баре может быть только одна сделка 'вход в рынок' (это внутренний параметр, он не вынесен во входные...
       
      Vladimir Karputov:

      Super Trend Hull EA 2

      Новое в версии 2:

      • 'Type trade:' - тип разрешённой торговли (Only BUYOnly SELLBUY and SELL)
      • 'Use time control' - разрешить/запретить временной интервал торговли. Временной интервал задаётся от 'Start Hour'::'Start Minute' до 'End Hour'::'End Minute'

      New in version 2:


      'Type trade:' - type of allowed trade (Only BUY, Only SELL, BUY and SELL)

      'Use time control' - enable / disable the trading time interval. The time interval is set from 'Start Hour' :: 'Start Minute' to 'End Hour' :: 'End Minute'

      Super Trend Hull EA 2

      Super Trend Hull EA 2

      www.mql5.com

      'Type trade:' - type of allowed trade (Only BUY, Only SELL, BUY and SELL)

      'Use time control' - enable / disable the trading time interval. The time interval is set from 'Start Hour' :: 'Start Minute' to 'End Hour' :: 'End Minute'

      there can be only one 'market entry' transaction on the bar (this is an internal parameter, it is not placed in 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

      The EA compares the values ​​in the color buffer of the custom indicator (the color itself cannot be determined, but you can compare the value in the color buffer on the current bar and on the previous one). An example of signals (sequential) SELL when working in the 'inside bar' mode ('Search signals, in seconds' is greater than or equal to '10')


      Trading settings


      In the adviser, you can turn on and off Stop Loss, Take Profit and Trailing Stop. To disable the selected parameter set to "0.0".


      Trailing and searching for a trading signal can be triggered either after N-seconds or only at the time of the birth of a new bar. The Trailing interval in seconds is set in Trailing, in seconds, and the interval for searching trading signals in Search signals, in seconds. For these two parameters, the general rule is: if the interval is set less than "10" - this means ONLY at the time of the birth of a new bar, and if the interval is set exactly or more than "10" - it means work every "N" seconds.


      Additional features


      Only one positions - there is always only one position in the market

      Reverse - a reversal of a trading signal

      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

      Please note: the trading signal has the highest priority! You can restrict its execution only using the Only one positions parameter. If Only one positions is “true” and the number of positions opened by this EA on this symbol is greater than “1”, then the trading signal is ignored.


      The Close opposite parameter is "true": first we CLOSE the opposite position, then we process the trading signal.


      Position size management (lot calculation)


      The lot can be either permanent (Money management set in the Constant lot and set the lot size in The value for "Money management") or dynamic - in percentage of risk per trade (Money management set in Risk in percent for a deal and set the percentage of risk in The value for "Money management"). You can also set a permanent lot equal to the minimum lot - Set Money management to Lots Min.




      For some reason, Chrome could not translate and I had to do it manually. I think it is as a result of mql5.com upgrade.. Will download and try the EA 2 after the website upgrade.


      thanks.

      Причина обращения: