Close All trades EA on target

MQL4 Experts

Trabalho concluído

Tempo de execução 6 dias
Comentário do cliente
My first time buying a freelance jod, but not the last Big thanks!! Recommended
Comentário do desenvolvedor
Thank you. The best customer on the mql. Recommended Strongly.

Termos de Referência

Hi,

Can somebody help  me with a small EA:

The EA should be for MT4. Its going to be used with other EA and manual trades.

The function of the EA

Option to set a daily/weekly/monthly or NoTimeSet target, both Profit and Loss
Option to set Equity P/L and closed P/L in % or amount 
When target is reached all open trades should be closed  and deactivate the trading functions for the all EA on the account.

And option to use Trail Target before close all

It should also have a "manual CloseAll" option so I can set it to "true" i properties at any time to close all

Exampel1.

Setting:
Profit target +5%
Max DD -3%
Time: Week

if +2% closed profit and open trades reach +3% profit = total +5% => Close All trades and and deactivate the trading functions

Or

if +2% closed profit and open trades reach -5%  DD = total -3% => Close All trades and and deactivate the trading functions              


Exampel2. Trail Target

Setting:

TrailTargetBy 2%

Profit target +5% (at 5% trail by 2%, that is if it goes to 6% and back down to 4% CloseAll)
Max DD -3%
Time: NoTimeLimit

if +2% closed profit and open trades reach +3% profit = total +5% => Start trail, if all trades close by other conditions and target is reached  deactivate the trading functions  

Or

if +2% closed profit and open trades reach -5%  DD = total -3% => Close All trades and and deactivate the trading functions     


Any suggestions on improvements is appreciated 


Automatic placement date should be shown on chart, and the rest of the information in attached picture and example below

                  "\n-------------------------------------------------"+

                  "\nStart Balance : " + StartBalance +

                  "\nAccount Balance : " + AccountBalance() +

                  "\nStart Date : " + Year1 + "-" + Mounth1 + "-" + Day1 + 

                  "\nAccount Equity : " + AccountEquity() +

                  "\nOpen PnL(€) : " + AccountProfit() + "€" +

                  "\nOpen PnL(%) : " + DoubleToString(OpenPnLProc,2) + "%" +

                  "\nAcumulated PnL(€) : " + AcumulatedPnLeur + "€" +

                  "\nAcumulated PnL(%) : " + DoubleToString(AcumulatedPnLproc,2) + "%" +

                  "\nMax Draw Down Percentage : -" + MaxDDPercentage + "%" +

                  "\nProfit Percentage Target : " + ProfitPercentageTarget + "%"  );



If possible also news-filter option

If possible i would like to have the option to allow trades again after a certain time have gone 

 

I also want to have the mq4-file in the delivery

Respondido

1
Desenvolvedor 1
Classificação
(21)
Projetos
35
54%
Arbitragem
8
63% / 38%
Expirado
1
3%
Livre
2
Desenvolvedor 2
Classificação
(19)
Projetos
35
26%
Arbitragem
10
30% / 70%
Expirado
5
14%
Livre
3
Desenvolvedor 3
Classificação
(82)
Projetos
86
57%
Arbitragem
25
0% / 84%
Expirado
19
22%
Livre
4
Desenvolvedor 4
Classificação
(28)
Projetos
30
63%
Arbitragem
0
Expirado
4
13%
Livre
5
Desenvolvedor 5
Classificação
(378)
Projetos
401
31%
Arbitragem
63
19% / 70%
Expirado
51
13%
Carregado
6
Desenvolvedor 6
Classificação
(277)
Projetos
334
55%
Arbitragem
14
36% / 29%
Expirado
1
0%
Livre
7
Desenvolvedor 7
Classificação
(261)
Projetos
424
38%
Arbitragem
86
44% / 19%
Expirado
70
17%
Ocupado
Pedidos semelhantes
Hi, Scalping ea is required in mql5 for JPY currency pairs(usdjpy, audjpy,gbpjpy,cadjpy) and USD currency pairs (audUSD,EURUSD, gbpUSD, NZDUSD, USDcad, USDCHF, xauusd). Scalping ea should be profitable. Please help on this
Looking for someone to implent the following grid strategy into my existing EA: Overview : I need a skilled developer to implement a grid recovery strategy into my existing Expert Advisor (EA) for MetaTrader 4 (MT4). The strategy involves adding grid trades based on price movement and adjusting lot sizes according to specific rules. It also includes closing trades at breakeven points and full position closure when a
Hey Guys i've a PineScript /Source Code / ( Trading View ) indicator which has Buy and Sell Sign . i wanna make a MT5/4 Robot by it with some features . I need it has a simple panel to shows some details of robot at screen
Hi dear coders, I have an EA and for this EA I want additional code for Risk Management at my code, trade is triggered with this line int TheTicket = OrderSend(_Symbol,TradeType,(double)DoubleToString(TheLots,2),TradeType==OP_BUY?Ask:Bid,10,TheSL,TheTP,TheComment,MagicNumber,0,TradeType==OP_BUY?clrBlue:clrRed); I want you create a code and tutorrial how to change my code. the new code will be Risk Management Inputs
I'm seeking a Forex HFT Scalping EA that operates on live streaming tick data and candlestick patterns, executing a high frequency of trades without balance restrictions. The EA should be compatible with major currency pairs like EUR/USD, GBP/USD, USD/JPY, AUD/USD, GBP/JPY, GBP/AUD, and XAU/USD, as well as US30 indices. Given its HFT nature, it should focus on the 1-minute, 5-minute, 15-minute, and 30-minute
I need a custom MT5 EA that can place trades (Buy & Sell) from two Telegram channels. One telegram channel will give the trend signal (Bullish or Bearish) and the second telegram channel will give buy and sell signals
hello i like to have zigzag added to my EA and set orders when it makes a pullback strategy (Higerlow/Lowerhigh) or break of market structure strategy Higherhigh/Lowerlow break set order entry I want it to be able to do these 2 things but one at a time. -Zigzag makes a pullback into an HigherLow/LowerHigh set order entry -Zigzag breaks structure HigherHigh/LowerLow set order entry - For PULLBACK STRATEGY i just want
Looking for a indicator that can show where the majority of retail stop losses are placed Please can someone advise me how best to achieve this but it needs to be accurate
Me gustaría poder crear automaticamente varias ordenes que se queden pendientes pudiendo definir los siguientes parámetros: Tipo de orden (Buy y sell stop, buy y sell limit. Precio de compra / venta. Pudiendo entrarlo manualmente o como un numero de puntos a sumar/restar del precio actual de marcado. Numero de puntos que ocuparan en total las ordenes y numero de ordenes a insertar (Ejemplo: 200 puntos, 4 ordenes, es
tardes desarolladores, quiero hacer un sistema semiatomatico, el deberia abrir las operaciones de venta o compra en un punto donde yo haga el analisis cumpliendo siertos criterios, por ejemplo abrir la operacion despues de que tresvelas del mismo color salga de un punto donde yo deje marcado , abriendo una operación 1/1 tenuendo en cuenta dos lineas que yo dejare marcadas

Informações sobre o projeto

Orçamento
30 - 50 USD
IVA (25%): 7.5 - 12.5 USD
Total: 37.5 - 62.5 USD
Desenvolvedor
27 - 45 USD
Prazo
de 1 para 10 dias