Skip to content
All library documents

SSH Multi-Timeframe Signals with Chart-Based Timeframe Selection

Article MQL5 code base

Summary

SSH is described as an indicator that plots two lines from moving averages of candle highs and lows. Their crossing is treated as a potential buy or sell signal. The multi-timeframe version displays the indicator calculated on a higher timeframe within a lower-timeframe chart, allowing traders to view broader signals alongside finer price movement.

A chart panel lets users switch the higher timeframe without opening the indicator settings, and the available timeframe buttons adjust to avoid selecting lower intervals. The document also discusses implementing a reusable panel for other multi-timeframe indicators and mapping lower-chart bars to higher-timeframe candles. It favors a custom nearest-time lookup over the built-in bar-shift function, but gives no indicator formula, trading rules beyond line crosses, or evidence that the method improves results.

Key ideas

  • SSH plots moving-average lines based on candle highs and lows.
  • Crosses between the lines are treated as potential buy or sell signals.
  • The multi-timeframe version displays a higher-timeframe indicator on a lower-timeframe chart.
  • A chart panel enables timeframe selection and updates the available buttons.
  • The document describes a custom method for matching lower-chart bars to higher-timeframe candles, without performance evidence.

Tags

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