Changing color of candles on certain conditions

MQL5 Göstergeler Komut dosyaları

İş tamamlandı

Tamamlanma süresi: 29 dakika
Geliştirici tarafından geri bildirim
Good luck in trading :)
Müşteri tarafından geri bildirim
Fast and good work !

İş Gereklilikleri

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

 

 

 

Yanıtlandı

1
Geliştirici 1
Derecelendirme
(18)
Projeler
37
43%
Arabuluculuk
6
17% / 50%
Süresi dolmuş
17
46%
Serbest
2
Geliştirici 2
Derecelendirme
(1235)
Projeler
2820
80%
Arabuluculuk
156
22% / 43%
Süresi dolmuş
488
17%
Serbest
3
Geliştirici 3
Derecelendirme
(182)
Projeler
342
42%
Arabuluculuk
118
12% / 73%
Süresi dolmuş
104
30%
Serbest
4
Geliştirici 4
Derecelendirme
(71)
Projeler
254
53%
Arabuluculuk
16
50% / 38%
Süresi dolmuş
83
33%
Serbest
5
Geliştirici 5
Derecelendirme
(9)
Projeler
18
22%
Arabuluculuk
3
67% / 33%
Süresi dolmuş
4
22%
Serbest
6
Geliştirici 6
Derecelendirme
(62)
Projeler
140
46%
Arabuluculuk
19
42% / 16%
Süresi dolmuş
32
23%
Serbest
7
Geliştirici 7
Derecelendirme
(82)
Projeler
150
29%
Arabuluculuk
9
44% / 11%
Süresi dolmuş
46
31%
Serbest
8
Geliştirici 8
Derecelendirme
(20)
Projeler
46
54%
Arabuluculuk
3
67% / 0%
Süresi dolmuş
14
30%
Serbest
9
Geliştirici 9
Derecelendirme
(550)
Projeler
827
73%
Arabuluculuk
15
53% / 13%
Süresi dolmuş
193
23%
Çalışıyor
10
Geliştirici 10
Derecelendirme
(44)
Projeler
128
66%
Arabuluculuk
10
20% / 60%
Süresi dolmuş
35
27%
Serbest
11
Geliştirici 11
Derecelendirme
(807)
Projeler
1382
72%
Arabuluculuk
113
29% / 48%
Süresi dolmuş
343
25%
Yüklendi
12
Geliştirici 12
Derecelendirme
(63)
Projeler
80
28%
Arabuluculuk
17
12% / 76%
Süresi dolmuş
48
60%
Serbest
13
Geliştirici 13
Derecelendirme
(491)
Projeler
1017
58%
Arabuluculuk
29
28% / 24%
Süresi dolmuş
132
13%
Serbest
Benzer siparişler
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

Proje bilgisi

Bütçe
50- USD