MACD Crossover Indicator with horizontal trendline on candle H/L (on MT4)

MQL4 Indicators

Job finished

Execution time 10 days

Specification

I would like to have an indicator shows the following:
1. When MACD crossover up, draw a horizontal trendline on the respective candle's low, length about 5 candles (only the first candle that has up macd)
2. When MACD crossover down, draw a horizontal trendline on the respective candle's high, length about 5 candles (only on the first candle that has down macd)

What I need on Input Page:
1. MACD setting (Fast EMA, Slow EMA, Signal SMA, Applied)
2. Trendline setting for MACD Crossover UP (Color, Style, Width, draw object as background option)
3. Trendline setting for MACD Crossover DOWN (Color, Style, Width, draw object as background option)
4. Number of trendline show on chart (range 1~600)
5. Multi-timeframe option (M1, M5, M15, M30, H1, H4, D1, W1, MN) 

Please allow a single chart to have multiple of this indicator, as I will use this on M1, and want to view the lines drawn from M5 and M15 chart as well. 

I would expect the indicator to auto drawing the new trendline whenever the macd crossover is confirmed, which is when that candle is done and completed. I don't want to see the trendline pop out and disappear as that potential crossover candle still moving up and down (No Repaint). 

Following is a picture of what I would expect from this indicator, as am now drawing these lines manually, hoping indicator can take over the drawing job. :) 

 

Responded

1
Developer 1
Rating
(807)
Projects
1127
43%
Arbitration
47
49% / 23%
Overdue
84
7%
Free
2
Developer 2
Rating
(43)
Projects
66
12%
Arbitration
12
58% / 42%
Overdue
1
2%
Free
3
Developer 3
Rating
(318)
Projects
565
35%
Arbitration
81
31% / 44%
Overdue
204
36%
Working
4
Developer 4
Rating
Projects
0
0%
Arbitration
1
0% / 100%
Overdue
0
Free
5
Developer 5
Rating
(65)
Projects
96
52%
Arbitration
3
33% / 67%
Overdue
24
25%
Free
Similar orders
Hello, I want a simple bot for NinjaTrader8. I need a bot that operates automatically on Nasdaq (NQ/MNQ). Requirements: open buys and sells following a simple trend strategy, configurable stop loss and take profit, risk per trade of 1 to 2% of capital, if it loses 3% in a day, stop trading until the next day. Compatible with backtesting, delivery of the source code and the working bot in NinjaTrader 8. My initial
[8/4/2026 4:54 AM] DR.HassaN: AI Gold Analysis Web Platform Requirements Hello, I would like to build a professional AI-powered web platform dedicated exclusively to Gold (XAU/USD) analysis . This is NOT a trading platform or broker . It is an intelligent analysis platform that provides high-quality trading signals and detailed market analysis. The platform should have a modern, premium design with my own branding
Ema100+Fibo 30+ USD
I need a robot that sends me a notification when the price aligns with the EMA and my Fibonacci levels—using specific Fibonacci settings—and then either opens a trade based on the Fibonacci SL and TP or simply sends me a notification. And I want the robot to run in both the Strategy Tester and on a demo account, so I can test it beforehand
I need a custom technical indicator that generates an equidistant channel with two specific structural features: 1. Vertical Multi-Intervals: The ability to plot more than 5 parallel, able to allow me to put intervals 2. Horizontal Angle Input: The ability to manually input geometric angle to strictly define the horizontal slope of the channel or allow me to pick two points manually. i am looking for something like
//+------------------------------------------------------------------+ //| DX_Structure_H1.mq5 | //| Copyright 2026, Seu Nome | //| https://www.mql5.com | //+------------------------------------------------------------------+ #property copyright "Copyright 2026" #property link " https://www.mql5.com " #property version "1.00" #property strict // Parâmetros de Entrada input string InpSymbol = "DX.F"; // Nome do Ativo
Hola, traders e inversores: Desarrollamos soluciones de trading algorítmico para MetaTrader 4 y MetaTrader 5. Creamos bots, indicadores y herramientas a medida que convierten estrategias manuales en sistemas automáticos, configurables y orientados a una gestión de riesgo sólida. Hemos trabajado en automatizaciones que integran entradas y salidas por reglas, cálculo de lotaje, control de drawdown, filtros de horario y
> "I am looking for a reliable and profitable Expert Advisor (EA) or trading robot for MetaTrader. The EA should have a proven track record, good risk management, and stable performance in live market conditions. Please share the name of the EA, a brief explanation of how its strategy works, and any relevant performance statistics or backtest reports to help me evaluate it."
I have an MT4 custom indicator (.ex4) that I use regularly, and I would like an identical MT5 version. Important: I do not have the source code (.mq4). I only have the compiled MT4 indicator. I am looking for an experienced MQL developer who can recreate the indicator's functionality and appearance for MT5 by analyzing its behavior. The MT5 version should match the MT4 version as closely as possible, including
I have a technical specification ready for a custom alert indicator in NinjaTrader 8 (NinjaScript / C#). Important clarification: it is NOT an automatic trading bot, it is solely a visual indicator (arrows/lines on the chart) and sound alerts (notifications) based on EMA crossovers and range breakouts (ORB 15m) on lower timeframes for futures (MES). I already have the exact rules written out unambiguously
A good trend predicting indicator is the one which can identify the trend change as soon as it happens on the chart. when a new candle is formed it should tell whether its going to go up or down. I have already seen a lot of repainting trend predictors so if your indicator is repainting then please don't bother contacting. I would like to see the demo version and then if satisfied , I would want the source code too

Project information

Budget
30+ USD
Deadline
from 1 to 5 day(s)