MT5 Expert Advisor: Trading Custom Indicator Levels with Range Logic

MQL5 Esperti

Specifiche

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!

Con risposta

1
Sviluppatore 1
Valutazioni
(199)
Progetti
347
32%
Arbitraggio
33
42% / 27%
In ritardo
103
30%
Caricato
Pubblicati: 1 codice
2
Sviluppatore 2
Valutazioni
(277)
Progetti
283
71%
Arbitraggio
2
100% / 0%
In ritardo
0
Gratuito
Pubblicati: 1 codice
3
Sviluppatore 3
Valutazioni
(2588)
Progetti
3264
67%
Arbitraggio
77
48% / 14%
In ritardo
341
10%
Gratuito
Pubblicati: 1 codice
4
Sviluppatore 4
Valutazioni
(75)
Progetti
230
73%
Arbitraggio
6
100% / 0%
In ritardo
1
0%
In elaborazione
5
Sviluppatore 5
Valutazioni
(267)
Progetti
318
50%
Arbitraggio
12
42% / 0%
In ritardo
17
5%
Occupato
6
Sviluppatore 6
Valutazioni
(161)
Progetti
209
19%
Arbitraggio
18
44% / 17%
In ritardo
0
Gratuito
7
Sviluppatore 7
Valutazioni
(5)
Progetti
10
30%
Arbitraggio
1
0% / 100%
In ritardo
1
10%
In elaborazione
8
Sviluppatore 8
Valutazioni
(11)
Progetti
15
20%
Arbitraggio
3
67% / 0%
In ritardo
0
Gratuito
9
Sviluppatore 9
Valutazioni
(1)
Progetti
1
100%
Arbitraggio
0
In ritardo
0
Gratuito
Ordini simili
//+------------------------------------------------------------------+ //| 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

Informazioni sul progetto

Budget
50 - 80 USD
Scadenze
a 1 giorno(i)

Cliente

(10)
Ordini effettuati21
Numero di arbitraggi0