• Übersicht
  • Bewertungen
  • Diskussion (6)
  • Neue Funktionen

Automatic stoploss takeprofit

This EA allow you to automatically place the Stop Loss and the Take Profit (calculated by fixed distance in pips, by the ATR indicator or using Supports and Resistances  which are detected automatically in the chart). The Trailing Stop and Breakeven can be activated automatically also by distance in pips or by the percentage of the TP. (Example: if the TP is placed at 80 pips and you want it to activate at 50% of the distance, then at 40 pips it will be activated; This option is used when choosing the mode of Take Profit by ATR or Support and Resistance).

If before buying you want to try this product, I recommend you to watch the demo version: "Automatic StopLoss and TakeProfit DEMO".

https://www.mql5.com/es/market/product/31857


Parameters

  • Set_Stop_Loss = “True” to set automatically the Stop Loss, or “False” to deactivate this function.
  • Set_Take_Profit = “True” to set automatically the Take Profit.
  • Allow_Magic_Number = “True” to activate this EA to modify the trades only with certain magic number you choose,  or “False” to modify all the trades of that pair.
  • Magic_Number = Type here the magic number you wish to manage.
  • Alert_On = “True” to receive an alert each time the SL or TP have been placed in the order.
  • Use_Spread_Filter = “True” to apply the spread filter.
  • Max_Spread= Maximum allowed spread, if this is exceeded the operation will be closed.     
  • Use_Close_Time = “True” to close operations at a certain time.
  • Close_Hour= Hour to close operations.
  • Close_Minute= Minute to close operations.
  • ChartSymbolSelection= "For all open orders" modify all the open orders of any Pair. "Current Chart Symbol" in current Pair.
  • Activate_Display_Values =  “True” to display the distance in pips and the value (in currency) of the loss limit and profit. It does not take into account the commissions and the swap.
  • Stop_Loss_Method = You can decide the mode for set the Stop Loss , by distance calculated in “Pips”, by “ATR” or using “Support and Resistance”.
  • SL_Fix = Enter fixed Stop Loss in pips. Only if you choose “Stop Loss Method – FIXED_SL”.
  • TimeFrame_ATR_SL = Select the time frame to calculates the distance for Stop Loss, using the ATR Indicator. Only if you choose “Stop Loss Method – ATR_SL”
  • SL_ATR_Multiplier = Type an ATR multiplier. Only if you choose “Stop Loss Method – ATR_SL”
  • ATR_Period_SL Type an ATR period. Only if you choose “Stop Loss Method – ATR_SL”
  • TimeFrame_Support_Resistance_SL= Select the time frame to calculates the distance for Stop Loss, according to Support and Resistance. Only if you choose “Stop Loss Method – SUPPORT_RESISTANCE_SL”
  • Min_Pips_SL = Type the minimum distance that could have a Support or Resistance for any Stop Loss. Only if you choose “Stop Loss Method – SUPPORT_RESISTANCE_SL”
  • Take_Profit_Method = You can decide the mode for set the Take Profit,  by distance calculated  in “Pips”, by “ATR” or  using “Support and Resistance”.
  • TP_Fix = Enter fixed take profit in pips. Only if you choose “Take Profit Method – FIXED_TP”.
  • TimeFrame_ATR_TP = Select the time frame to calculates the distance for Take profit, using the ATR Indicator. Only if you choose “Take Profit Method – ATR_TP”
  • TP_ATR_Multiplier = Type an ATR multiplier. Only if you choose “Take Profit Method – ATR_TP”
  • ATR_Period_TP = Type an ATR period. Only if you choose “Take Profit Method – ATR_TP”
  • TimeFrame_Support_Resistance_TP= Select the time frame to calculates the distance for Take Profit, according to Support and Resistance. Only if you choose “Take Profit Method – SUPPORT_RESISTANCE_TP”
  • Min_Pips_TP = Type the minimum distance that could have a Support or Resistance for any Take Profit. Only if you choose “Stop Loss Method – SUPPORT_RESISTANCE_TP”
  • Activate_Trailing_Stop = Active or inactive auto trailing stop.
  • Type_Of_Triailing_Stop = You can choose between two methods of activation. The first one is using a fixed distance in Pips, and the other is using a percentage of TP.
  • TrailingStop = Type the distance in pips or percentage.
  • TrailingStart = Type the distance in pips or percentage.
  • Activate_Break_Even = Active or inactive auto breakeven.
  • Type_Of_Break_Even = You can choose between two methods of activation. The first one is using a fixed distance in Pips, and the other is using a percentage of TP.
  • BreakEven = Type the distance in pips or percentage.


Keine Bewertungen
Version 1.60 2019.05.09
-Added the function to place SL and TP in all open positions regardless of the Symbol
Version 1.50 2019.01.17
-Errors in the code were corrected.
Version 1.40 2019.01.17
-Changed some parameters
Version 1.30 2018.10.26
- A function was added to show the distance in pips and the value (in currency) of the loss limit and the benefit. it does not take into account the commissions and the swap.
Version 1.20 2018.09.23
-Added the function to open automatic operations to test in "Strategy Tester".
Version 1.10 2018.09.20
-The spread filter and the time filter were added.