请观看如何免费下载自动交易
请在Telegram上找到我们!
加入我们粉丝页
有趣的脚本?
因此发布一个链接 -
让其他人评价
喜欢这个脚本? 在MetaTrader 5客户端尝试它
显示:
1379
等级:
(19)
已发布:
2018.06.11 17:58
已更新:
2018.06.27 12:01
\MQL5\Include\
math_utils.mqh (13.38 KB) 预览
\MQL5\Scripts\
math_test.mq5 (5.22 KB) 预览
pitfalls.mq5 (3.94 KB) 预览
需要基于此代码的EA交易或指标吗?请在自由职业者服务中订购 进入自由职业者服务

用于比较浮点数的便利函数

bool EQ(double a, double b, int digits = 8);

bool GT(double a, double b, int digits = 8);

bool LT(double a, double b, int digits = 8);

bool NE(double a, double b, int digits = 8);

bool GE(double a, double b, int digits = 8);

bool LE(double a, double b, int digits = 8);



用于浮点数四舍五入的便利函数

double RoundToDigit(double number, int digits);

double RoundToDigitUp(double number, int digits);

double RoundToDigitDown(double number, int digits);

double RoundToStep(double number, double step);

double RoundToStepUp(double number, double step);

double RoundToStepDown(double number, double step);

double RoundPrice(double pPrice, string pSymbol = NULL);

double RoundVolume(double pVolume, string pSymbol = NULL);

由MetaQuotes Ltd译自英文
原代码: https://www.mql5.com/en/code/20822

WPR 支撑阻力 WPR 支撑阻力

WPR (威廉姆斯百分比范围) 为基础的支撑/阻力。

火箭 RSI 火箭 RSI

John F. Ehlers 的 "RoscketRSI" 指标。 用来表示周期性反转的强概率。

彩虹 WMA 彩虹 WMA

基于 Mel Widner 的彩虹平均值 (这与 Guppy MMA 相似),这是一种略有扩充的扩展版本。

INI 文件 INI 文件

为智能交易系统和指标提供简单存储机制的函数库。