명시
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
등급
프로젝트
314
49%
중재
42
52%
/
19%
기한 초과
22
7%
무료
2
등급
프로젝트
855
61%
중재
33
27%
/
45%
기한 초과
24
3%
작업중
게재됨: 1 코드
프로젝트 정보
예산
20 - 50 USD
기한
에서 1 로 3 일