Expert Advisors • Indicators • Scripts • Libraries

MQL.RobotFX.org is the biggest collection of MetaTrader expert advisors (MT5 & MT4), indicators, scripts and libraries that can be used to improve trading results, minimize risks or simply automate trading tasks

Metatrader 4 指标 | 适应市场当前状态自动变参数的MA指标 - MetaTrader 4脚本 | MQL5 Release

RobotFX curates the best open-source MetaTrader code to inspire your trading automation.

这里提供的一个指标,
从中可以学会一种新颖的思考角度,--- 使用某段时间内的价格差的点数做MA参数, 就是用价格波动做MA的动态参数.

大家知道"价量时空",四要素的重要性,除去外汇市场一般不需要的的量的因素, 如何综合考虑"价时空"三要素的信息, 是编制指标和系统的基本出发点.
为适应跟随市场的时变特征, 自动适应市场的"可变参数"一直是一种重要的努力方向, 本文提供的指标就是一种用指定时间尺度(一般来说是你期望的持仓时间)的"价空"信息 再反馈转做时间参数 设计的指标. 前途不可限量!!!!!

注意本指标版权所有, 你可以自由修改处理, 需声明版权和发明权属第三波论坛okwh或mql4论坛DxdCn所有.

如果发财赚钱了, 请捐款给教育医疗方面的慈善事业!!!!

参数
extern int SlowEMA=24; // 大致等于你持仓习惯的最小时间 Bar数
extern int SlowEMA1=408; //大致等于你持仓习惯的最大时间 Bar数

Image for 适应市场当前状态自动变参数的MA指标 - MetaTrader 4脚本

Classic MACD strategy made fully automatic – the MACD Expert Advisor for MT4 handles it all. Check it out.

Level up your trading with professional RobotFX expert advisors and indicators. Visit robotfx.org for proven MT4/MT5 tools.

7117

Best MetaTrader Indicators + Profitable Expert Advisors