Define a Range: Highest and lowest Price of a Period last X Candles. The Period must be Adjustable by the User.
Orders:
-The EA must create a Buy Stop Pending Order on the Top of the Range and a Sell Stop Pending Order at the Bottom of the Range.
-No TP
-SL:
SL Distance = ATR (Recent Candle) * X (X =ATR Multiplier)
E.g.: For Buy Orders: Close of the recent Candle - SL Distance. For Sell Orders: Close of the Recent Candle + SL Distance. The ATR Multiplier and the ATR Period must be adjustable by the User.
You will Risk 2% of your Account. The Risk must be Adjustable by the User.
If your position is winning and you are up the amount you have risked (e.g. SL @ -100 but your position is +100) you open a new position, your SL is again -100 and your SL of the first position must be moved to break even. The risk is again 2% but your account is up 2% and you want to risk the unrealised profit too. Well, this explaination is not 100% correct, the EA must create a new pending order at place where have 1:1 CRV. More in the Video.
And so on, every +100 you open a new position and move the SLs accordingly (-100 for the newest and all other trades have to move their SL +100). The maximum amount of additional positions must be adjustable, on some assets you only want 2 additional trades, on some you want 15.
There is no TP, you only trail with the SL every +2%.
Most of the times you will have additional range breakouts in the same direction during the running trade but you obviously don't want to trade them, we have to filter them out.
But we might want to take the different direction. This means that a Short Trade is allowed while a Long Trade is running and vis versa (we have a Pending Order according to the rules at the other end of the Range). But this must be adjustable by the user (allow hedging - yes/no).
Set a Time Filter -> Set Trading Time e.g.: 9:00 to 17:00 (no pending orders outside these times current pending orders must be delted)
User Inputs:
-Range Period -> How many Candles to define low/high
-ATR Period -> How many Candle to define the ATR Value
-ATR Multiplier -> The SL Distance is calculated by the ATR Value * ATR Multiplier
-Risk per Trade in % -> How much to Risk per Trade
-Max. Additional Trades
-Use Time Filter? Yes/No
-Time Filter -> Set Trading Time e.g.: 9:00 to 17:00 (no pending orders outside these times, existing pending orders must be deleted)
-Allow Shorts? Yes/No
-Allow Longs? Yes/No
-Hedgemode -> Are Pending Orders in the different Direction allowed?
-E-Mail Notification? Yes/No
-E-Mail when: - new Pending Order @Symbol with @Price with @SLPrice
- Pending Order @Symbol Deleted
I have uploaded a Video to YouTube to explain the Strategy, HMU if you want the link.
Similar orders
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