OPEN-SOURCE SCRIPT
DeltaLabs - Equal Highs / Equal Lows

DeltaLabs - Equal Highs / Equal Lows is a price action indicator designed to identify active Equal Highs (EQH) and Equal Lows (EQL) directly on the current chart timeframe.
The indicator focuses on repeated structural price levels that may represent resting liquidity. It uses candle bodies only, ignoring wick extensions when identifying equal levels.
For swing highs:
Body High = max(Open, Close)
For swing lows:
Body Low = min(Open, Close)
When two confirmed swing highs occur within the configured tolerance, the indicator creates an Equal High (EQH).
When two confirmed swing lows occur within the configured tolerance, it creates an Equal Low (EQL).
Additional touches are grouped into the same level and displayed as EQH ×2, EQH ×3, EQL ×2, and so on.
The indicator only keeps active liquidity levels on the chart. If an Equal High is violated by the candle body to the upside, it is removed. If an Equal Low is violated by the candle body to the downside, it is removed. Wicks alone do not invalidate the level.
DeltaLabs - Equal Highs / Equal Lows automatically recalculates based on the timeframe currently selected on the chart. A 15-minute chart detects 15-minute structure, a 1-hour chart detects hourly structure, and a 4-hour chart detects 4-hour structure. There is no fixed internal timeframe.
To keep higher-timeframe charts clean, the indicator includes a configurable history window. By default, it analyzes the last 30 days, but users can define a custom number of days.
A separate maximum gap between equal touches setting controls how far apart two matching swing points can occur and still belong to the same EQH or EQL. This can be measured in either days or bars.
Because markets rarely create two swing points at the exact same price, the indicator uses an ATR-based equality tolerance. This allows the detection threshold to adapt to the volatility of the current instrument and timeframe. Lower values create stricter matching, while higher values allow slightly more variation.
Swing sensitivity can also be adjusted using the Swing Left Bars and Swing Right Bars settings. Lower values detect smaller and more frequent structures, while higher values focus on more significant swing points.
Visual settings include separate colors for EQH and EQL, independent label colors, configurable line width, and solid, dashed, or dotted line styles.
Typical use cases include liquidity mapping, price action analysis, sweep identification, structural targets, breakout context, range analysis, and manual trade planning.
An EQH or EQL is not automatically a buy or sell signal. The indicator is designed to highlight repeated structural price levels that may be relevant to future price action.
The goal of DeltaLabs - Equal Highs / Equal Lows is simple:
Keep the chart clean and automatically highlight currently relevant, body-based Equal Highs and Equal Lows.
No old violated levels.
No wick-based noise.
No fixed timeframe.
Just active price action structure on the timeframe being analyzed.
For educational and analytical purposes only. Not financial advice.
The indicator focuses on repeated structural price levels that may represent resting liquidity. It uses candle bodies only, ignoring wick extensions when identifying equal levels.
For swing highs:
Body High = max(Open, Close)
For swing lows:
Body Low = min(Open, Close)
When two confirmed swing highs occur within the configured tolerance, the indicator creates an Equal High (EQH).
When two confirmed swing lows occur within the configured tolerance, it creates an Equal Low (EQL).
Additional touches are grouped into the same level and displayed as EQH ×2, EQH ×3, EQL ×2, and so on.
The indicator only keeps active liquidity levels on the chart. If an Equal High is violated by the candle body to the upside, it is removed. If an Equal Low is violated by the candle body to the downside, it is removed. Wicks alone do not invalidate the level.
DeltaLabs - Equal Highs / Equal Lows automatically recalculates based on the timeframe currently selected on the chart. A 15-minute chart detects 15-minute structure, a 1-hour chart detects hourly structure, and a 4-hour chart detects 4-hour structure. There is no fixed internal timeframe.
To keep higher-timeframe charts clean, the indicator includes a configurable history window. By default, it analyzes the last 30 days, but users can define a custom number of days.
A separate maximum gap between equal touches setting controls how far apart two matching swing points can occur and still belong to the same EQH or EQL. This can be measured in either days or bars.
Because markets rarely create two swing points at the exact same price, the indicator uses an ATR-based equality tolerance. This allows the detection threshold to adapt to the volatility of the current instrument and timeframe. Lower values create stricter matching, while higher values allow slightly more variation.
Swing sensitivity can also be adjusted using the Swing Left Bars and Swing Right Bars settings. Lower values detect smaller and more frequent structures, while higher values focus on more significant swing points.
Visual settings include separate colors for EQH and EQL, independent label colors, configurable line width, and solid, dashed, or dotted line styles.
Typical use cases include liquidity mapping, price action analysis, sweep identification, structural targets, breakout context, range analysis, and manual trade planning.
An EQH or EQL is not automatically a buy or sell signal. The indicator is designed to highlight repeated structural price levels that may be relevant to future price action.
The goal of DeltaLabs - Equal Highs / Equal Lows is simple:
Keep the chart clean and automatically highlight currently relevant, body-based Equal Highs and Equal Lows.
No old violated levels.
No wick-based noise.
No fixed timeframe.
Just active price action structure on the timeframe being analyzed.
For educational and analytical purposes only. Not financial advice.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.