Expert Advisor that closes open positions on the chart if average profit in pips/points on all open positions is achieved

MQL4 Uzman Danışmanlar

İş tamamlandı

Tamamlanma süresi: 3 gün
Müşteri tarafından geri bildirim
Yulia did a great Job developing the EA. She delivered the Version on time and was also very communicative. It was a pleasure working with her...
Geliştirici tarafından geri bildirim
I am very satisfied with the customer, it was a great pleasure working with Philipp!

İş Gereklilikleri

Hallo:


I am looking for a very simple EA or script that manages open positions on my MT4 platform (Broker Details: FXCM; 5 Digits account; 30:1 leverage; Instruments: FX & CFDs) that are manually openend.

Logic: If average profit from all open positions in FX-Pair/CFD-contract is more than X-amount in pips/points, then close x-% of all open positions

Example: 

  1. If the average profit from all open positions in EURUSD is:
    1. more than 10 pips/points, then close 33% of all open positions
    2. more than 20 pips/points, then close 33% of all open positions
    3. more than 30 pips/points, then close 33% of all open positions
  2. If there are for example 5 positions open at the moment the first profit target is reached, the EA should close 2 positions (so round up because it is not possible to close 1,66 (5*33%) positions). If the second profit target is reached (and there were no new positions created in the meantime) the EA should close 1 position ((5-2)*33% = 1)
  3. While the EA is running in the background, the programm always has to monitor the change in open positions. So in case new positions are manually openend or closed the EA has to recalculate its next operations.
    1. Example from above: If the Second profit target was reached and there were new positions entered in the meantime, the EA should start with the initial configuation, so that if the „new“ average profit from all open positions in EURUSD is:

                                                    i.     more than 10 pips/points, then close 33% of all open positions

                                                   ii.     more than 20 pips/points, then close 33% of all open positions

                                                  iii.     more than 30 pips/points, then close 33% of all open positions

  1. The EA should either use the FIFO (First in First out) or LIFO (Last in First out) principle, when closing positions
  2. I would like to enter several closing instructions; i.e.:
    1. 1) If the average profit then…
    2. 2) If the average profit then…
    3. 3) If the average profit…
  • If there needs to be a limit, than I would prefer 3 different closing instructions
  1. Under some circumstances the EA also needs to be able to work with magic numbers, so that it only closes positions that were assigned a certain magic number (on/off function).

 

This is an MVP and I am looking to further enhance the code with you in the future.

 

Please let me know about the approximate costs/time of the project.


Yanıtlandı

