Skip to content
All library documents

Using a Higher Timeframe for the DS Stochastic Indicator

Article MQL5 code base

Summary

This brief note describes a version of the DS Stochastic indicator that lets the user select its calculation timeframe through an input parameter. The example setting uses a four-hour period, so the indicator can draw on bars from a timeframe other than the chart’s current period.

The document gives no formula, trading rules, performance evidence, or guidance on interpreting the indicator. It also notes that the underlying DS Stochastic indicator file must be installed for this version to work. The note is therefore useful mainly as a basic configuration concept: choosing a timeframe for a technical indicator. It does not explain how higher-timeframe values align with lower-timeframe charts, or discuss signal timing, repainting, or the risks of using such signals in a strategy.

Key ideas

  • The indicator provides an input for selecting the timeframe used by the DS Stochastic.
  • The example selects a four-hour timeframe.
  • The note does not describe trading rules or provide performance evidence.
  • The underlying DS Stochastic indicator file is required for this variant to operate.

Tags

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