Rejoignez notre page de fans
Euler - Euler number calculation - script pour MetaTrader 4
- Vues:
- 10122
- Note:
- Publié:
- 2016.07.01 09:14
- Besoin d'un robot ou d'un indicateur basé sur ce code ? Commandez-le sur Freelance Aller sur Freelance
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.
2.71828 18284 59045 23536 02874 71352 66249 77572 47093 69995 95749 66967 62772 40766 30353 54759 45713 82178 52516 64274 27466 39193 20030 59921 81741 35966 29043 57290 03342 95260 59563 07381 32328 62794 34907 63233 82988 07531 95251 01901 15738 34187 93070 21540 89149 93488 41675 09244 76146 06680 82264 80016 84774 11853 74234 54424 37107 53907 77449 92069 55170 27618 38606 26133 13845 83000 75204 49338 26560 29760 67371 13200 70932 87091 27443 74704 72306 96977 20931 01416 92836 81902 55151 08657 46377 21112 52389 78442 50569 53696 77078 54499 69967 94686 44549 05987 93163 68892 30098 79312 77361 78215 42499 92295 76351 48220 82698 95193 66803 31825 28869 39849 64651 05820 93923 98294 88793 32036 25094 43117 30123 81970 68416 14039 70198 37679 32068 32823 76464 80429 53118 02328 78250 98194 55815 30175 67173 61332 06981 12509 96181 88159 30416 90351 59888 85193 45807 27386 67385 89422 87922 84998 92086 80582 57492 79610 48419 84443 63463 24496 84875 60233 62482 70419 78623 20900 21609 90235 30436 99418 49146 31409 34317 38143 64054 62531 52096 18369 08887 07016 76839 64243 78140 59271 45635 49061 30310 72085 10383 75051 01157 47704 17189 86106 87396 96552 12671 54688 95703 50354 02123 40784 98193 34321 06817 01210 05627 88023 51920 …
Traduit du russe par MetaQuotes Ltd.
Code original : https://www.mql5.com/ru/code/8535
The script opens a BUY order for a specified part of the FreeMargin (second edition).
The exp_iCustom_v5 Expert AdvisorNew versions of the exp_iCustom Expert Advisor, which works with any Custom indicator, and draws buy/sell arrows.