Previous Higher-Timeframe OHLC Levels and SMA Crossing Alerts
Summary
This indicator displays the open, high, low, and close from a selected higher timeframe as horizontal price levels on a lower-timeframe chart. Its resolution choices range from hourly periods to yearly periods, and the script includes settings for which levels appear, line styles, labels, and price formatting. It can also show the prior extension of a level as a visual reference.
For alerts, the indicator compares a user-selected price series, defaulting to the open, with a configurable simple moving average. It creates separate crossover and crossunder conditions for each prior-period OHLC level, with optional chart markers for crossings. The document explains the indicator's design and customization options but provides no trading results or evidence that a crossing predicts future price movement. The alerts are technical events that require independent interpretation and testing.
Key ideas
- The indicator plots prior higher-timeframe open, high, low, and close values as chart levels.
- Reference periods can be selected from hourly through yearly intervals.
- Users can customize active and prior level lines, labels, and displayed price precision.
- A configurable SMA is checked for crossings above or below each selected OHLC level.
- The document provides no performance evidence for using these alerts as trade signals.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.