Creation of a trailing stop function that trails different trades with different types of stops

MQL5 전문가 컨설팅

작업 종료됨

실행 시간 11 일

명시


Hello there,

I have I am using an indicator to set the initial stop loss value. This varies depending on the value of the indicator.


as below the upArrow and upArrow represent values of the market used to set up the stop loss. Every time there is a signal the difference  MathAbs(OrderStopLoss()-OrderOpenPrice()) will be different for each function.


I need the trailing function to update the Stop loss as soon as the market goes 1 point in favour. So for instance if I am trading the german dax30 and the open price is 10000 and the market goes up by 1, hence 10001, and the stop loss was (uparrow = 9970, ie, 30 pts), then the new stop loss is 997. In other words the function will keep the orginal distance of 30 pts.

I want to be clear that this will vary on the values fed to the EA by the indicator, therefore it is paramount to understand that the trail stop will change at every single signal trigger, whilst the step will always be the least possible increase that can be changed on a particular market,that is Point().


This should be possible in non stealth mode (by sending the SL to the server) but also locally in stealth mode.


Any clarification please send message privately.

 

  double upArrow =  iCustom(NULL, PERIOD_CURRENT, "Indicator", "",Range, Filter,Bar_History,"",false,false,clrLightSkyBlue,clrTomato,clrLightSkyBlue,clrTomato,"",true,false, Blue,Red,false,4,clrLightSkyBlue,clrTomato,clrLightSkyBlue,clrTomato, 20, "","SIGNAL ALERT", false,false,false,false, 0, 1);

                

                        

                

    double upArrow =  iCustom(NULL, PERIOD_CURRENT, "Indicator", "",Range, Filter,Bar_History,"",false,false,clrLightSkyBlue,clrTomato,clrLightSkyBlue,clrTomato,"",true,false, Blue,Red,false,4,clrLightSkyBlue,clrTomato,clrLightSkyBlue,clrTomato, 20, "","SIGNAL ALERT", false,false,false,false, 1, 1);

                

                           

    double lossArrow =  iCustom(NULL, PERIOD_CURRENT, "Indicator
", "",Range, Filter,Bar_History,"",false,false,clrLightSkyBlue,clrTomato,clrLightSkyBlue,clrTomato,"",true,false, Blue,Red,false,4,clrLightSkyBlue,clrTomato,clrLightSkyBlue,clrTomato, 20, "","SIGNAL ALERT", false,false,false,false, 2, 1);




v

응답함

1
개발자 1
등급
(137)
프로젝트
167
35%
중재
11
91% / 0%
기한 초과
0
무료
2
개발자 2
등급
(236)
프로젝트
440
26%
중재
125
21% / 57%
기한 초과
96
22%
작업중
3
개발자 3
등급
(38)
프로젝트
61
30%
중재
5
20% / 40%
기한 초과
0
무료
4
개발자 4
등급
(256)
프로젝트
415
38%
중재
86
44% / 19%
기한 초과
70
17%
바쁜
5
개발자 5
등급
(87)
프로젝트
114
26%
중재
7
29% / 57%
기한 초과
5
4%
무료
비슷한 주문
I want have the possibility to increase lotsize not alone by Lot-multiplier rather I want add a fix-lot increase for excample for 0,05 lot. I want have this for buy / sell and hedge-buy and hedge sell
Hi, I want to make an automated system to take my place in making trading positions and closing it. But I want to ask , can you program it to draw a trend line in a specific chart and several moving averages should be in specific order, and when the price is near the trend line by few pips, we shift to 15 minutes chart and noticing a resistance or support action , then we take the trade ? can we do that
Develop EA to track performance metrics of strategies I would like to develop an EA that will track the performance metrics of the strategies I have running on a terminal, If any of the metrics start to under perform then the EA/Indictor should alert me with a pop up alert that specify's the metric that has triggered the alert. The EA should also display the metrics in a dashboard - please see my example screen shot
I would like to modify the RSI Epert Avisor with a developer. I would like to use the RSI Expert on the inverse mode and the base setting doesnt conatain this strategy mode
Profitable EA HFT 50 - 300 USD
From a long time i am searching for a profitable EA i have lost a lot , and now i have only 300$ to buy a profitable EA , i wish to say with 0 losses but some or most traders they don't want to hear this i am really tired of searching for a programmer to just create me a profitable EA with the least losses or zero losses maybe nearly 1 year i am searching i just need an HFT EA that can work very well on MT4,MT5
I need help fixing my EA for MT5. It’s a very simple EA, and I currently cannot solve an issue where webrequest communicates with OpenAi API without error. Please only apply if you can help solve this issue
p.p1 {margin: 0.0px 0.0px 12.0px 0.0px; font: 14.0px 'Trebuchet MS'; color: #313131} p.p1 {margin: 0.0px 0.0px 12.0px 0.0px; font: 14.0px 'Trebuchet MS'; color: #313131} li.li1 {margin: 0.0px 0.0px 12.0px 0.0px; font: 14.0px 'Trebuchet MS'; color: #313131} ol.ol1 {list-style-type: decimal} I have an EA that open trades when my entry conditions are met. It usually executes one trade per day. I'd like to add an option
у нас есть стратегия, нам нужно написать mql5-код ​​для тестера стратегий МТ5,Цена договорная. Мой контакт @abbosaliyev из Telegram Программист должен знать РУССКИЙ ИЛИ УЗБЕКСКИЙ язык. Задание: разработать тестер, который использует шаблон условий на открытие и проверит весь исторический график на всех доступных таймфреймах. Остальная информация будет предоставлена ​​после согласования цены
a coder is required to add an indicator to existing ea The new indicator will work as 1. option to combine with exiting indicator to open trade 2. it will be used as alternative BE point 3. It can also be used to close order or combine with other to close trade The second Job is telegram bot to get alert fr news trade and others Details when you apply i will test the ea work on live market and all bug is fixed before
Hello, I want to make an EA based on SMC and a developer that is familiar with the concept and full understanding of this. Must have done similar jobs before and be able show it. I only want to work with developer that has good track record and is precise. Further information will be handed when contact is made. Developers that has zero rating will not be considered. Listed price is a base point. The project can also

프로젝트 정보

예산
30 - 40 USD
개발자에게
27 - 36 USD
기한
에서 1  10 일