Array of Open, High, Low, Close and EMAs of each within Time Parameters

MQL4 Asesores Expertos Bibliotecas

Trabajo finalizado

Plazo de ejecución 38 días

Tarea técnica

Hi,

Because of Indexes that have day and night markets, I need an include file that I can include on my EAs, that will collect the Day market info, as opposed to the night data (or vice versa). Thats all I would like to acheive.

So Im guessing Ill need an array to access in my code, that collects the O,H,L,C of a period where the GMT Market start time (ie 6:00) and GMT Market endtime (ie:23:00) is set in the parameters. The Array would STOP collecting outside the GMT Market times, and resume when the time (ie Day Market) starts again. 

I would then like to be able to call EMAs and/or MAs on the stored array for any of the variables (O,H,L,C). So If I wanted an EMA, it would be calculated from the close price of the Day session for example.

OPTIONAL (for bonus points and an extra $5: Please make a box in the bottom left corner of the screen that lists the last 5 trading days, and the O,H,L,C of each day from the Array.

If the ema could be plotted that would be great. At night market im guessing it would turn into a straight line?)


Any takers? If it must be in an include so that i could re-use it!
Thank you!
Dale

Han respondido

1
Desarrollador 1
Evaluación
(180)
Proyectos
301
30%
Arbitraje
54
24% / 56%
Caducado
98
33%
Libre
2
Desarrollador 2
Evaluación
(54)
Proyectos
164
43%
Arbitraje
43
47% / 16%
Caducado
58
35%
Libre
Ha publicado: 1 ejemplo
3
Desarrollador 3
Evaluación
(4)
Proyectos
7
43%
Arbitraje
5
0% / 60%
Caducado
3
43%
Libre
Ha publicado: 1 ejemplo

Información sobre el proyecto

Presupuesto
10 - 20 USD