Moving average logic

MQL5 Asesores Expertos

Trabajo finalizado

Plazo de ejecución 2 días
Comentario del Cliente
This guy made everything I asked him to. I truly recommend him.

Tarea técnica

Hello guys!

 I want to send this orders automatically in accordance with my time to start and to close them all with time to stop. 

Let me write you the trading logic I want to set, firstly inputs:

 

Financial per position: That will convert 5000 usd into shares always rounded by 100

Symbol: I want this EA to do this same logic for a list of symbols as well. And this trade should only occurs ONCE A DAY my time frame desired is Daily

NO STOP PROFIT OR LOSS just closing when time to stop is reached. 

Time to start

Time to stop

% between limit orders

Rules :

fuzzy = 0; 

 if yesterday close > ema[3]  fuzzy = fuzzy + 0.25

else 

 fuzzy = fuzzy - 0.25 

if yesterday close > ema[5]  fuzzy = fuzzy + 0.25

else 

 fuzzy = fuzzy - 0.25 

if yesterday close > ema[10]  fuzzy = fuzzy + 0.25

else 

 fuzzy = fuzzy - 0.25

if yesterday close > ema[15]  fuzzy = fuzzy + 0.25

else 

 fuzzy = fuzzy - 0.25

if yesterday close > ema[20]  fuzzy = fuzzy + 0.25

else 

 fuzzy = fuzzy - 0.25  

 

if yesterday close RSI  >  65 fuzzy = fuzzy + 0.25

else 

 fuzzy = fuzzy - 0.25  

 

if fuzzy > 1.50

send 1 buy market order at startTime

send 3 buy limit orders at  yesterday close 

 1) yesterday close - (atr(14)/2)

 1) yesterday close - (atr(14)/1.5) 

 1) yesterday close - (atr(14)) 

 

if fuzzy < 1.50

send 1 short market order at startTime

send 3 sell limit orders at  yesterday close 

 1) yesterday close + (atr(14)/2)

 1) yesterday close + (atr(14)/1.5) 

 1) yesterday close + (atr(14))  

Han respondido

1
Desarrollador 1
Evaluación
(414)
Proyectos
670
33%
Arbitraje
60
17% / 32%
Caducado
113
17%
Trabaja

Información sobre el proyecto

Presupuesto
10 - 30 USD
Plazo límite de ejecución
de 1 a 2 día(s)