Hello I am looking for an EA with a BUY and SELL button, with the following input.
so as soon as i press BUY or SELL button, it will automatically take 2 trades, set stop loss and targets, and immediately set trail stops.
the input will be as follows
stop loss will be ATR for the chart time frame specified. stop loss do not want pips as it can vary so want ATR. Profit target to be % of SL
there might already be a similar EA, so will appreciate if some one can share this.
string SectionEntry = "=== ENTRY ==="; // === ENTRY ===
input double LotSize1 = 0.10; // Lot Size 1
input double LotSize2 = 0.10; // Lot Size 2
input string SectionSl = "=== STOP LOSS ==="; // === STOP LOSS ===
input bool UseSl = true; // Use Stop loss
input double SlMarginAtrMultiplier = 2.0; // SL Margin (ATR Multiplier)
input ATR Time Frame = M5
input string SectionTp = "=== PROFIT TARGET ==="; // === PROFIT TARGET ===
input double TpSlMultiplier1 = 1.0; // TP1 (SL Multiplier)
extern double TpSlMultiplier2 = 8; // TP2 (SL Multiplier)
input string SectionTs = "=== TRAILING STOP ==="; // === TRAILING STOP ===
input bool UseTrailingStop = True; // Use Trailing stop
input ENUM_MA_METHOD TrailingStopMaMethod = MODE_EMA; // Trailing stop - MA Method
input ENUM_APPLIED_PRICE TrailingStopMaPrice = PRICE_CLOSE; // Trailing stop - Applied to
input ENUM_TIMEFRAMES TrailingStopMaTf = PERIOD_CURRENT; // Trailing stop - MA Timeframe
input int TrailingStopMaPeriod = 50; // Trailing stop - MA Period
input double TrailingStopBreakMarginAtrMultiplier = 3.0; // Trailing stop - Break margin (ATR Multiplier)
so as soon as i press BUY or SELL button, it will automatically take 2 trades, set stop loss and targets, and immediately set trail stops.
the input will be as follows
stop loss will be ATR for the chart time frame specified. stop loss do not want pips as it can vary so want ATR. Profit target to be % of SL
there might already be a similar EA, so will appreciate if some one can share this.
string SectionEntry = "=== ENTRY ==="; // === ENTRY ===
input double LotSize1 = 0.10; // Lot Size 1
input double LotSize2 = 0.10; // Lot Size 2
input string SectionSl = "=== STOP LOSS ==="; // === STOP LOSS ===
input bool UseSl = true; // Use Stop loss
input double SlMarginAtrMultiplier = 2.0; // SL Margin (ATR Multiplier)
input ATR Time Frame = M5
input string SectionTp = "=== PROFIT TARGET ==="; // === PROFIT TARGET ===
input double TpSlMultiplier1 = 1.0; // TP1 (SL Multiplier)
extern double TpSlMultiplier2 = 8; // TP2 (SL Multiplier)
input string SectionTs = "=== TRAILING STOP ==="; // === TRAILING STOP ===
input bool UseTrailingStop = True; // Use Trailing stop
input ENUM_MA_METHOD TrailingStopMaMethod = MODE_EMA; // Trailing stop - MA Method
input ENUM_APPLIED_PRICE TrailingStopMaPrice = PRICE_CLOSE; // Trailing stop - Applied to
input ENUM_TIMEFRAMES TrailingStopMaTf = PERIOD_CURRENT; // Trailing stop - MA Timeframe
input int TrailingStopMaPeriod = 50; // Trailing stop - MA Period
input double TrailingStopBreakMarginAtrMultiplier = 3.0; // Trailing stop - Break margin (ATR Multiplier)