Euler – Euler number calculation – script MetaTrader 4

The script uses two functions: getE(), that calculates the Euler number, and Factorial(), that calculates the factorial of the number and is used in the calculations. The Euler number is calculated in the script according to the formula:   In order to determine e with a precision of 8 decimal places 12 iterations are sufficient. … Read more