Changing color of candles on certain conditions

MQL5 Indicadores Sripts

Trabajo finalizado

Plazo de ejecución 29 minutos
Comentario del Ejecutor
Good luck in trading :)
Comentario del Cliente
Fast and good work !

Tarea técnica

Hello,

I need a script, that changes the color of those candlesticks (body and wicks) in the main window, which comply with certain rules:

Input parameters:

x = ratio longer wick/body
y = ratio longer wick/shorter wick

color1 = color of candle, when rule part 1 is true
color2 = color of candle, when rule part 2 is true

(x and y should allow floating point values)

Rules:

IF  close - open > 0 THEN
IF (open - low) / (close - open) > x AND (open - low) / (high - close) > y
THEN color1

IF close - open < 0 THEN
IF (high - open) / (open - close) > x AND (high - open) / (close - low) > y
THEN color2

(Doji's will not be changed)

Thanks & best regards
Oliver

 

 

 

Han respondido

1
Desarrollador 1
Evaluación
(18)
Proyectos
37
43%
Arbitraje
6
17% / 50%
Caducado
17
46%
Libre
2
Desarrollador 2
Evaluación
(1235)
Proyectos
2820
80%
Arbitraje
156
22% / 43%
Caducado
487
17%
Libre
3
Desarrollador 3
Evaluación
(182)
Proyectos
342
42%
Arbitraje
118
12% / 73%
Caducado
104
30%
Libre
Ha publicado: 4 ejemplos
4
Desarrollador 4
Evaluación
(73)
Proyectos
257
53%
Arbitraje
16
50% / 38%
Caducado
83
32%
Libre
5
Desarrollador 5
Evaluación
(9)
Proyectos
18
22%
Arbitraje
3
67% / 33%
Caducado
4
22%
Libre
6
Desarrollador 6
Evaluación
(64)
Proyectos
144
46%
Arbitraje
20
40% / 20%
Caducado
32
22%
Libre
7
Desarrollador 7
Evaluación
(82)
Proyectos
150
29%
Arbitraje
9
44% / 11%
Caducado
46
31%
Libre
8
Desarrollador 8
Evaluación
(20)
Proyectos
46
54%
Arbitraje
3
67% / 0%
Caducado
14
30%
Libre
9
Desarrollador 9
Evaluación
(564)
Proyectos
845
73%
Arbitraje
15
53% / 13%
Caducado
193
23%
Libre
10
Desarrollador 10
Evaluación
(44)
Proyectos
128
66%
Arbitraje
10
20% / 60%
Caducado
35
27%
Libre
11
Desarrollador 11
Evaluación
(851)
Proyectos
1462
72%
Arbitraje
122
29% / 48%
Caducado
357
24%
Trabaja
Ha publicado: 3 artículos
12
Desarrollador 12
Evaluación
(63)
Proyectos
80
28%
Arbitraje
17
12% / 76%
Caducado
48
60%
Libre
13
Desarrollador 13
Evaluación
(493)
Proyectos
1022
58%
Arbitraje
30
27% / 23%
Caducado
133
13%
Trabaja
Solicitudes similares
Mt5 ea 30+ USD
I have a fast execution ea that need a little touch, it trade on gold and my problem is about the risk ratio the tp is 3pip and stop loss 20 but i cannot get it right to make the average win larger and average loss lower. I would like to know if i can get help to get it right without touching the tragedy and the trade frequency. Those two pictures I attached is the example of what my bot actually do like i explained
hello could you make me same indicator for ninja ? https://www.youtube.com/watch?v=pxs2MuqvH3w if yes for how much and timeline ? thks in advance and please reply me as soon as possible you get my notification
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

Información sobre el proyecto

Presupuesto
50- USD