Hello,
Before I explain what the EA should do, it is important to understand the way I trade, wich is very simple. Every day at the end of the day I place one limit order in some FX pairs, with a 100 points SL and a 100 points TP. This is done manually and I intend to keep doing so. What I need is an EA that cancels my order with it's respective TP and SL if a certain condition is satisfied, or manages my SL when my limit orders are executed .
Some observations:
*Should run in Metatrader 4
*The bid price should be the reference for every time I write "price".
*Price ranges are referenced in Points, not Pips (10 points=1Pip)
*All inputs required will be referenced by yellow Capital letters between "". ("A"; "B"; ...)
In more details, the EA (not sure if it is necessary to develop both an EA and Script to work together) should do the following:
1) If the price gets too close (between 0 and "X" points) to my limit order, and then it does not get executed and the price pulls back a certain amount of "Y" points away from it, the order must be canceled.

Why is that? I don't want the price that gets too close to my orders and not executing it to come back later to go right past it on a break out.
There will be rare cases when the price will go pass my entry 1 or 2 points and will not execute it (because of spread). If this happens and price goes to "Y", the order must be canceled as well.
Opposite to that, there will be rare cases when price will hit 0 points from my entry, WILL execute my entry and goes to "Y". In this case I will be with my order opened and I obviously don't want it to be canceled until TP or SL.
There should be an option in the input box to turn off this feature.
2) It should work like a Trailling Stop but with three steps defined by me. Once a limit order is executed (with TP and SL already placed by me), I want the SL to be modified in these three situations:
SL moves to "A" points when profit is up "B" points, then;
SL goes to "C" points when profit is up "D" points, then;
Sl goes to "E" points when profit is up "F" points.

3) The EA should be able to perform independently in each currency pair. (example: if my limit order in the EURUSD gets canceled by the first condition, the order on GBPUSD should not be canceled).
4) The EA should work for Long and Short positions
4) The Input screen should have those names:
"X": Distance tolerated
"Y": Pullback
"A": SL1
"B": Trigger points to SL1
"C": SL2
"D": Trigger points to SL2
"E": SL3
"F": Trigger points to SL3
Benzer siparişler
PROJECT: Automatic Gold and Forex Trading Robot for MetaTrader 5 (MQL5) I want a fully automated Expert Advisor (EA) for MetaTrader 5 that can analyze the market and automatically open, manage and close trades on Gold and selected Forex currency pairs. TRADING INSTRUMENTS Gold: XAUUSD Forex: EURUSD, GBPUSD and USDJPY, subject to broker availability. Allow the user to enable or disable each trading symbol. Support
I need a robot that will grow small accounts to bigger amounts like this one in this link, https://youtu.be/d38pMbJihew?si=3NeIOVyrlwDr4X_o. Please click the link and watch how this EA grow small accounts. Then create a robot like that. I will test it on demo first then if it does what i want, i will take it. Please it must be simply to use. It must set targets, for example, once it reaches $500 profit, it must
Here is a professional, detailed requirements specification draft for your MQL5 freelance order based on your prompt: Strategy Objective: Develop an automated Expert Advisor (EA) featuring a 1:3 Risk-to-Reward ratio optimized for a small starting budget. Core Trading Logic: Execute automatic Buy and Sell trades using high-probability entry signals. Target a strict 90% theoretical win-rate structure through
i want to fix my gold martingale bot MT5. RSI 14 ENTRY 30 BUY 70 SELL Lot 0.02 0.04 0.07 TP 150 for all SL 90 30 30 once total daily profit is 200$ stop trading stop trading once 2 consecutives total losses stop trading if spread exceeded 30 and between hour 15 & 17 PM Move SL to breakeven point once the profit exceeded 50 from from breakeven thanks
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
The purpose of this order is ONLY to test and implement my H1 POI (Point of Interest) identification logic correctly. I am not requesting the complete EA at this stage. I will provide the exact rules for identifying the H1 POI after selecting the developer. The developer must convert those rules into clear, deterministic MQL5 logic. Requirements: Analyze H1 candles according to the rules I provide. Identify and mark
Title: Fully Automatic MT5 Trading Bot (Expert Advisor) with Risk Management I want a fully automated trading robot (Expert Advisor) for MetaTrader 5, written in MQL5. The bot must automatically analyse market data, identify trading opportunities, execute BUY and SELL orders, manage open positions, and close trades according to predefined rules without requiring manual confirmation for each trade. Requirements
Hello, I’m looking for an experienced developer to research, build, test, and install a fully automated MetaTrader 5 trading bot for gold, XAUUSD. My total development and installation budget is $300, including all agreed work and fees. My goal is to pass a $100,000 FTMO US Two-Step Standard evaluation and sustainably maintain the funded account. I need a day-trading strategy that can buy in bullish markets and sell
I have three indicators that operate independently. I want to combine them into one indicator with custom expert programming that automatically enters trades when a signal is generated by one of the indicators. I will pay for this service Thanks you
Existing EA: NEW_CORE_ORB_M5_v021 | MT5 | XAUUSD M5 Early-stage research prototype, not a new EA from scratch. Need an experienced MQL5 developer to audit, complete, repair, improve and test BOTH independent strategies equally: Opening Range Breakout (ORB) and Scalp. Keep code lightweight and preserve an untouched baseline. No unnecessary rewrite or complex filters. 1. ORB Strategy Verify opening-range construction