Error in EA

MQL4 Indicators Experts

Job finished

Execution time 3 days

Specification


I have an error in attached EA

Please see explanation

Picture 1- After installation of EA an buy and sell order will be opend. This is correct
EA should only be always open an buy and sell order.

 

Picture 2 - if now one of each order is closed (becaus of TP, SL or market) - this order will opend as pending as stop order will an trailling - This is correct
In example the buy order is closed and opend as pending. If now the sell order will be closed - it should also opend as stop pending order with trail. But with second closing it does not -
This has to fix

 

How should EA work - if the buy or sell order is closed in market it should be opend as pending .

And ther should be never more open as one buy and one sell from this EA.

 

Picture 3 - so the open sell order is closed - but instead that EA does place this closed sell order as stop pending wit trail - EA has opend again an buy and sell order.

Also EA does have 3 order - But EA should only have an buy and sell order.

 

May problem ist - that EA thinks its restarting and ther are no orders in market so he does place the buy and sell in market.

 

Doesen matter if at the beginning is first closed the buy order .... error is also with other first closing.

 


Responded

1
Developer 1
Rating
(126)
Projects
175
32%
Arbitration
16
31% / 63%
Overdue
27
15%
Free
2
Developer 2
Rating
(230)
Projects
431
27%
Arbitration
120
22% / 56%
Overdue
96
22%
Working
3
Developer 3
Rating
(583)
Projects
904
46%
Arbitration
31
39% / 29%
Overdue
93
10%
Loaded
4
Developer 4
Rating
(7)
Projects
9
33%
Arbitration
4
0% / 100%
Overdue
4
44%
Free
5
Developer 5
Rating
(195)
Projects
395
28%
Arbitration
155
20% / 52%
Overdue
112
28%
Free
6
Developer 6
Rating
(33)
Projects
35
40%
Arbitration
11
9% / 91%
Overdue
4
11%
Free
Similar orders
I am in search of a skilled and experienced MQL developer to create a versatile trading bot capable of handling both debt capital and equity capital markets. As a trader looking to optimize my strategies in these markets, I recognize the need for a customized solution that can adapt to the complexities and nuances of both asset classes. only professional should applied
Hello there, I have a proprietary EA in MT4. I have done the compilation to MT5 and of course, there are errors. Would you be able to review the errors and revert with the corrections if I send you captures in Doc, a few lines above each error? There are currently about 100 errors but most of them are repetitive codes. Fixing one could batch fix the others. So, actual errors would be less than 100 as it shows up on
Mt4 EA 30+ USD
Hello expert developer I'm looking toward for expert developer here that can advice on the subject of experts. I am looking for an expert who is best at trading XAU/USD Furthermore, he should also be suitable for debt capital And I would need help installing and setting up the code
Hi There, With the help of chatgpt I have a bit of what I want in the notquitethere file. What I am looking to achieve is buys/sells based on the following from the OptimusNinja indicator: if (Trend1 > Explo1 && psarUp && !bBigArrowUp && bShowMACDPSARArrow) { Draw.ArrowUp(this, "A" + CurrentBar, true, 0, Low[0] - TickSize * 7, Green_Brush); bBigArrowUp = true; if (bPlaySounds)
I have list of pregenerated signals on Telgram group I want arrow to up on the candle on the specific candle when it opensin the direct stated on the signal and must neve get redrawn For instance the signals are all sent out at at 8:00 GMT . AUUDUSD/BUY/M5/15:35GMT So on the AUDUSD chart an up arrow must appear below the opening of the 15:35 candle with an alert IF after 5 minutes the price is higher thabn the
Hello, I need an expert to develop a price action indicator for tradingview pinescript. When the price within a specified amount of candles breaks both barriers of a box formed by a specified amount of candles by a sideway move
Hi, Thanks for viewing the requirement. This job is applicable only for Pro Level Coders. Hi, I have an EA, which works like a copy trade system, and at the time of entering trades, It will be checking the files in common folder if its valid: C:\Users\kisho\AppData\Roaming\MetaQuotes\Terminal\Common\Files\DAILYPAIRS1\1\AUDJPY-BUY-1710525039-ROBO.txt The folder names can be of any: The EA reads this folder And if the
I am looking for an experienced developer to code an EA for me. The ea should read about 5 conditions from my indicators and place and exit trades based on my methods . If you can do it please send me your offer
PLEASE I WANT A LINE CHART BASED SUPPORT AND RESISTANCE, SUPPORT AND RESISTANCE BASED ON CANDLE CLOSE MTF IN SUCH A AWAY THAT I CAN SEE HTF FROM LTF. I WANT TO SEE THE NEXT DAY OR 4H TF CANDLE BODY CLOSE SUPPORT AND RESISTANCE
According my strategy. I use several lot size( contract) Lot 1= 2 contract. Lot 2= 4 contracts lot 3= 8 contract. -if first lot fall I use second one, if second falls I use third and so. - to make the job easy,I want a space to set each lot individually. No need to change number each time I loss or win. - I need : Buy and sell buttons Buy stop and sell stop button Tp and SL button Distance or market price level Take

Project information

Budget
30+ USD
VAT (19%): 5.7 USD
Total: 35.7 USD
For the developer
27 USD
Deadline
to 2 day(s)