Changing color of candles on certain conditions

MQL5 지표 스크립트

작업 종료됨

실행 시간 29 분
피고용인의 피드백
Good luck in trading :)
고객의 피드백
Fast and good work !

명시

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

 

 

 

응답함

1
개발자 1
등급
(18)
프로젝트
37
43%
중재
6
17% / 50%
기한 초과
17
46%
무료
2
개발자 2
등급
(1235)
프로젝트
2820
80%
중재
156
22% / 43%
기한 초과
488
17%
무료
3
개발자 3
등급
(182)
프로젝트
342
42%
중재
118
12% / 73%
기한 초과
104
30%
무료
4
개발자 4
등급
(71)
프로젝트
254
53%
중재
16
50% / 38%
기한 초과
83
33%
무료
5
개발자 5
등급
(9)
프로젝트
18
22%
중재
3
67% / 33%
기한 초과
4
22%
무료
6
개발자 6
등급
(62)
프로젝트
140
46%
중재
19
42% / 16%
기한 초과
32
23%
무료
7
개발자 7
등급
(82)
프로젝트
150
29%
중재
9
44% / 11%
기한 초과
46
31%
무료
8
개발자 8
등급
(20)
프로젝트
46
54%
중재
3
67% / 0%
기한 초과
14
30%
무료
9
개발자 9
등급
(550)
프로젝트
827
73%
중재
15
53% / 13%
기한 초과
193
23%
작업중
10
개발자 10
등급
(44)
프로젝트
128
66%
중재
10
20% / 60%
기한 초과
35
27%
무료
11
개발자 11
등급
(807)
프로젝트
1382
72%
중재
113
29% / 48%
기한 초과
343
25%
로드됨
12
개발자 12
등급
(63)
프로젝트
80
28%
중재
17
12% / 76%
기한 초과
48
60%
무료
13
개발자 13
등급
(491)
프로젝트
1017
58%
중재
29
28% / 24%
기한 초과
132
13%
무료
비슷한 주문
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

프로젝트 정보

예산
50- USD