Changing color of candles on certain conditions

Работа завершена

Время выполнения 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