1
Geliştirici 1
Derecelendirme
(173)
Projeler
201
49%
Arabuluculuk
18
11% / 44%
Süresi dolmuş
1
0%
Serbest
2
Geliştirici 2
Derecelendirme
(3)
Projeler
7
29%
Arabuluculuk
1
100% / 0%
Süresi dolmuş
0
Serbest
3
Geliştirici 3
Derecelendirme
(3)
Projeler
6
0%
Arabuluculuk
3
33% / 33%
Süresi dolmuş
1
17%
Serbest
4
Geliştirici 4
Derecelendirme
(1235)
Projeler
2820
80%
Arabuluculuk
156
22% / 43%
Süresi dolmuş
488
17%
Serbest
5
Geliştirici 5
Derecelendirme
(2428)
Projeler
3057
66%
Arabuluculuk
77
48% / 14%
Süresi dolmuş
340
11%
Serbest
6
Geliştirici 6
Derecelendirme
(258)
Projeler
395
28%
Arabuluculuk
69
19% / 49%
Süresi dolmuş
120
30%
Serbest
7
Geliştirici 7
Derecelendirme
(15)
Projeler
24
21%
Arabuluculuk
1
0% / 100%
Süresi dolmuş
7
29%
Serbest
8
Geliştirici 8
Derecelendirme
(196)
Projeler
318
35%
Arabuluculuk
64
13% / 56%
Süresi dolmuş
82
26%
Serbest
9
Geliştirici 9
Derecelendirme
(94)
Projeler
148
59%
Arabuluculuk
16
38% / 13%
Süresi dolmuş
25
17%
Serbest
10
Geliştirici 10
Derecelendirme
(13)
Projeler
36
58%
Arabuluculuk
3
33% / 33%
Süresi dolmuş
6
17%
Serbest
11
Geliştirici 11
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
12
Geliştirici 12
Derecelendirme
(1855)
Projeler
3458
88%
Arabuluculuk
73
40% / 15%
Süresi dolmuş
265
8%
Serbest
13
Geliştirici 13
Derecelendirme
(119)
Projeler
127
41%
Arabuluculuk
3
33% / 67%
Süresi dolmuş
0
Serbest
Benzer siparişler
Arafat 30 - 80 USD
Offre valable uniquement pour avoir des nouvelles de votre réponse rapide de votre aide cordialement mme le quartier de votre avis sur les vacances scolaires et les activités de votre réponse
GOODAY TO YOU I AM NEED OF A FAST, TALENTED AND HIGH QUALITY CODER TO THIS JOB FOR ME. THE EA TRADE MANAGER WILL HAVE THE FOLLOWING: STOPLOSS & TAKEPROFIT IN PIPS LOT SIZE IN PIPS NUMBER OF TRADES (1-30 TRADES MAXIMUM) PLEASE LOOK AT THE PICTURE ABOVE FOR A GUIDE
evalq({ #نوع دالة التنشيط. الحقيقة <- c( "sig" , #: sigmoid "sin" , #: sine "radbas" , #: radial basis "hardlim" , #: hard-limit "hardlims" , #: symmetric hard-limit "satlins" , #: satlins "tansig" , #: tan -sigmoid "tribas" , #: triangular basis "poslin" , #: positive linear "purelin" ) #: linear السندات
Hello, I want to create an EA with the belowspecification. EA will check conditions based on following input parameters: ● High Price ● Low Price ● Move Value (in Price) ● Gap (in price) After start, EA will mark High and Low prices based on input parameters. EA will start trading when the current price will hit any of the price POSITION at High , Low, Control Buy or Control Sell . EA will open
a gap between 1 pip opposite order open continue once tp hit ea change position and start from 1 everything is manually adjustable tp gap pip and pip all show start from 0.01
If you are knowledgeable in hedging strategy we can chat. I created my simple EA using Fxdreema , so you only need to modify it for me. There are two parts of the EA , 1. Is the execution strategy 2. Is the money management strategy (hedging). I already created number 1 which is the execution of trades , I only need someone who can implement hedging in every orders the EA create. Additional Parameters needed. Trade
Necesito una placa EA que me permita ejecutar órdenes buy limit sell limit buy stop sell stop pero estas órdenes su tp su stop loss si triling stopp su punto de equilibrio debe ser virtual y algunas especificaciones mas solo aplican si tienes experiencia adjunta un ejemplo quiero algo como esto pero mas simple https://www.mql5.com/es/market/product/73489?source=Site +Market+MT5+Search+Rating006%3aEasyGRID+MT5
Hello Im looking for professional trading developer who htf ready made trading with best and working strategy with low risk level with average of 30 to 60 percent profit margin, broker is not problem, any broker is welcomed and any trading pairs are welcomed as well
Black Tokens EA 30+ USD
I want yo create a trading robot which can analyse into the markets and be able to spot what the market targets (Arrays) the robot should make out my strategies and respect them well
I am looking for a developer to create an automated ATM strategy for NinjaTrader. The strategy should operate as follows: Trade Entry : Manual entry based on a bullish or bearish engulfing pattern. Stop Loss : Set at the low of the previous candle for long trades and at the high of the previous candle for short trades, covering the entire candle body and wicks. Take Profit : Set at twice the size of the stop loss

Proje bilgisi

Bütçe
50 - 300 USD
KDV (19%): 9.5 - 57 USD
Toplam: 59.5 - 357 USD
Geliştirici için
45 - 270 USD