Horizontal Trend Lines

Техническое задание

I need an indictor/script that will draw exact horizontal trendlines.

I attached an image to show what I mean.

The purple horizontal lines show candlesticks which hit the same exact price point.

The lines which are to be automatically drawn can be OHLC as shown by the purple lines.

The lines may go through the High or Low but never solid candles.

The small blueish line shows the line going through only one solid candle which is okay.

The lines shouldn't exceed more than one solid candle, (I added the yellow line to show this), the yellow line goes through two solid candles.

Also, they must NOT be continuous lines which extend both ways forever.

Final requirement is that the the lines should not match a two different sides of candles (for ex: the top side of a candle can only match with other top sides of candles whether red or green, but cannot match with the bottom side unless the line can go through that bottom side and match with the top side of a candle as shown in the blue line in the attached image and vise versa)

Файлы:

Откликнулись

1
Разработчик 1
Оценка
(312)
Проекты
521
47%
Арбитраж
29
10% / 45%
Просрочено
139
27%
Работает
2
Разработчик 2
Оценка
(72)
Проекты
147
67%
Арбитраж
21
10% / 71%
Просрочено
44
30%
Свободен

Информация о проекте

Бюджет
20 USD
Сроки выполнения
от 1 до 3 дн.