支持中心 帮助文档 联系我们
📱 微信: 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%

MA Deviation Gr

👤 作者: Hiroyuki Sasaki

4.5 分

¥0.00

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

📝 产品详情

MA Deviation Gr

作者Hiroyuki Sasaki
版本v1.0
激活数0

MA Deviation

Overview This indicator displays the deviation rate between price and a moving average, and draws upper/lower bands using standard deviation.

Features

  1. Deviation Rate Line – Displays how far the price has deviated from the moving average, expressed as a percentage.

    • Formula: Deviation Rate = (Close / Moving Average × 100) − 100
  2. Center Line – The moving average of the deviation rate.

  3. Upper/Lower Bands – Statistical upper and lower boundaries calculated using standard deviation.

    • Formula:
      • Upper Band = Center Line + (Standard Deviation × Multiplier)
      • Lower Band = Center Line − (Standard Deviation × Multiplier)
      • Standard Deviation: double diff = RateBuffer[i - j] - CenterBuffer[i] / sum_sq_diff += diff * diff / StdBuffer[i] = MathSqrt(sum_sq_diff / period_for_calc)

Parameters

  • (MAPeriod) – Moving average period used as the basis for the deviation rate (default: 20)
  • (Center Line Period) – Moving average period for the deviation rate (default: 40)
  • (StdDevMultiplier) – Standard deviation multiplier for determining the upper/lower bands (default: 2)
  • (MAMethod) – Select from SMA, EMA, SMMA, or LWMA (default: SMA)
  • (AppliedPrice) – Select from Close, Open, High, or Low (default: Close)

How to Read

  1. Deviation Rate Line (red) – Shows how far the price is from the moving average.
    • Positive value: price is above the moving average
    • Negative value: price is below the moving average
  2. Center Line (gray) – The average of the deviation rate (not the same as the zero line).
  3. Upper/Lower Bands (white dotted lines) – Statistically overbought/oversold zones.
    • Deviation rate crossing above the upper band: potential overbought condition
    • Deviation rate crossing below the lower band: potential oversold condition

Trading Strategies

  • Mean Reversion Strategy

    • Sell signal: after the deviation rate exceeds the upper band and then turns downward
    • Buy signal: after the deviation rate falls below the lower band and then turns upward
  • Trend Following Strategy

    • During a strong uptrend, the deviation rate line may remain above the zero line.
    • Buy signal: a golden cross between the center line and the deviation rate line while the center line is trading above the zero line
    • Sell signal: a dead cross between the center line and the deviation rate line while the center line is trading below the zero line

Disclaimer

It is recommended to use this indicator in combination with other technical indicators rather than in isolation.

This is a statistical indicator based on historical data and does not guarantee future price movements.

It is important to backtest and find the settings that best suit your own trading style.



安全须知

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

EA 配置

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

📸 截图预览