MT5 Expert Advisor: Trading Custom Indicator Levels with Range Logic

MQL5 Experts

Specification

Hi,

I need you to build a MetaTrader 5 Expert Advisor (EA) that works based on a custom indicator I already have.

▶️ The indicator:
- It draws multiple horizontal lines above and below the current price, based on a 360-degree price cycle calculation.
- These levels are dynamic and update as price moves.

▶️ EA logic:
1. The EA should detect all horizontal lines drawn by the indicator in real time.
2. Around each line, the EA should calculate a fixed buffer zone (range), set via input.
   - Example: If a line is at 0.5000 and the range is 0.0010 → the zone is from 0.4990 to 0.5010

3. Trading conditions:
   - If price breaks above the upper range → open Buy
   - If price re-enters the range → close Buy
   - If price breaks below the lower range → open Sell
   - If price re-enters the range from below → close Sell

4. No Take Profit, no Stop Loss, no grid or martingale for now.
5. Include a simple “Close All” button on the EA panel.

▶️ Display Requirements on Chart (Overlay UI):
- Show the current total net profit/loss of all open and closed trades (realized + floating PnL)
- Show how many levels (lines) are currently active with open positions
- This should be displayed as a small panel in a corner of the chart (top-left or top-right)

▶️ Additional notes:
- The EA must dynamically work with all lines drawn by the indicator, even as new levels are added.
- Make sure each trade is tracked individually per line breakout.
- The goal is to use the indicator's levels as core trade triggers.

Please let me know if you need access to the indicator file or further explanation.

Thank you!

Responded

1
Developer 1
Rating
(199)
Projects
347
32%
Arbitration
33
42% / 27%
Overdue
103
30%
Loaded
Published: 1 code
2
Developer 2
Rating
(277)
Projects
283
71%
Arbitration
2
100% / 0%
Overdue
0
Free
Published: 1 code
3
Developer 3
Rating
(2588)
Projects
3264
67%
Arbitration
77
48% / 14%
Overdue
341
10%
Free
Published: 1 code
4
Developer 4
Rating
(75)
Projects
230
73%
Arbitration
6
100% / 0%
Overdue
1
0%
Working
5
Developer 5
Rating
(267)
Projects
318
50%
Arbitration
12
42% / 0%
Overdue
17
5%
Busy
6
Developer 6
Rating
(161)
Projects
209
19%
Arbitration
18
44% / 17%
Overdue
0
Free
7
Developer 7
Rating
(5)
Projects
10
30%
Arbitration
1
0% / 100%
Overdue
1
10%
Working
8
Developer 8
Rating
(11)
Projects
15
20%
Arbitration
3
67% / 0%
Overdue
0
Free
9
Developer 9
Rating
(1)
Projects
1
100%
Arbitration
0
Overdue
0
Free
Similar orders
//+------------------------------------------------------------------+ //| EA Divergence SR + RSI & MACD Confirmation (MT5) | //+------------------------------------------------------------------+ #property strict #include <Trade/Trade.mqh> CTrade trade; input double RiskPercent = 2.0; input int StopLoss = 100; input int TakeProfit = 200; input int TrailingStop = 50; input int SRLookback = 20;
Hello, I am looking for someone to code an MT5 EA that repeats a recently closed order. Once say a stop loss is hit, the EA should create a pending order instantly
I am looking to have a custom indicator created that marks my customizable orderblock/FVG zones on the chart and can then detect price re-enters and exits the unmitigated portion of this zone and will change color to show this. After a portion of the zone is mitigated or filled, the zone is redrawn to only the unmitigated zone. Zones are also no longer projected further along the chart after price passed through the
Looking for an experienced MQL5 developer to build a custom Expert Advisor that combines Simple & Exponential MAs , market structure (swing highs/lows) , and 2 bullish + 2 bearish candle patterns to generate 2 Buy and 2 Sell setups . ✅ EA Features: MA Filters : Customizable SMA & EMA Market Structure : Detect basic swing highs/lows, identify bias Candle Patterns : 2 bullish + 2 bearish (logic will be provided) Trade
I have a method I need converted to MT 4/5 EA, both. It uses two common indictors. See attached Note: Whoever want to message me must be an experienced developer
program ussd zar cad adsafafaefefefqfeqfeqfqefqefesaddqdqDDF FAEWF FA RWFWEF ERWF WE FAEW FRE FA EWRF EF EW FAEW F EWF EW FEW F EWF SADASDW WDA WD AWDW DWA DEAW DEAE D ADADEA DAEDE D EDEADAEDADEDEA D ED AED AED AD
Hey mql5 commmunities, I am a seasoned trader wanting to turn my manual trading script into a well functional trading robot, you will just have to implement the exact ideas as environed then build a reliable trading bot expert advisor, and able to share a test version for backtesting, running thorough backtesting and share backtesting reports for the metrics I am requesting, would also love to have the mql4 version
i need a simple but super fast local trade copier copy everything exactly whatever is put in master with 3 simple lot options: 1) fixed (not relative to master's size), 2) % of equity (not relative to master's size) and 3) lot zize, relative to master's size instal master to 1 chart instal client (slave) to 1 chart if client terminal has the pair or instruments traded in master will be copied any extra features will
Hi, could someone help me in developing a simple EA forex robot which has following features: 1. Open 2 trades at the same time i.e. 1 buy trade and 1 sell trade of the same currency pair. 2. The lot size of each trade should be 0.05 lots and there should be a flexibility to modify this lot size. 2. On opening the buy trade, it should have a Take profit of 40pips and Stop loss of 30 pips. These TP and stop loss can
hello great developer i want to fix this script This arrow shouldn’t of printed because the renko brick ended red{ check the image} One other guy said this ‘okay I am seeing, arrow sticks because your code plots it conditionally but never deletes it later. This is expected behavior unless you add cleanup logic like -- Chart.RemoveObject(...) for outdated arrows... not sure if you understand the technical parts

Project information

Budget
50 - 80 USD
Deadline
to 1 day(s)

Customer

(10)
Placed orders21
Arbitrage count0