MQL4 - automated forex trading   /  

Documentation

MQL4 Reference  Math & Trig  MathExp

 
Use the opportunities of
MQL5 in MetaTrader 5
Study the new MQL5 language
Study the new MQL5 language.
Reference is already available
double MathExp( double d)
Returns the value of e raised to the power of d. At overflow, the function returns INF (infinity), and it returns 0 at underflow.
Parameters:
d   -   A number specifying the power.
Sample:
  double x=2.302585093,y;
  y=MathExp(x);
  Print("MathExp(",x,") = ",y);
  //Output: MathExp(2.3026)=10