TP & SL & Trailing Stop for individual order or a basket

MQL4 Uzman Danışmanlar

İş tamamlandı

Tamamlanma süresi: 5 gün
Müşteri tarafından geri bildirim
Very good developer, polite and patient. I recommend his services and would rework with him again for sure.
Geliştirici tarafından geri bildirim
good job with great customer. Thank you !

İş Gereklilikleri

Hello,

   

I need to get code snippets as functions:

 

Function 1: to place a takeprofit and a stoploss at price thresholds in pips or in currency (we can use one of the other choice) on one or more orders at the same time (case of basket of orders).

Example:

If only one order is open, and I call the function to place a takeprofit at $ 10 (account currency) and stoploss at $ 30 (account currency), then the function will automatically place the TP and SL on the corresponding price levels depending on the position size and the instrument traded.

If several orders are open, the principle must be the same: place in each order the price levels of the corresponding takeprofit and stoploss so that the entire basket closes at $ 10 in profit and at $ 30 in loss. It doesn't matter how many orders there are and whether they are mixed up (buy and sell orders).

When calling the function, you can choose whether you want a gain / loss in account currency or in points / pips.

The calculated takeprofit and stoploss price levels should be included in each order.

 

Function 2: trailing stop for 1 or more orders with price thresholds in pips or in currency (we can use one of the other choice) on one or more orders at the same time (case of basket of orders).

Example:

This is a classic trailing stop, but the stoploss must activate and then move (trailing stop step size) with thresholds expressed in pips or in the account currency (as desired).

The stoploss price threshold should be placed in each order if more than one order is open. The trailing stop will act globally on the basket of orders (if several orders are open) and not individually for each order.

The calculated takeprofit and stoploss price levels should be included in each order.

 


Yanıtlandı

1
Geliştirici 1
Derecelendirme
(1235)
Projeler
2820
80%
Arabuluculuk
156
22% / 43%
Süresi dolmuş
488
17%
Serbest
2
Geliştirici 2
Derecelendirme
(236)
Projeler
418
34%
Arabuluculuk
53
36% / 40%
Süresi dolmuş
153
37%
Meşgul
3
Geliştirici 3
Derecelendirme
(45)
Projeler
58
33%
Arabuluculuk
12
42% / 42%
Süresi dolmuş
7
12%
Serbest
4
Geliştirici 4
Derecelendirme
(253)
Projeler
407
38%
Arabuluculuk
85
42% / 19%
Süresi dolmuş
70
17%
Yüklendi
5
Geliştirici 5
Derecelendirme
(408)
Projeler
536
75%
Arabuluculuk
9
44% / 0%
Süresi dolmuş
24
4%
Serbest
6
Geliştirici 6
Derecelendirme
(65)
Projeler
71
30%
Arabuluculuk
8
0% / 88%
Süresi dolmuş
5
7%
Serbest
7
Geliştirici 7
Derecelendirme
(155)
Projeler
171
43%
Arabuluculuk
6
0% / 67%
Süresi dolmuş
8
5%
Çalışıyor
8
Geliştirici 8
Derecelendirme
(39)
Projeler
55
13%
Arabuluculuk
5
20% / 20%
Süresi dolmuş
6
11%
Serbest
9
Geliştirici 9
Derecelendirme
(169)
Projeler
204
30%
Arabuluculuk
25
40% / 44%
Süresi dolmuş
12
6%
Serbest
Benzer siparişler
I have an EA and want to add few new logic to fetch profit taking factors and other values from an external master data and use it in existing EA
Hello Every one, Good day, I want from someone professional to create an EA is working on Mt5, This EA is working by depend on some indicators, and all those indicators must be working on MACD window, not on the chart, for more details please read my attached pdf file carefully. Many Thanks
I'm looking for an expert MQL5 developer that can create an EA that's based on my price action trading strategy with no indicators. The EA must analyze trades based on my price action rules, enter trades based on my price action rules, manage trades based on my price action rules and exit trades based on my price action rules
hi hi there i have an strategy on tradingview and i want to automate it like metatrader EA so i want the strategy to open and close trade automaticlly on tradingview
We are looking for an experienced Expert Advisor Developer who can build a customized MT5 Expert Advisor for us. The Expert Advisor would use two built-in indicators as entry/exit signals and our own risk management strategy with customizable inputs. The goal is to create a reliable and efficient trading tool that can automate our trading process on the MT5 platform. Skills required: - Strong understanding of
I need stochastic div (hidden &regular ea) that should perform task in all tf's ..divergence is a repaint stly so i want to use it with candlestick flips .. so bet for it
Hello, I have an indicator from a friend and I'd like to replicate it on my own TradingView or MT5 platform. Could you assist me with that?. Here is the link
so basically I have an EA(mql5), AI script(python), flask server and socket server both on python. Now this is an experimental script as I am trying to learn. However the EA is not entering any trades. How much would it cost for you to troubleshoot this for me? Thank you in advance
NEW FUNCTION 50+ USD
La idea es la siguiente, sería un EA semi automático. Yo como trader opero en zonas. En adelante las vamos a denominar ``zonas calientes´´. El EA debe que necesito debe operar conforme a 4 zonas calientes que yo configure en el mismo. ¿Qué hará el EA en cada una de esas zonas calientes que yo he configurado? En cada una de estas zonas el EA debe realizar hedging (crear un rango en el cual el EA entrara en sell o en
I have the bot just over half made, from another developer who let me down and decided they no longer wished to finish the project, so I have a basic example of the fundamentals of what it could look like, although multiple functions I require do not work, but I can show this to you on request. There are multiple features that I require, so please read the in depth requirement sheet on the attachment. Function: To

Proje bilgisi

Bütçe
30 - 50 USD
Geliştirici için
27 - 45 USD