Sherif Hilo
Category: trend
A trend-following channel indicator that tracks the Highest High and Lowest Low over a lookback period, switching states based on price closing above or below the previous period's extreme.
Formula
\text{If } Close_i > Pivot_{i+1} \Rightarrow UpTrend, \text{LineUp} = \text{LLV}(Low, period); \text{ElseIf } Close_i < Pivot_{i+1} \Rightarrow DownTrend, \text{LineDn} = \text{HHV}(High, period)
Inputs
- period_high (default: 100)
- LineUpClr (default: clrBlue)
- LineDnClr (default: clrRed)
See signal primitives and every published strategy that uses Sherif Hilo on WOBR StrategyVerse.