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

작업 종료됨

실행 시간 21 시간
고객의 피드백
Quick turnaround, solved my problem. Happy with results. Thanks Nguyen Nga.

명시

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.

응답함

1
개발자 1
등급
(253)
프로젝트
358
49%
중재
24
25% / 50%
기한 초과
80
22%
무료
비슷한 주문
HI, I'm looking for an experienced person who can add buy/sell indications and Alerts on existing Pinescript along with little modification of the script and the script should connect to MT5 platform using pineconnector MT5 platform should excute trade instantly as based on the alerts/indications on tradingview script
the moving average should coded in a way i can change its parameters, that is its periods and methods sell trade should be when a full bearish candle opens and closes under the moving average, after that it should open a sell trade upon the close of every bearish candle it should close all trades as soon as a bullish candle is formed under the MA, Its should resume the sell again when a bearish candle is formed, and
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
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
I want to convert the Sksystem into an automatic zoning indicator, and I want someone with experience in the field of the Sk system so that the indicator can be built with high and excellent accuracy. I want to know if it is possible to do this
I am looking for an EA that allows you to make profits every month. For this, before buying, I would like to have a history over more than one year to see how the EA behaves. I don't know if you're selling EAs that are already ready for use
I am looking for an EA that allows you to make profits every month. For this, before buying, I would like to have a history over more than one year to see how the EA behaves. I don't know if you're selling EAs that are already ready for use
Hi. I have a strategy that Ive backtested and is giving very good returns across 10 years. MODEL Inputs for optimisation would be : Trade on Monday Trade on Tuesday Trade on Wednesday Trade on Thursday Trade on Friday RR for Trade 1: default 3 Risk for Trade 1: default 1% BE for Trade 1 : default 0 (not applicable) RR for Trade 2 : default 1 Risk for Trade 2 : default 3% SL buffer : (default 0 .3pips(3 points) as
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

프로젝트 정보

예산
30+ USD
개발자에게
27 USD
기한
 10 일