Skip to content
All library documents

Balance of Power Histogram Direction-Change Trading Signals

Article MQL5 code base

Summary

This Expert Advisor uses changes in the direction of a moving average associated with the Balance of Power Histogram to generate trading signals when a bar closes. The document frames the strategy around a directional shift in the indicator rather than a fixed price threshold. It also notes that running the advisor requires the compiled histogram indicator and describes a supporting library for broker spread handling and optional stop-loss and take-profit placement.

The page refers to historical deal examples and a test on EUR/USD four-hour data for 2015, but gives no numerical performance statistics or enough detail to assess robustness. The described test used default advisor inputs and omitted stop-loss and take-profit settings, limiting what can be inferred about risk control. The rules for defining a moving-average direction change and managing positions are not fully specified in the text, so the result is best understood as a brief description of an indicator-based system, not evidence of a durable edge.

Key ideas

  • The advisor signals on a bar close when the moving-average direction tied to the Balance of Power Histogram changes.
  • The histogram indicator must be available for the advisor to run.
  • A supporting library is described for handling nonzero spreads and optional protective orders.
  • The cited EUR/USD four-hour test omits stop-loss and take-profit settings and provides no quantitative performance measures.

Tags

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