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

MQL5 Indicadores Asesores Expertos

Trabajo finalizado

Plazo de ejecución 3 días
Comentario del Ejecutor
Great customer !
Comentario del Cliente
Very supportive and patient developer!

Tarea técnica

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

 


Archivos adjuntos:

PNG
sys_re1.png
32.6 Kb

Han respondido

1
Desarrollador 1
Evaluación
(84)
Proyectos
149
31%
Arbitraje
32
34% / 41%
Caducado
43
29%
Libre
Solicitudes similares
Hi, I have a Live Data feature for my trading accounts that lets me check details like total open positions, number of lots, profits, etc. I need someone to add the number of pending orders to this live data. This is important for me to ensure that all accounts have the same number of pending orders, since I use a copy trading system. Also, there is a website where I check all the data. In this case, you would need
Hello, i am searching for an experienced, professional software engineer, who can convert three Indicators from MQL4 to MQL5. This may sound like an easy job, but one indicator is like a trading system and therefore a bit complex. So you need to have a very good understanding of both languages. You should also be able to code MQL5 classes ( https://www.mql5.com/en/docs/basis/oop ). The intention is to code MQL5
I came across an indicator that's perfectly good in catching spikes in boom amd crash but i would want it to be modified and to improve accuracy As a professional you will have to go through the indicator and explain to me the strategy with which the indicator was buid and tell me the possibility of improving it better
An EA that executes when the 21 and 55 SMA Cross on certain time frame also the EA will understand supply and demand levels and executes when price reacts on this levels specified and target/stoploss levels will be predetermined...also the robot will also comprise stochastic oscillator
I have a full code ,, There are some errors in this.It does not add to the chart, does not show arrow marks, does not alert ,, fix this problem and work properly,, Contact on telegram @Gw_rakib1
Starting from scratch, I need a solution to develop my own crypto trading and exchange platform. This platform should compare prices across various exchanges like Coinbase, Binance, KuCoin, and Unocoin, as well as different cryptocurrencies. The solution must identify opportunities to buy on one platform and sell on another for a profit, transferring funds to my personal wallet instantly for security. The bot should
I am looking for a programmer to do EA trader. If you can understand what I want from the video i do and you can do it, contact me because you will be able to do what I want. https://drive.google.com/file/d/1wbHxbUQQqCkdpr0-pHfIh2b288LzYTV2/view?usp=sharing
I have an indicator i will like to view in form of dashboard across various timeframes, i also will like a push notifications alert feature that will appear on my mt4 mobile to keep track of my trading pairs
Need a dashboard, which can monitor up to 30 selected pairs in selected time frames. It monitors AO, MACD and stochastic. In the cells of dashboard, if AO is positive in the relevant symbol/tf, it writes "UP". When one of AO is above 0 level AND Stochastic is in OS zone it writes "UPUP". When AO is above 0 and when stochastics is oversold minimum of two times,it will alert UPU2 if AO is negative below 0 in the
Looking for custom strength indicators I can add to my EA. An indicator that can measure the strength of buyer and sellers. Please show me what you have, thank you

Información sobre el proyecto

Presupuesto
40 USD
Para el ejecutor
36 - 36 USD
Plazo límite de ejecución
a 3 día(s)