MQL4 Programming: Creating Automated Trading Systems

 

Hi All!

I am currently learning MQL4 programming and I am so excited to have my very own expert advisor.

Is there a MQL programming code that do the following:

1) Count the selected numbers of H1 candles from a specific time.
e.g. from 2300hrs to 0200hrs

2) Determine the highest and the lowest among these numbers of candles and set these highest and lowest as sell and buy stops

e.g. 3 candles, (2300hr, 0000hr and 1300hr), display/draw lines to mark highest and lowest. set highest price and lowest price as sell and buy stops.