How to get lowest Price of bar based on time (in any time frame)?

 

hello,,

please i have the logic that gives me the number of the bars like so,,,

if i wan t o get the low of the bar number 5,,, how can i type it please,, thanks alot

 
Use the Search upper-right of site, you'll answer allot of your basic question with that.
 
3ammary:

hello,,

please i have the logic that gives me the number of the bars like so,,,

if i wan t o get the low of the bar number 5,,, how can i type it please,, thanks alot

ilow of the bar


a peice of my code iLow (NULL,PERIOD_H4,1);

returns low of the 4 hour previous

 

thanks alot,,

what is i want to modify this code

iLow (NULL,PERIOD_H4,1);

to get the lowest bar of the current time frame

not specific time frame

example : the code run in 5 min and 1 hour

 
https://docs.mql4.com/series/iLow
 
3ammary:
https://docs.mql4.com/series/iLow

https://docs.mql4.com/predefined/variables/Low
 
3ammary:
if i wan t o get the low of the bar number 5,,, how can i type it please,, thanks alot

Low[5]

RTFM and learn to code

Reason: