how to get the "peak" K line and "valley" K line in a charting formed by many K lines.

 

I mean whether there is a function in MQL4 to do this?

if there is, shall I know which function?

Thank u! 

 
vx0532:

I mean whether there is a function in MQL4 to do this?

if there is, shall I know which function?

What is a "K line" ?
 

 This is a "charting formed by many K lines".

 

This is a "K line". 

 
vx0532:

 This is a "charting formed by many K lines".

 This is a "K line". 


OK,  so a candle or a bar . . .  use iHighest() and iLowest()  <---  click for the documentation.