use mathmax or mathmin function
maniac1984:
use mathmax or mathmin function
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[]
OmegaFX:
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

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
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?