How to get Max/Min values of ExtMapBuffer[]?
use mathmax or mathmin function
MathMax( double value1, double value2)
Returns the maximum value of two numeric values, and hence can not be applied on Buffer[]
My custom ExtMapBuffer[] is fluctuating between -ve and +ve regions,
For each region, I need to get its MAX/MIN strokes - for the visible bars - in order to be used as EXIT for SELL/BUY positions.
Any suggestions?
You could use
https://docs.mql4.com/array/ArrayMaximum
and the matching ArrayMinimum function
My custom ExtMapBuffer[] is fluctuating between -ve and +ve regions,
For each region, I need to get its MAX/MIN strokes - for the visible bars - in order to be used as EXIT for SELL/BUY positions.
Any suggestions?