Buy stop and Trailing stop

MQL4 Эксперты

Работа завершена

Время выполнения 3 дня
Отзыв от исполнителя
Great customer... clear description of requirements specifications. A++
Отзыв от заказчика
very efficient programmer with great coding skill

Техническое задание

i want to develop a MQL4 EA, pls see the strategy below

Some other requirements

1. I want to just hold 1 buy and 1 sell position at the same time (for some circumstances, it is possible that buy and sell postion holding at the sanme time). but since this EA will be use in the account that will use other EAs too, so just use “OrdersTotal() == 0” is not work, we may need to use Magic number to  differentiate with other trades that made by other EAs

2. The chart only show the buy trade, but i need the sell trade too, just all criteria reverse

3. Pls note that Buy Stop and Sell Stop may not be executed, because, for example, we may not get a higher price after EMA 24 crossing up EMA 60, I don’t know how would effect the coding, just raise it

4. I want to keep the code in void OnTick() as simple as possible, something like this (it is just a template i copy from other, you no need, or i don' think you can straightly apply) i want the other parts are coded as functions, then i can apply them to other EA easily (for example, i may use the Trailing Stop code for other trading strategy EA):

void OnTick()
  {
//---
   // Get the profit target price and the stop loss price
   double Long_TakeProfitLevel = Bid + Profit_target*Point; //0.0001
   double Long_StopLossLevel = Bid - Stop_loss*Point;
   double Short_TakeProfitLevel = Ask - Profit_target*Point; //0.0001
   double Short_StopLossLevel = Ask + Stop_loss*Point;   
   
   // Check if the long condition happen and place order accordingly
   if (Enter_long() ) //if more the one signal, could be Enter_long1, Enter long2 or Signal1, Signal2... //OrdersTotal depend on strategy
   {   
  
   Open_Enter_long(Lot_size,Long_TakeProfitLevel,Long_StopLossLevel,"First_Enter");  

   }
   else if (Exit_long())
   {
      Close_Exit_long("Close_Exit_long");
   }
   
   // Check if the short condition happen and place order accordingly
   if (Enter_short() ) //if more the one signal, could be Enter_long1, Enter long2 or Signal1, Signal2... //OrdersTotal depend on strategy
   {   
  
   Open_Enter_short(Lot_size,Short_TakeProfitLevel,Short_StopLossLevel,"First_Enter");  

   }
   else if (Exit_short())
   {
      Close_Exit_short("Close_Exit_short");
   }   
   
  }
Finally , i am not good at coding, i hope you can give me simple description on importantline of code , and the code must be testable by backtest , then i can check it faster and pay you faster, and both of us win-wn.



Файлы:

Откликнулись

1
Разработчик 1
Оценка
Проекты
0
0%
Арбитраж
1
0% / 100%
Просрочено
0
Свободен
2
Разработчик 2
Оценка
(149)
Проекты
177
24%
Арбитраж
7
29% / 43%
Просрочено
4
2%
Загружен
3
Разработчик 3
Оценка
(37)
Проекты
59
27%
Арбитраж
25
20% / 52%
Просрочено
10
17%
Работает
4
Разработчик 4
Оценка
(560)
Проекты
771
46%
Арбитраж
23
39% / 13%
Просрочено
63
8%
Работает
5
Разработчик 5
Оценка
(1)
Проекты
0
0%
Арбитраж
1
0% / 100%
Просрочено
0
Свободен
6
Разработчик 6
Оценка
(16)
Проекты
25
0%
Арбитраж
1
0% / 0%
Просрочено
0
Работает
7
Разработчик 7
Оценка
(5)
Проекты
6
50%
Арбитраж
0
Просрочено
0
Свободен
8
Разработчик 8
Оценка
Проекты
0
0%
Арбитраж
1
0% / 100%
Просрочено
0
Свободен
Похожие заказы
i need an ea triggered as soon as parabolic sar indicator changes its signal to buy or sell and open same size orders with an option to add additional 0.01 or a diferent value to the initial lot on every next order no matter if it is buy or sell i need it to open orders in a (value) pips or price distance. using only a tp no stop loss. and close all orders on tp in money also i need a trailing stop in case price
The goal is that if SL changes, TP1 and only TP1 changes by the same distance as SL. If there's also TP2, TP3 or TP4, then those levels aren't modified
I am looking for MQL5 coding expert to create a trading bot of my strategy. I am an HFT and looking to automate my gold trading strategy. The strategy is very simple and uses only one indicator that is RSI and also look for chart patterns. I want to keep it generic by not doing any hardcoding of position size, lot size, etc. and code should be easy to understand and manipulate in future
Good programme Skill needed, ability to built high frequency trading (hft) expert advisor that works on MT4 and MT5 no Grid, no Matin. just Short term trade that last 1sec - 5mins for profit take, that can be used to trade on demo and live accounts RAW ECN icmarket, Blackbullmarket, Fusion market, FPMarkets and 8cap. The EA has to be highly profitable, giving daily profit. If a test version is available, please send
EA's logic and trade 100 - 1200 USD
Good day, I hope this message finds you well. I would like to request the development of an Expert Advisor (EA) for MetaTrader, based on two specific indicators: the Trend Path indicator and the Diamond Reversal indicator. Below are the details for the EA's logic and trade execution criteria: Sell Trade Criteria: Indicators and Signals: Trend Path Indicator : Shows a red trend. Diamond Reversal Indicator : Provides a
Pls the bot take trade from any arrow indicator on the chart with buffer value buy or sell to place trade . The bot have 5 indicator filter to filter trade like rsi , sma , awesome oscillator, parabolic sar and ichimoku before the bot place trade. pls for detail about the bot and filter pls check the screenshot file
Can anyone build a MT4 or MT5 EA based off an indicator from Trading View. If so, please check Simple EMA Trend Filter (GTA Trend Filter EMA) Alternatively, if you can Automate this indicator via any connector like Pine Connector, that will work too. Please let me know. Thank you Sam
Good day I would like a new EA that removes other EA's when a certain drawdown is reached (e.g., 20%) The new EA must also create a perfect hedge after removing the other EA's. E.g., If there are xauusd sell trades with lot sum 10 and a drawdown of 20%, the new EA must stop and remove the other EA's then open lot sum 10 buy trades of the same pair. Or if lot sum 0.12 sell trades and lot sum 0.02 buy trades are open
our exciting software developer isnt responding to the bugs he made in the mt5 ea now we need somebody for the long run that can fix the bugs and also add additional fuction in the future feel free to contact me
I want a simple EA that is based on 2 envelopes(indicator). * The EA should open trades only when price is at the envelopes. * The EA should allow me to select my sl and my tp in points. * The EA should allow me to choose between buying and selling only(For each chart it's on) * The EA should also allow me to choose a manual lot size. Source code is required for further optimazition

Информация о проекте

Бюджет
30+ USD
Исполнителю
27 USD