Changing color of candles on certain conditions

MQL5 Indicateurs Scripts

Tâche terminée

Temps d'exécution 29 minutes
Commentaires de l'employé
Good luck in trading :)
Commentaires du client
Fast and good work !

Spécifications

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

 

 

 

Répondu

1
Développeur 1
Évaluation
(18)
Projets
37
43%
Arbitrage
6
17% / 50%
En retard
17
46%
Gratuit
2
Développeur 2
Évaluation
(1235)
Projets
2820
80%
Arbitrage
156
22% / 43%
En retard
488
17%
Gratuit
3
Développeur 3
Évaluation
(182)
Projets
342
42%
Arbitrage
118
12% / 73%
En retard
104
30%
Gratuit
4
Développeur 4
Évaluation
(71)
Projets
254
53%
Arbitrage
16
50% / 38%
En retard
83
33%
Gratuit
5
Développeur 5
Évaluation
(9)
Projets
18
22%
Arbitrage
3
67% / 33%
En retard
4
22%
Gratuit
6
Développeur 6
Évaluation
(62)
Projets
140
46%
Arbitrage
19
42% / 16%
En retard
32
23%
Gratuit
7
Développeur 7
Évaluation
(82)
Projets
150
29%
Arbitrage
9
44% / 11%
En retard
46
31%
Gratuit
8
Développeur 8
Évaluation
(20)
Projets
46
54%
Arbitrage
3
67% / 0%
En retard
14
30%
Gratuit
9
Développeur 9
Évaluation
(550)
Projets
827
73%
Arbitrage
15
53% / 13%
En retard
193
23%
Travail
10
Développeur 10
Évaluation
(44)
Projets
128
66%
Arbitrage
10
20% / 60%
En retard
35
27%
Gratuit
11
Développeur 11
Évaluation
(807)
Projets
1382
72%
Arbitrage
113
29% / 48%
En retard
343
25%
Chargé
12
Développeur 12
Évaluation
(63)
Projets
80
28%
Arbitrage
17
12% / 76%
En retard
48
60%
Gratuit
13
Développeur 13
Évaluation
(491)
Projets
1017
58%
Arbitrage
29
28% / 24%
En retard
132
13%
Gratuit
Commandes similaires
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

Informations sur le projet

Budget
50- USD