Convert this Pine Script (only 8 lines of code) strategy to MQL5 as an EA

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

Время выполнения 12 часов
Отзыв от исполнителя
Thank you very much, sir :)
Отзыв от заказчика
Took a basic description of what I wanted, then proceeded to provide exactly what was asked. I'll be requesting personal work in the near future.

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

The following code is in Pine Script.  I need it converted to MQL5 to be applied as an EA.

strategy("Trend", overlay=true)

tim=input('160')

out1 = security(tickerid, tim, open)
out2 = security(tickerid, tim, close)

plot(out1,color=red)
plot(out2,color=green)

longCondition = crossover(out2,out1)
if (longCondition)
    strategy.entry("long", strategy.long)

shortCondition = crossunder(out2,out1)
if (shortCondition)
    strategy.entry("short", strategy.short)

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

2
Разработчик 2
Оценка
(192)
Проекты
232
30%
Арбитраж
1
100% / 0%
Просрочено
9
4%
Свободен
Опубликовал: 2 примера
3
Разработчик 3
Оценка
(206)
Проекты
333
35%
Арбитраж
66
12% / 58%
Просрочено
87
26%
Свободен
4
Разработчик 4
Оценка
(94)
Проекты
148
59%
Арбитраж
16
38% / 13%
Просрочено
25
17%
Свободен
Опубликовал: 1 пример

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

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