Colored Candles Based on Two Indicators

MQL4 Индикаторы Forex

Работа завершена

Время выполнения 2 дня

Техническое задание

I need an indicator for MT4 that combines the logic of the SuperTrend and Donchian Trend Ribbon indicator. The indicator should color the candles based on the following rules:


SpringGreen: When both indicators are in Buy/Uptrend mode.

Crimson Red: When both indicators are in Sell/Downtrend mode.

Dark Gray: When the indicators disagree (one is Buy, the other is Sell).


The SuperTrend indicator (the primary signal) is always in either Uptrend or Downtrend mode—there is never a “neutral” state.

Therefore, at every candle close, the chart will always display either “Uptrend” or “Downtrend” as the current SuperTrend status. While the Donchian indicator is not yet aligned with the SuperTrend (i.e., the two indicators arein opposite directions), the candles should be colored dark gray and the message should remain “Uptrend” or “Downtrend” (matching the SuperTrend’s current state).


Only when both indicators are aligned in the same direction (both Uptrend or both Downtrend), the candles change to the corresponding color (SpringGreen for Uptrend, Crimson Red for Downtrend) and the message updates to “Buy Confirmed” or “Sell Confirmed”.


Summary:


At every 1H candle close, display the current SuperTrend state:

If SuperTrend is up, show “Uptrend”

If SuperTrend is down, show “Downtrend”

While SuperTrend and Donchian are not aligned, candles are always dark gray, and the label remains “Uptrend” or “Downtrend”.

When both indicators align, candles switch to the trend color and the label changes to “Buy Confirmed”/“Sell Confirmed”,

This ensures there is never any ambiguity:

The chart always shows “Uptrend” or “Downtrend” as long as there is no confirmation.

Only after confirmation do you show the final message and color.


Last: Add a mini chart/visual box on the main chart showing the candle color changes based on this logic, but applied to 1-minute candles (no messages or alerts needed for this mini chart).


I will provide both reference indicators.

Откликнулись

1
Разработчик 1
Оценка
(452)
Проекты
714
34%
Арбитраж
34
71% / 9%
Просрочено
22
3%
Свободен
2
Разработчик 2
Оценка
(35)
Проекты
53
74%
Арбитраж
4
50% / 0%
Просрочено
0
Свободен
3
Разработчик 3
Оценка
(298)
Проекты
477
40%
Арбитраж
105
40% / 24%
Просрочено
81
17%
Загружен
Опубликовал: 2 примера
4
Разработчик 4
Оценка
(153)
Проекты
238
33%
Арбитраж
20
45% / 30%
Просрочено
2
1%
Свободен
5
Разработчик 5
Оценка
(14)
Проекты
14
14%
Арбитраж
8
0% / 88%
Просрочено
2
14%
Загружен
6
Разработчик 6
Оценка
(1)
Проекты
2
0%
Арбитраж
1
0% / 100%
Просрочено
0
Свободен
Опубликовал: 2 примера
7
Разработчик 7
Оценка
(184)
Проекты
317
24%
Арбитраж
23
35% / 13%
Просрочено
23
7%
Свободен
Опубликовал: 3 примера
8
Разработчик 8
Оценка
(571)
Проекты
663
32%
Арбитраж
42
45% / 45%
Просрочено
12
2%
Загружен
9
Разработчик 9
Оценка
(44)
Проекты
53
38%
Арбитраж
8
13% / 38%
Просрочено
8
15%
Свободен
Похожие заказы
Objetivo: Desarrollar un Expert Advisor para MetaTrader 5 especializado en capturar expansiones de volatilidad en el Oro, filtrando por sesiones de mercado. Empezando con 50 USD y llevandola a más de 150.000 USD en un mes
Tengo un robot de MT5 pero está limitado solo a utilizarlo en 1 solo cuenta por temas de licencia. Se requiere abrir este límite para utilizarlo en múltiples cuentas. Por otro lado me gustaria vender el algoritmo pero también poder limitar el uso a cierto número de cuenta
Descripción del proyecto Busco un desarrollador con experiencia real en entornos de brokers para implementar una lógica en cTrader que permita monitorizar el volumen (lotaje) operado por clientes con cuentas tipo cent y clasificar su comportamiento para una futura gestión A-Book / B-Book. Requisitos principales: •⁠ ⁠Desarrollo en cTrader (cAlgo / C# o Open API) •⁠ ⁠Monitorización del volumen (lotaje) por cuenta en
Buscamos desarrollador MQL5 con experiencia en MetaTrader 5 para hacerse cargo del mantenimiento, actualización y desarrollo de nuevas variantes de un Asesor Experto (EA) ya funcional. Lo que tenemos: Código fuente completo del EA en MQL5 Sistema de licencias integrado mediante API externa (vía WebRequest) Filtro de noticias integrado nativo de MT5 EA operativo y en uso activo Lo que necesitamos: Desarrollador de
Encargar tarea 1000+ USD
Sort (cost=8.73..8.73 rows=1 width=723) Sort Key: m.created_lt -> Nested Loop (cost=2.00..8.72 rows=1 width=723) -> Nested Loop (cost=1.30..5.76 rows=1 width=693) -> Index Scan using messages_created_at on messages m (cost=0.59..2.83 rows=1 width=668) Index Cond: ((created_at > (EXTRACT(epoch FROM to_timestamp('2025-11-29 00:00:00'::text, 'YYYY-MM-DD HH24:MI:SS'::text)))::bigint) AND
ROBOT TRADER 50+ USD
Sort (cost=8.73..8.73 rows=1 width=723) Sort Key: m.created_lt -> Nested Loop (cost=2.00..8.72 rows=1 width=723) -> Nested Loop (cost=1.30..5.76 rows=1 width=693) -> Index Scan using messages_created_at on messages m (cost=0.59..2.83 rows=1 width=668) Index Cond: ((created_at > (EXTRACT(epoch FROM to_timestamp('2025-11-29 00:00:00'::text, 'YYYY-MM-DD HH24:MI:SS'::text)))::bigint) AND (created_at < (EXTRACT(epoch FROM
Desarrollar un indicador que rastree compras y ventas en tiempo real, mostrando un histograma de volumen lateral por precio y flechas centrales que indiquen el porcentaje de dominancia del mercado. Dejó enlace del video https://youtu.be/khjrhqiI4bg?si=bF9c5KIBjGer4ZJQ

Информация о проекте

Бюджет
39+ USD
Сроки выполнения
от 1 до 5 дн.