MathMax

 

Hi,


does anyone know how the MathMax function in MT4 is calculated/works? How can you get a maximum value for two static/fixed numbers without a formula? And how would you get a MathMax for three numbers (the MathMax in MT4 allows only two)?


Thanks in advance. :)

 
MathMax(MathMax(A,B),C)
 
So Maximum(High[0]-Low[0], High[0]-Close[1], Close[1]-Low[0]) is the same as MathMax(MathMax(High[0]-Low[0], High[0]-Close[1]), Close[1]-Low[0])?
 
Roost_12:
So Maximum(High[0]-Low[0], High[0]-Close[1], Close[1]-Low[0]) is the same as MathMax(MathMax(High[0]-Low[0], High[0]-Close[1]), Close[1]-Low[0])?

yes.

Reason: