Forum

Calculating time of the last 5 lows

Hi all, I am trying to write a dynamic tradehour.. I need to count the lowest lows of the last five days and find a time for each low for the calculation. Does anyone have any idea how I can do this? Better still does someone have an example line of code I can work from. thanks

Any Idea why this line of code does not work?

Hi People, I have taken this code from the MQL4 reference manual and I always assumed it was working. I have found out today, it does not work on a different chart than the period specified. on the 15 minute chart is prints the value of the last days close rather than the highest high for the last