Fix "lock profit" function not closing properly.
The attached EA is a basket trade manager, able to handle TP, TS, BE,SL, Jumping Stop on group of positions that can be "All the trades" or "specific trades" (eg: by comment, by pair, by magic, etc)-
within the Jumping Stop function the EA has a "Lock Profit function" based on 2 inputs:
1 - "breakeven" Input (eg: 200€)
2 - move SL After Breakeven of XX Pips or XX $. (50 €).
So in case the pair goes back, it should automatically close the position when the moves back to 50€ (or same logic with pips).
While the Lock profit seems working properly when the EA manages "all the positions", when managing "Only This pair" the EA identifies the Lock Profit to close, but the closing function doesn't then really close all the selected positions.
Job request is: Fix the "Close positions" within Locked profit function and check that CLosing function on "locked profit" works both on "pips" AND "$" AND on all Pair selection (eg: by magic number, by Ticket") .
After this request, if case of satisfactory work a new job request will be assigned to the same developer: "add partial close position" to be linked to "Trailing Stop" function


비슷한 주문
Specification 1. Objective To acquire or develop a technological solution that allows the generation of temporary “FLASH” USDT on the TRON (TRC20) network, with an on-chain lifespan equal to or greater than 180 days . 2. Functional Scope 2.1 FLASH USDT Generation Creation of temporary USDT tokens visible on the TRON TRC20 blockchain. Minimum lifespan: 180 days (or higher, depending on configuration). 2.2
Hello, I am interested in developing a professional MT5 Expert Advisor similar in functionality and technical sophistication to your reference product, Institutional SMC Robot: https://www.mql5.com/en/market/product/187011 I want to develop my own independent EA based on advanced Smart Money Concepts (SMC), with a strong focus on institutional price action, liquidity and market structure. The key functionalities I
Platform: MT5 only (no MT4 needed). Deliverable: an MT5 Expert Advisor with full source code (.mq5) that replicates the attached TradingView strategy (Pine Script v6, based on LuxAlgo's "ICT Killzones Toolkit" order blocks) as exactly as possible. Pasting the code into TradingView shows how it operates. I normally trade GBPUSD on the 5-minute chart Expected behavior: - Order block detection must match the Pine code
MarketMind Breakout Pro XAUUSD H1 — Donchian Breakout EA Project type: Personal EA development and backtesting Platform: MetaTrader 5 Instrument: XAUUSD Timeframe: H1 Strategy: Donchian Channel breakout with EMA 200 Project overview This project evaluates a Donchian breakout trading strategy for XAUUSD on the H1 timeframe. The system uses channel-based breakout conditions and an EMA 200 trend filter. Historical