Convert indicator from Tradingview.com site to mql4

MQL4 Конвертация

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

Время выполнения 1 час
Отзыв от исполнителя
Спасибо!

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

I need to convert an indicator from Tradingview.com to mql4. Source code is provided. Indicator need to look same as in Tradinview and editable so you can "hide" some aspects of it in the chart.
1 study(title="EMA Scalper - Buy / Sell", shorttitle="EMA Scalper – B / S", overlay=true)
2 len = input(20, minval=1, title="Length")
3 src = input(close, title="Source")
4 out = ema(src, len)
5 plot(out, title="EMA", color=blue)
6 last8h = highest(close, 8)
7 lastl8 = lowest(close, 8)

9 plot(last8h, color=red, linewidth=2)
10 plot(lastl8, color=green, linewidth=2)


13 bearish = cross(close,out) == 1 and close[1] > close 
14 bullish = cross(close,out) == 1 and close[1] < close 

16 plotshape(bearish, color=red, style=shape.arrowdown, text="Sell", location=location.abovebar)
17 plotshape(bullish, color=green, style=shape.arrowup, text="Buy", location=location.belowbar)

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

1
Разработчик 1
Оценка
(574)
Проекты
945
47%
Арбитраж
309
58% / 27%
Просрочено
125
13%
Свободен

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

Бюджет
40+ USD
Сроки выполнения
до 2 дн.