Adding 2 functions to existing EA ( limiting number of order ,partial close) price negotiable

MQL5 Indicateurs Experts

Tâche terminée

Temps d'exécution 3 jours
Commentaires de l'employé
Great customer !
Commentaires du client
Very supportive and patient developer!

Spécifications

Hi, this should take very little of your time. price is negotiable depending on the finish of the EA

I would like to add the following 2 function to the EA.
1. the partial open/close
2. Limiting the number of open order

For your reference, following is the logic and how the current EA work. (refer to source code attached)

Long

open
- long when the low(1) is below the long-break-out line and low(0) is above the long-break-out line (the order is executed a the next bar or executed at the current bar if high(0) is apart from the break-out line for a certain distance
close
-take profit at certain pips
-close at short-break-out line

Short

Open
-Short when low(1) is above the short-break-out line and current price(bid) cross below the short-break-out line
close
-take profit at certain pips
-close at long-break-out line

Alert function
Email/Alert notification for error/open order.

The break out line/ take profit pips are being manually input as Extern variables


The problem I am having now is that the program seems to open multiples orders despite me trying to limit the number of open order to 1 or 2 at times per currency pair/chart.

The current EA seems to work fine with the system tester (only sending one order at time ) but once I attach it to the live trading chart, it starts sending multiple orders until the margin become in sufficient.

Followings are how I wish the EA to be modified into

Requirements

1. Limiting the open order function

2. Partial close/ open function as described (refer to illus)
3. Can be used by multiple charts ( same currency-pair /same or different time frames)

 

 

 

Long

open  (open whenever the condition is fuldilled and the number of open order is less than the predetermined number)
long when the low(1) is below the long-break-out line and low(0) is above the long-break-out line (the order is executed a the next bar or executed at the current bar if high(0) is apart from the break-out line for a certain distance

close condition 1 (close 1/3)
take profit at certain pips (lets say 20 pips)
close condition 2 (close 1/3)
take profit at certain pips (lets say 40 pips)

close condition 3 (close all)
close with the same condition as Short (crossing the short-break-out line)

 

Short

Open(open whenever the condition is fuldilled and the number of open order is less than the predetermined number)
Short when low(1) is above the short-break-out line and current price(bid) cross below the short-break-out line

close condition 1 (close 1/3)
take profit at certain pips (lets say 20 pips)

close condition 2 (close 1/3)
take profit at certain pips (lets say 40 pips)

close condition 3 (close all)
close with the same condition as Long (crossing the short-break-out line)

Alert function will also continue to work


example (refer to illustration)

Long order opened for 3 lots

closed with condition 1 for 1 lot
closed with condition 2 for 1 lot
closed with condition 3 for the rest

 


Dossiers :

PNG
sys_re1.png
32.6 Kb

Répondu

1
Développeur 1
Évaluation
(84)
Projets
149
31%
Arbitrage
32
34% / 41%
En retard
43
29%
Gratuit
Commandes similaires
I have the mq5 file, I need a buffer adding to the indicator, so it appears in the data window so I can reference it later in an EA. As the below screenshot shows, there is a median ray line from yesterday (the dashed horizontal line) - I want this value in the data window called Median Ray. I want this to be a single value per day, so todays Median Ray would be 17868, and so on each day. So I want all the Developing
I would like to develop my own indicator on metatrader 4 and tradingview. We would start with a basic version that we would improve later. It is an indicator based on several analyses and which would provide several indications. I am looking for someone who can develop on MT4 and Mt5, initially I would like to do it on mt4 and then on mt5. If you have expertise in pinescript it is a plus because I would like to
I urgently require swift assistance to convert a complex indicator into a fully functional scanner, capable of automatically sending real-time data, alerts, and notifications via email, ensuring seamless integration and prompt delivery of critical information to facilitate informed decision-making and timely action
I need to improve the code of an indicator that is too heavy and slow when running and when used with iCustom in an EA. No other changes to the indicator are requested: the original features of the indicator should remain as theay are. I'll provide the indicator after job acceptance. I request final source code mq5 file. Thank you Regards
I have a mt5 indicator that is working perfectly but I will like to make it an expert advisor to have an automated trade. I will be glad if I can get a well experienced developer to execute this project. Thanks
O TRABALHO CONSISTE NA MUDANÇA DO HISTOGRAMA DO INDICADOR TREDN DIRECTION AND FORCE DSEMA SMOOTHED PARA O HISTOGRAMA DA FOTO ANEXA, OBEDECENDO AS TRES CORES VERDE (UP, VERMELHOR(DOWN) E CINZA(TREND). O MESMO TEM QUE ODECER O MESMO CALCULO E COLORIR DA MESMA FORMA POREM COM HISTOGRAMA DDE FORMATO DIFERENTE
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
We are interested in a TradingView indicator that reads candlestick pattern shapes and shows the location of entry and exit points on a candlestick chart. What services do you provide related to this
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
the sl doesnt work i want the tp logic to remain i need the trend direction fucntion tow ork i the trend is up then only buys if down only sells i need the fibo nacci fucntion to work as well and the flat zone function to work as well and i need the code to trade 1% of the balance //+------------------------------------------------------------------+ //| US500_EA.mq4 | //|

Informations sur le projet

Budget
40 USD
Pour le développeur
36 - 36 USD
Délais
à 3 jour(s)