Convert TradingView Script to MT5 Indicator

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

Время выполнения 4 дня
Отзыв от исполнителя
great client to work with. He's very professional in trading algorithms and provided valuable insights to me. And Fast response. Thank you.
Отзыв от заказчика
Great experience!! STRONGLY RECOMMENDED Petru is one of the best developers I ever work with. Strong technical skill and well communication.

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

I need a pinescript indicator "Currency Strength Meter" below converted to an MQL5 indicator.  Straightforward request, the MT indicator must be accurate and no error. 


//@version=4
study("Correlation Hedge", shorttitle="CoH")
//len = input(200, title="Length")
len = input(200, title="Length", minval=3)
smt = input(5, title="Smoothing EMA period", minval=1)

usd = security("DXY", timeframe.period, close)

myStoch(x) =>
    200 * (x - lowest(x, len)) / (highest(x, len) - lowest(x, len)) - 100

Calc_inv(sec) =>
    base = security(sec, timeframe.period, close) / usd
    myStoch(base)
Calc_dir(sec) =>
    base = usd / security(sec, timeframe.period, close)
    myStoch(base)

sigEur = ema(Calc_inv("EURUSD"), smt)
sigUsd = ema(myStoch(usd), smt)

plot(sigUsd, title="USD", color=#ff7f00, linewidth=2)
plot(sigEur, title="EUR", color=#00ffff, linewidth=2)


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

1
Разработчик 1
Оценка
(4)
Проекты
3
33%
Арбитраж
1
0% / 100%
Просрочено
0
Свободен
2
Разработчик 2
Оценка
(32)
Проекты
57
23%
Арбитраж
12
67% / 8%
Просрочено
2
4%
Свободен
3
Разработчик 3
Оценка
(13)
Проекты
21
24%
Арбитраж
1
100% / 0%
Просрочено
3
14%
Свободен
4
Разработчик 4
Оценка
(337)
Проекты
624
38%
Арбитраж
40
23% / 65%
Просрочено
93
15%
Свободен
Опубликовал: 4 статьи, 19 примеров

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

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