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.
相似订单
Do you need a profitable and well-structured trading strategy converted into a fully automated Expert Advisor on the MT5 platform? I specialize in developing advanced, high-performance EAs with: ✅ Smart entry & exit logic ✅ Risk-based lot size calculation ✅ Break-even & trailing stop system ✅ Spread & session filters ✅ Daily drawdown protection ✅ Prop firm (FTMO-style) risk compliance ✅ Fully automated trade
DO NOT RESPOND TO WORK WITH ANY AI. ( I CAN ALSO DO THAT ) NEED REAL DEVELOPING SKILL Hedge Add-On Rules for Existing EA Core Idea SL becomes hypothetical (virtual) for the initial basket and for the hedge basket . When price hits the virtual SL level , EA does not close the losing trades. Instead, EA opens one hedge basket in the opposite direction. Original basket direction Hedge basket direction (opposite) Inputs
Hello, I have a breakout EA with reversal logic. I own the full source code for both MT4 and MT5 versions. I need the modifications implemented for both MT4 and MT5 versions. I need several modifications: – Multiple reversals with configurable parameters – Breakeven functionality – Entry only after candle close beyond range + offset – Time-based activation – Alternative offset calculation logic – Automatic close at
Hi I have a simple task (hopefully) I have a custom strategy that I built with the help of Claude Anthropic - everything is finished and I zipped it with power shell but when importing it NT8 gives me the error message that the file was made from an older, incompatible version or not a NinjaScript. My folder structure is correct as far I can see so I don't know what the issues is and it's costing me too much to go
Do you happen to have a profitable strategy for MNQ? it is urgent if any one can help me with this i will be happy to discuss with you and move forward to pay for it kindly let me know the amount thank fill free to bid
Subject: Development of Ultra-High Precision Confluence Indicator - M1 Binary Options (Non-Repaint) Hello, I am looking for a Senior MQL5 Developer to create a custom "Surgical Precision" indicator for MetaTrader 5, specifically optimized for 1-minute (M1) Binary Options trading. The system must integrate three distinct layers of algorithmic analysis. 1. Core Logic: Triple-Layer Confluence The signal (Call/Put)
Looking for an experienced MQL5 developer to design and develop a custom Expert Advisor (EA) for MetaTrader 5. The purpose of this EA is not just automated trading, but also to help me better structure, test, and refine my personal trading strategy
Professional MT5 EA – XAUUSD I need a professional Expert Advisor for MT5 (MQL5) to trade XAUUSD only. This is not a random scalping bot. The EA must trade only high-probability liquidity breakouts during active sessions and avoid ranging or low-volatility markets. Symbol: XAUUSD Timeframe: M15 (optional H1 confirmation) Session filter (Dubai GMT+4): Trade only London and New York sessions Adjustable session times No
Fill orders first execution and real time trading, my strategy is that wait for clean confirmation before entering the market and fill orders for a snappier entrance,then execute trade after making profit on the position
"I am looking for an expert developer to build a custom Forex Expert Advisor based on my specific strategy. Requirements: Full Source Code (.mq5) must be delivered. I retain 100% Intellectual Property and ownership of the bot. Must include a Risk Management module (Fixed Lot or % of balance). Must include a Trailing Stop and Break-even feature. Bot must be compatible with the MT5 Strategy Tester for 99% quality