Enrique

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

NECESITO QUE ME PASEN UN ALGORITMO DE PROREALTIME A METATRADER

 

// Definición de los parámetros del código
DEFPARAM CumulateOrders = False // Acumulación de posiciones desactivada

// Condiciones para entrada de posiciones largas
indicator1 = Average[4](RSI[14](close))
indicator2 = Average[4](RSI[14](close))
c1 = (indicator1 CROSSES OVER indicator2)

IF c1 THEN
BUY 1 CONTRACT AT MARKET
ENDIF

// Condiciones de salida de posiciones largas
indicator3 = Average[4](RSI[14](close))
indicator4 = Average[4](RSI[14](close))
c2 = (indicator3 CROSSES UNDER indicator4)

IF c2 THEN
SELL  AT MARKET
ENDIF

// Condiciones de entrada de posiciones cortas
indicator5 = Average[4](RSI[14](close))
indicator6 = RSI[14](close)
c3 = (indicator5 >= indicator6)

IF c3 THEN
SELLSHORT 1 CONTRACT AT MARKET
ENDIF

// Condiciones de salida de posiciones cortas
indicator7 = Average[4](RSI[14](close))
indicator8 = Average[4](RSI[14](close))
c4 = (indicator7 CROSSES UNDER indicator8)

IF c4 THEN
EXITSHORT  AT MARKET
ENDIF

// Stops y objetivos
SET STOP pTRAILING 10       

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

1
Разработчик 1
Оценка
(106)
Проекты
314
49%
Арбитраж
42
52% / 19%
Просрочено
22
7%
Свободен
2
Разработчик 2
Оценка
(560)
Проекты
855
61%
Арбитраж
33
27% / 45%
Просрочено
24
3%
Работает
Опубликовал: 1 пример

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

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