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
488
17%
Libre
3
Desarrollador 3
Evaluación
(182)
Proyectos
342
42%
Arbitraje
118
12% / 73%
Caducado
104
30%
Libre
4
Desarrollador 4
Evaluación
(71)
Proyectos
254
53%
Arbitraje
16
50% / 38%
Caducado
83
33%
Libre
5
Desarrollador 5
Evaluación
(9)
Proyectos
18
22%
Arbitraje
3
67% / 33%
Caducado
4
22%
Libre
6
Desarrollador 6
Evaluación
(62)
Proyectos
140
46%
Arbitraje
19
42% / 16%
Caducado
32
23%
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
(550)
Proyectos
827
73%
Arbitraje
15
53% / 13%
Caducado
193
23%
Trabaja
10
Desarrollador 10
Evaluación
(44)
Proyectos
128
66%
Arbitraje
10
20% / 60%
Caducado
35
27%
Libre
11
Desarrollador 11
Evaluación
(807)
Proyectos
1382
72%
Arbitraje
113
29% / 48%
Caducado
343
25%
Trabajando
12
Desarrollador 12
Evaluación
(63)
Proyectos
80
28%
Arbitraje
17
12% / 76%
Caducado
48
60%
Libre
13
Desarrollador 13
Evaluación
(491)
Proyectos
1017
58%
Arbitraje
29
28% / 24%
Caducado
132
13%
Libre
Solicitudes similares
I need an expert to decrypt my itf file using on prorealtime. I forgot my password, so I need to generate the source code. I need someone that can help me to derive source code from the itf file I have
I’m looking for someone experienced with Think or Swim to create a backtesting script for an in-the-money Iron Condor strategy using options on the SPX. The strategy involves setting up 10 contracts of an Iron Condor with a 10-point spread width and a net credit requirement of $11 per contract. The goal is to backtest the performance over the last three years, focusing on trades where the SPX closes outside a
I currently have a license code that connects to my web server, and I add the account number, client name, and expiration date. I’d like something more automated. Currently I allow clients 10 licenses, but adding for them on my side can get exhausting. I’d like a better solution for myself and clients

Información sobre el proyecto

Presupuesto
50- USD