Highest H1 Open on the current day New comment Alberto Tortella 2019.01.18 21:47 Hi all, I'm trying to write an .mqh file to find the highest H1 Open for the daily bar. Could you help me? Thank you! double HIGHEST_H1_OPEN; double HIGHEST_H1_OPEN() { for(u=Hour()-1; u==0; u--) if ( ???? ) { HIGHEST_H1_OPEN = iOpen(NULL,PERIOD_H1,u) ; u = 0 } return(HIGHEST_H1_OPEN); } problem with iTime on GOLD Lowest low after 8.00 I need an help with this monitor Marco vd Heijden 2019.01.18 21:57 #1 Please check iHighest() and iHigh() Keith Watford 2019.01.19 02:55 #2 for(u=Hour()-1; u==0; u--) Not a valid condition for a loop as it will only execute when u equals zero. New comment
Hi all, I'm trying to write an .mqh file to find the highest H1 Open for the daily bar.
Could you help me? Thank you!