An Indicator based on bar highs and lows

Job finished

Execution time 4 days
Feedback from customer
Excellent developer, really understood my requirements and implemented them perfectly!
Feedback from employee
Great customer. Thanks for your order.

Specification

I require a new indicator developing for MQL4 which will draw short horizontal lines (horizontal trend lines with Ray disabled is fine) which will run from a bar high to a bar low if they are within 'n' pips of each other.

The horizontal line length needs to be an external variable.

Basically from a current bar low you would check 'n' number of bars back and if a bar high is within 'n' pips of the current low then draw a short horizontal line from the bar high 'n' number of bars length forwards from current bar.

If 2+ lines are created for the current bar I would like only the highest line to be drawn.

I would also need an alert setting up and arrows if a bar closes beneath the current length of the line.

Vice versa for a current bar high against previous bar lows.

I can provide a chart with examples if needed.

Responded

1
Developer 1
Rating
(97)
Projects
121
25%
Arbitration
5
20% / 60%
Overdue
17
14%
Free
2
Developer 2
Rating
(365)
Projects
507
40%
Arbitration
159
17% / 74%
Overdue
99
20%
Loaded
3
Developer 3
Rating
(807)
Projects
1127
43%
Arbitration
47
49% / 23%
Overdue
84
7%
Free
4
Developer 4
Rating
(136)
Projects
196
43%
Arbitration
17
29% / 59%
Overdue
28
14%
Free
5
Developer 5
Rating
(361)
Projects
629
72%
Arbitration
14
43% / 7%
Overdue
28
4%
Free
Published: 9 codes
6
Developer 6
Rating
(59)
Projects
182
55%
Arbitration
31
45% / 16%
Overdue
103
57%
Free
7
Developer 7
Rating
(221)
Projects
369
66%
Arbitration
10
50% / 0%
Overdue
46
12%
Free
8
Developer 8
Rating
(772)
Projects
1039
44%
Arbitration
50
8% / 50%
Overdue
116
11%
Free
9
Developer 9
Rating
(574)
Projects
945
47%
Arbitration
309
58% / 27%
Overdue
125
13%
Free
10
Developer 10
Rating
(33)
Projects
35
40%
Arbitration
11
9% / 91%
Overdue
4
11%
Free
Published: 4 codes
11
Developer 11
Rating
(250)
Projects
460
26%
Arbitration
140
20% / 59%
Overdue
100
22%
Working
12
Developer 12
Rating
(94)
Projects
162
40%
Arbitration
20
15% / 75%
Overdue
73
45%
Free
Published: 3 codes
13
Developer 13
Rating
(564)
Projects
844
73%
Arbitration
15
53% / 13%
Overdue
193
23%
Working
Similar orders
I want a martingale + moving average cross ea. The second trade must be taken when the step is met and the moving averages are crossing The ea must have a manual step input. A manual multiply input and manual moving average input
Project Overview We have a highly optimized, production-ready custom cTrader cBot built for a fast-paced Renko breakout strategy (specifically trading XAUUSD/Gold). The core system architecture, structural mapping, and breakout logic are flawless. We are seeking an expert C# algorithmic developer for a targeted engagement to refine the execution mechanics and add an advanced trade management module. This is not a
SNIPER X AI 30 - 200 USD
I really need a developer Who can help me to create my SNIPER X AI - Elite AI Trading System Overview SNIPER X AI BOT is an AI-assisted trading system for Forex, Crypto, Stocks, Indices, and Gold. Currency: USD,RAND,KWD, POUND,EURO Core Features AI Scalping, Sniper Entries, Auto Buy/Sell, Smart Risk Management, Telegram Alerts, Mobile Monitoring, VPS Deployment. Supported Platforms MetaTrader 4, MetaTrader 5, Exness
Emmanuel bot 30 USD
No thank you just choose for me I need to be automatically buy and sell and take a profit only that is enough for me thank you so much my name is Emmanuel kabale
Limzy 30+ USD
//+------------------------------------------------------------------+ //| HighPerformanceEA.mq5 | //| Copyright 2026, AI Developer | //| https://www.mql5.com | //+------------------------------------------------------------------+ #property copyright "Copyright 2026" #property link " https://www.mql5.com " #property version "1.00" #property strict //
I need an experienced MQL5 developer to build a professional XAUUSD scalping Expert Advisor. The trading logic is already fully defined and will be shared privately with selected developers. Requirements Fast execution suitable for scalping Dynamic lot sizing Strict risk management Clean and optimized MQL5 code Compatible with MetaTrader 5 Additional Rules No repainting logic No delayed execution Avoid duplicate
Prepare expert for xauusd live chart [ expert is not executing xauusd trades , just printing the logic on the chart ] . Deletion and cleaning code ( subject to if required ) . Integration of candles with present logic, Since expert is coming out from an arbitration subject : Before project start , review the code if it is clean and ready for the developer to continue with previous developer's technical debt -thereby
Hello, I am looking for an experienced developer who can build a professional EA suitable for long-term prop firm account passing and account management. I am NOT interested in risky strategies such as martingale, grid, or aggressive recovery systems. My main priorities are: very low and stable drawdown, strong and consistent risk management, strict news filter, long-term sustainability, realistic and stable monthly
Need a Profitable with a good trading system or strategy. would test the product first Looking for a professional MT5 Expert Advisor based on smart strategies. The EA should include session filters, risk management, trailing stop, multi-pair support, and low drawdown protection. I need a consistent, high-probability automated trading system optimized for long-term profitability and funded account compliance
Junior EA 30+ USD
1. EA for MT5, hedging allowed. 2. Entry: 50 EMA crosses 200 EMA on H1. Buy on bullish cross, sell on bearish. 3. SL: 100 pips, TP: 200 pips. No trailing stop. 4. Lot size: 0.01 fixed. Max 3 trades at once. 5. Trade only 08:00-18:00 GMT. No trades if spread > 20 points. 6. Inputs: EMA periods, SL, TP, lot size, start/end time

Project information

Budget
30 - 80 USD
Deadline
to 10 day(s)