Changing color of candles on certain conditions

MQL5 Indicatori Script

Lavoro terminato

Tempo di esecuzione 29 minuti
Feedback del dipendente
Good luck in trading :)
Feedback del cliente
Fast and good work !

Specifiche

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

 

 

 

Con risposta

1
Sviluppatore 1
Valutazioni
(18)
Progetti
37
43%
Arbitraggio
6
17% / 50%
In ritardo
17
46%
Gratuito
2
Sviluppatore 2
Valutazioni
(1235)
Progetti
2820
80%
Arbitraggio
156
22% / 43%
In ritardo
488
17%
Gratuito
3
Sviluppatore 3
Valutazioni
(182)
Progetti
342
42%
Arbitraggio
118
12% / 73%
In ritardo
104
30%
Gratuito
4
Sviluppatore 4
Valutazioni
(71)
Progetti
254
53%
Arbitraggio
16
50% / 38%
In ritardo
83
33%
Gratuito
5
Sviluppatore 5
Valutazioni
(9)
Progetti
18
22%
Arbitraggio
3
67% / 33%
In ritardo
4
22%
Gratuito
6
Sviluppatore 6
Valutazioni
(62)
Progetti
140
46%
Arbitraggio
19
42% / 16%
In ritardo
32
23%
Gratuito
7
Sviluppatore 7
Valutazioni
(82)
Progetti
150
29%
Arbitraggio
9
44% / 11%
In ritardo
46
31%
Gratuito
8
Sviluppatore 8
Valutazioni
(20)
Progetti
46
54%
Arbitraggio
3
67% / 0%
In ritardo
14
30%
Gratuito
9
Sviluppatore 9
Valutazioni
(550)
Progetti
827
73%
Arbitraggio
15
53% / 13%
In ritardo
193
23%
In elaborazione
10
Sviluppatore 10
Valutazioni
(44)
Progetti
128
66%
Arbitraggio
10
20% / 60%
In ritardo
35
27%
Gratuito
11
Sviluppatore 11
Valutazioni
(807)
Progetti
1382
72%
Arbitraggio
113
29% / 48%
In ritardo
343
25%
Caricato
12
Sviluppatore 12
Valutazioni
(63)
Progetti
80
28%
Arbitraggio
17
12% / 76%
In ritardo
48
60%
Gratuito
13
Sviluppatore 13
Valutazioni
(491)
Progetti
1017
58%
Arbitraggio
29
28% / 24%
In ritardo
132
13%
Gratuito
Ordini simili
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

Informazioni sul progetto

Budget
50- USD