Trouble Closing Specified Deal/ Position- Please Identify and Fix Error

Trabajo finalizado

Plazo de ejecución 21 horas
Comentario del Cliente
Quick turnaround, solved my problem. Happy with results. Thanks Nguyen Nga.

Tarea técnica

Hi there,


Please Identify and Fix:

Expert advisor (EA) cannot close specified deal/ position.

The error is 4756.

It currently has no problems opening positions, but the position ticket- PositionGetTicket(i), remains the same for both opening position and hedging in opposite direction on the same symbol.
I am using demo hedging mode.


A Successful Fix:


A successful fix would mean the EA will be able to open and close specified deals/ positions without error accordingly, with a unique Position Ticket Numbers assigned to each deal.

I need the separate Position Ticket Number as I intend to use TRADE_ACTION_CLOSE_BY to close specific deals, for example, closing the hedged position first/ only, and/or then the original position.

As I do not quite understand .mq5, I am open to other alternatives that is correct where I may be wrong, as long as it works and it can be explained to me.

Code will be shared with selected Developer to troubleshoot.

Full copyrights belong to client.

Thank you.

Han respondido

1
Desarrollador 1
Evaluación
(253)
Proyectos
358
49%
Arbitraje
24
25% / 50%
Caducado
80
22%
Libre
Solicitudes similares
My Ea is currently closing orders in Drawdow and is making loss after loss I need someone with coding experience to help me fix this problem and also make a couple of visual changes pls text me first I can explain everything more detailed n
Trading robots are programs, which operate according to underlying algorithms. An algorithm is a set of actions that need to be performed in response to certain events. For example, the most common task in algo trading is the identification of the "New bar" event. When the event occurs, the robot checks the emergence of trading signals and acts accordingly. Before you decide to program or order a trading robot, you
I have existing Ctrader automated strategy that I am using but will like to add and remove some features and after that I will like to convert it to mt5 ea…if this what you kindly bid now and let discuss what I need to add and remove
Mt4 mt5 robot 50+ USD
Hi i am searching for who can makes me Mt5 Robot I Need Only These Features In Robot And Add These Features In Inputs: 1: Analysis Method = RSI + ICHIMOKU 2: Execution Mode = on Every New Bar 2: Takeprofit in Pips 3: SL in Pips and also Set Breakeven when my positions are in profits 4: MaxTrades 5: Fixed Lotsize Message me for Ea parameters and for more information
Need to convert a 700-line MQL4 EA program to MQL5 for listing on the MT5 marketplace. The goal is to ensure compatibility and functionality within the MT5 trading platform environment
I would like to ask the following: I work on a CTrader account (provided by a Broker) but on the Tradingview Platform. I would like to place an order with you if you make the following configuration correctly and at a good price: It is only about SL and TP. They must work like this: 1. When launching any order, SL should be set at 60p pips and TP at 4000 pips distance. 2. Whenever the launched position moves up or
Hello, I need an EA for both MQL4 and MQL5 that complies with Prop Firm's rules of a maximum daily drawdown of 4%. This means it should close all trades after a 4% loss and not trade for the rest of the day. Additionally, it should not use martingale, grid trading, or trade stacking (opening three or more trades at the same time in the same direction). The EA should also be able to achieve a monthly return of 5-10%
I want someone to employ and will create a HFT robot for my company and it must work on MQL5 and it must open and close orders automatically must work on Synthetic Indices and programmer needs to understand how Synthetic indices move and the algo of them, robot must have high win rate for my Clients, must be able to grow small accounts. Programmer can possibly land a job as a Developer if the robot created works
HI, I'm looking for an experienced person who can add buy/sell indications/Alerts on existing Pinescript code along with little modification of the script and the script should connect to MT5 platform using pineconnector MT5 platform should execute trade instantly as based on the alerts/indications on tradingview script
I would like to find a developer who can develop an indicator that works with MT5 for Deriv synthetic indices (Deriv Broker) the developer should be an expert with Deriv, and has already developed systems for deriv broker The indicator should works with all assets with all the synthetic indices Volatility, Step, Jump, Boom , Crash, etc - Multiple RSI dashboard monitor to monitor multiple indices which shows a

Información sobre el proyecto

Presupuesto
30+ USD
Para el ejecutor
27 USD
Plazo límite de ejecución
a 10 día(s)