Skip to content
All library documents

Trading Signals from Changes in the StochasticDiff Histogram

Article MQL5 code base

Summary

This document describes an Expert Advisor that trades when the StochasticDiff indicator’s histogram changes direction. It evaluates the signal at bar close, so an upward or downward shift in the histogram drives the entry decision. The approach is a technical indicator strategy whose core rule is a change in momentum direction.

The page refers to example trades and a backtest on EURAUD using six-hour bars over 2015. It says the displayed tests used default inputs and did not include stop-loss or take-profit settings, so the results do not show how the system behaves with explicit trade exits or risk controls. The document provides no performance figures or analysis of costs, parameter sensitivity, or robustness. Running the advisor also depends on installing its compiled indicator, and the described trading library is intended to support brokers with nonzero spreads and simultaneous stop-loss and take-profit placement.

Key ideas

  • The advisor generates a signal when the StochasticDiff histogram changes direction at bar close.
  • The strategy depends on the separate compiled StochasticDiff indicator.
  • The cited example tests use default settings on EURAUD six-hour bars during 2015.
  • The tests omit stop-loss and take-profit rules, limiting conclusions about risk management and exits.

Tags

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.