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%
類似した注文
I need a MT5 Prop firm challenge passing EA with strict prop firm rules compliance. Any strategy can be used but win rate should be above 70%. It should have high impact news filter and a dashboard panel to monitor daily drawdown, target profit, current balance, etc. It should not have martingale, grid, hedging, etc
I want a MetaTrader 5 Expert Advisor based on Smart Money Concepts (SMC) and Power of 3 (PO3). Strategy logic: 1. Accumulation (Asian Session) - Define Asian session range (time customizable) - Mark Asian high and low - No trades during this session 2. Manipulation (London Session) - Detect liquidity sweep above Asian high or below Asian low - Must be a clear breakout with rejection (not slow drift) 3. Distribution (
Hello Developers I have a Project to get done! i have a simple strategy can you please create the automated forex ea to execute my trading strategy? i need custom ea for tradingview and mt4/mt5 correction: i need a tradingview indicator created that tells me when to buy or sell. and ea in mt4/mt5
Pro firm setup 30+ USD
Hi, I am starting a futures prop firm. Are you able to help me get data feed for this with no delays and can handle many traders on the platform. Additionally, are you able to handle charts for us
Mam kody EA Bot. Chciałbym je dokończyć, dopracować i ukończyć projekty. Chciałbym otrzymać pliki SET po ukończeniu EA. Jeśli jesteś zainteresowany, skontaktuj się ze mną. Szukam doświadczonego programisty do stworzenia dedykowanego doradcy eksperckiego (EA) do tradingu. Programista powinien posiadać solidną wiedzę z zakresu MT5, logiki strategii, wskaźników, zarządzania ryzykiem i backtestingu. Doświadczenie w
I am looking for an experienced developer to create a custom Expert Advisor (EA) for trading. The developer should have strong knowledge of MT4/MT5, strategy logic, indicators, risk management, and backtesting. Experience in building reliable and professional trading robots is preferred. Please contact me if you have done similar projects before. 9817724000
5.20buy-20.5sell 50 - 1000 USD
⸻ 🧠 Professional AI Prompt (Clear English Version) Act as a professional algorithmic trading engineer with deep expertise in developing automated trading systems for TradingView and MetaTrader. You have strong knowledge of market behavior, trend analysis, and risk management. Your task is to design a fully automated trading strategy based on the following requirements: ⸻ 🎯 Entry Conditions: • Open a BUY trade
I need a skilled MQL5 developer to build a fully functional Expert Advisor (EA) for MetaTrader 5 based on a simple but strict trading strategy. The EA will use EMA 50/200 trend detection combined with breakout and retest logic for entries. It must operate only during London and New York sessions and include solid risk management (fixed % risk, SL/TP, trade limits, and basic protection rules). APPLY ONLY IF YOU HAVE
VWAP BB Sniper EA Quantum VWAP Scalper SmartFlow FX Bot Institutional Edge EA 🧠 PRODUCT OVERVIEW VWAP + Bollinger Bands Auto Trading System A high-precision forex scalping bot designed to capture institutional price movements using: VWAP (fair value tracking) Bollinger Bands (volatility & entry timing) 👉 Built for fast, consistent intraday profits
Hello traders, I have Quantum queen v3.52, which is the latest version, available for $500 only. The price on the platform is around $1800, but I am offering it for a much lower price for serious buyers. Details: Product: Quantum queen Version: v3.52 Price: $500 Condition: Serious buyers only

プロジェクト情報

予算
30+ USD
締め切り
最高 10 日