支持中心 帮助文档 联系我们
📱 微信: 18391752892 | 💬 QQ: 3313198376 | ✈️ Telegram | 📧 fishfx123@gmail.com
EURUSD 1.0856 +0.12% GBPUSD 1.2678 +0.08% USDJPY 149.23 -0.15% XAUUSD 2034.56 +0.34% EURUSD 1.0856 +0.12% GBPUSD 1.2678 +0.08% USDJPY 149.23 -0.15% XAUUSD 2034.56 +0.34%

Scientific Calculator MT4

👤 作者: Francisco Manuel Vicente Berardo

4.5 分

¥0.00

📌 版本: v1.3
📥 下载: 0
⭐ 评分: 4.5

📝 产品详情

Scientific Calculator MT4

作者Francisco Manuel Vicente Berardo
版本v1.3
更新5 十月 2024
激活数5

The Scientific Calculator is a script designed to compute science, engineering and mathematics expressions. 

General Description 

The expression to calculate must obey syntax rules and precedence order, being constituted by the following elements: 

  • Integer and real numbers. 
  • Mathematical operators for addition (+), subtraction (-), multiplication (*), division (/) and exponentiation (^). 
  • Mathematical and trigonometric functions. 
  • Curved parentheses (()) to define the precedence and contain the function’s argument(s). 
  • Full stop (.) as decimal point and comma (,) as function’s arguments separator. 

The mathematical/trigonometric functions are used by writing the respective name after “Math” and one or two arguments inside parentheses, separated by a comma in this last case. For instance, “MathLog10()” and “MathPow()” would be “Log10(argument)” and “Pow(argument1,argument2)”, respectively. List of names that correspond to the available functions: 

Abs, Arccos, Arcsin, Arctan, Ceil, Cos, Exp, Floor, Log, Log10, Max, Min, Mod, Pow, Rand, Round, Sin, Sqrt, Tan. 

Note: “MathRand()” is only executed with “GetTickCount()” as the argument of “MathSrand()”, it’s used without anything inside parentheses – simply writing “Rand()”. 

Additionally, the expression has the following properties: 

  • The scientific, engineering and E notations are allowed. 
  • The mathematical constants “Pi” and “e” are available (simply writing the respective letter(s)). 
  • The multiplication needs to be explicitly indicated (through the respective symbol). 
  • The system is case-insensitive. 
  • The space ( ) is allowed and doesn’t affect the expression’s calculation. 
  • The input expression is limited to 255 characters. 

Examples of a number representation using various notations: “0.0000325” (decimal), “3.25*10^-5” (scientific), “32.5*10^-6” (engineering) and “32.5E-6” (E). 

Note: The meaning/function of the symbol “e” depends on the context it’s placed, for instance, “1e+1=10” (as E notation) and “1*e+1=3.718...” (as constant). 

IMPORTANT! The script doesn’t verify if the input expression fulfils all the requirements, namely if it obeys syntax/standard rules, hence, any infringement of these leads to an unreliable result. 

Input Parameters 

  • Display Mode: Expression’s result’s display mode, enable selecting the Alert, Comment or Print function, which presents the information in a pop-up window, in the chart window (to which the script attaches) or in the Experts tab of the Terminal window, respectively. 
  • Math Expression: Science, engineering and mathematics expression to be calculated. 

Conclusion 

The Scientific Calculator is a helpful and efficient tool regarding the expressions calculation of science, engineering and mathematics, enabling a simple and intuitive setting of the expressions to compute.


安全须知

本产品仅通过 MQL5.com 官方渠道获取。其他渠道版本可能缺少完整功能和技术支持。

EA 配置

交易品种XAUUSD
时间框架H1 (推荐)
推荐经纪商IC Markets, IC Trading
最低存款$300 / 0.01手

📸 截图预览