Download MetaTrader 5
To add comments, please log in or register
Log in to MQL5.community using OpenID. It is convenient!
Keep Marcos
120
Keep Marcos 2016.08.25 17:38 

Hello!!

how to know the maximum value of 10 bars?

 

Thanks people! =) 

Fernando Carreiro
2204
Fernando Carreiro 2016.08.25 17:46  
KeepMarcos: how to know the maximum value of 5 bars?
Use the iHighest() function! There are other ways too, but this one is the most commonly known!
Keep Marcos
120
Keep Marcos 2016.08.25 17:50  
FMIC:
Use the iHighest() function! There are other ways too, but this one is the most commonly known!

Thanks Brother Portugues.

I know this: valor1 = High[iHighest(NULL,0,MODE_HIGH,10,1)];

 

Good job! 

/
To add comments, please log in or register