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
(127)
Projects
178
31%
Arbitration
16
31% / 63%
Overdue
27
15%
Working
2
Developer 2
Rating
(230)
Projects
431
27%
Arbitration
123
21% / 55%
Overdue
96
22%
Working
3
Developer 3
Rating
(584)
Projects
912
46%
Arbitration
31
39% / 29%
Overdue
93
10%
Working
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
The future of the traders be a good traders and patient and humble person faithful loyalty to your job and last be a professional traders and helping a dream of us how to trade and etc,,,,,,,,,,,,,,,,,🤑
Executed every minute when the condition is met Added 3 adjustable parameters 01 Number of orders per order: 0.1 OR 0.01 LOT 02 The upper limit of the number of buy (sell) orders: 5 OR 10 03 ADX start condition: UP OR DOWN I NEED OPEN CODE
I need a simple equity protection EA. This EA will automatically close all open position when a certain margin level % is reached. For example if an account margin level % reaches 500% the EA must close all current opened positions automatically
HFT Scalper EA needed 50 - 500 USD
Overview Develop a high-frequency trading scalper EA for Forex markets Goal: exploit small price movements for rapid profits Key Requirements Trading Strategy Scalping strategy: buy/sell quickly to capture small price movements Use technical indicators (e.g., Moving Averages, RSI) to identify trading opportunities Risk Management Set stop-loss and take-profit levels Implement risk-reward ratio (e.g., 1:2) Order
Boa noite. Preciso de um robô baseado em latência HFT que replique as operações do mt4 nas corretoras de opções binárias. Precisa funcionar em todas as moedas e em todos os tempos. Precisa funcionar principalmente nas corretoras Quotex e Iq option. Ajustável: Quantidade de lotes, stop loss e estop ganhos. Uma área de logins e senha é necessária. tbm um trabalho , pois preciso comercializar o software após os testes
Will handle over the code as soon you are ready :) I have written a more or less simple MT5 EA, which is copying realtime from another MT5 terminal on the same computer. One terminal act as master and the other as slave. Its file absed, means, the master saves his trades into file and the slave copies it from the file
Hi, I have an EA that scans all pairs and based on a unique way of suggested buy or sell direction (all done already, you would just take the buy or sell suggested label this EA suggests for each pair) and then on a seperate chart an EA that will take this reading and when EURUSD says to buy, the EA will buy Just a few options i would need, Stop loss in pips TP in pips TP as an RR (so 1:1, 1:2 etc) Fixed lots % risk
Hello, I am seeking a skilled and experienced MQL4 developer to assist in creating a Metatrader 4 Expert Advisor (EA) that communicates with a WebSocket server to receive trade signals. i need a EA like ( www.mtsocketapi.com ) The project will involve the following key tasks: Develop a DLL or bridge application : The chosen developer will need to create a DLL or bridge application that can manage WebSocket
Hello, I am searching for the best and profitable SCALPING robot for only 2 pairs. If you have a profitable robot for either GOLD ( XAU/USD ) OR EURUSD OR BOTH In order to complete project I ask kindly that you send me demo version with license expiry of 1-2 days so I can test it in live market conditions. This is a requirement in order to move forward with project. Please no matingale, no hedging robots. Robot
Good day publishers so i am in need of a developer who is going to vonvert my 3 indicators into a robot ...this indicators has two mac D indictor with a two colors each (red & green) an d is have n arrow that pops up ..... Requirements .....1. so i want the robot to take trade when arrow pops and then the two mac ds should be in green coulor ( it must not take sells only for buy trade)....2. I want the robot to

Project information

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