Skip to content
All library documents

Arrow Signals Combining Moving-Average and Stochastic Conditions

Article MQL5 code base

Summary

This indicator description defines arrow-buffer values using two separate conditions. One compares the closing price with a moving average: a higher close receives a positive value, while a lower close receives a negative value. The other checks the stochastic oscillator’s main line against two configurable levels, assigning one value when it falls below the lower level and another when it rises above the upper level.

The document describes how the indicator encodes these states for display, with a chart image referenced as a visual aid alongside manually added moving-average and stochastic indicators. It does not specify the parameter settings, explain how to combine the signals into entries or exits, or report testing results. The arrows should therefore be read as condition markers, not as evidence of a profitable strategy; behavior between the stated thresholds is also left unspecified.

Key ideas

  • The indicator assigns positive or negative values based on the close’s position relative to a moving average.
  • It assigns additional values when the stochastic main line crosses configured upper or lower levels.
  • The description does not define a complete trading strategy or provide performance evidence.

Tags

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