Floor trader indicator

MQL4 Indicadores Conversión

Trabajo finalizado

Plazo de ejecución 4 días

Tarea técnica

I need a simple indicator. Inputs are 2 EMA. The indicator runs on open candle. Checks back the last N candle(N max 10).
Gives 3 values for BUY(0/1/2) and 3 values for SELL(0/1/2 ) in histogram.
Buy 1:
(From candle0 to t candle N any candle Open is >= EMA2)   AND
(From candle0 to t candle N any candle Low <= EMA2)         AND 
(From candle0 to t candle N any candle Close is >= EMA2)  
Buy 2:
(From candle0 to t candle N any candle Open is >= EMA1)   AND
(From candle0 to t candle N any candle Low <= EMA1)         AND 
(From candle0 to t candle N any candle Close is >= EMA1)  
Sell  1:
(From candle0 to t candle N any candle Open is <= EMA2)   AND
(From candle0 to t candle N any candle High is  >= EMA2)    AND 
(From candle0 to t candle N any candle Close is <= EMA2)  
  Sell  2:
(From candle0 to t candle N any candle Open is <= EMA1)   AND
(From candle0 to t candle N any candle High is  >= EMA1)    AND 
(From candle0 to t candle N any candle Close is <= EMA1)  
There are 2 filters for signals:
Filter 1:
In Buy direction ( EMA1(0) >= EMA1(1))  AND  ( EMA2(0) >= EMA2(1))  
Insell direction   EMA1(0) <= EMA1(1)  AND  EMA2(0) <= EMA2(1) 
Filter 2:
In Buy direction EMA1 >= EMA2
Insell direction   EMA1<= EMA2 
Calculation decimals are rounded to 4 decimals. So for example 1.45634 = 1.45633 in calculations. 

Han respondido

1
Desarrollador 1
Evaluación
(130)
Proyectos
210
40%
Arbitraje
90
20% / 43%
Caducado
85
40%
Libre
2
Desarrollador 2
Evaluación
(319)
Proyectos
571
35%
Arbitraje
83
31% / 45%
Caducado
206
36%
Libre
3
Desarrollador 3
Evaluación
(208)
Proyectos
297
54%
Arbitraje
0
Caducado
1
0%
Libre
Ha publicado: 6 ejemplos

Información sobre el proyecto

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