OPEN-SOURCE SCRIPT

Optimized Liquidity Squeeze Indicator

The "Optimized Liquidity Squeeze Indicator" is designed to detect potential bullish and bearish liquidity squeezes by analyzing price wicks and EMA trends.

Key Components:

Wick Multipliers
User-defined multipliers for upper and lower wick sizes to identify significant wicks in relation to the candle body.

EMA Calculations
Uses 21-period and 50-period EMAs of the closing price to gauge trend direction.
The slope of the 21 EMA is also calculated, using a threshold to approximate a 45-degree angle.

Trend and Slope Conditions
Bullish trend if 21 EMA is above the 50 EMA, and bearish if below.
Bullish and bearish slopes are defined based on the EMA's direction and threshold.

Wick Conditions:

Bullish Upper Wick Condition
Checks for a candle with an upper wick at least a certain multiple of the body size, above the 21 EMA, with a bullish EMA slope.
Bearish Lower Wick Condition: Checks for a candle with a lower wick at least a certain multiple of the body size, below the 21 EMA, with a bearish EMA slope.

Signal Plotting and Alerts
Displays green circles above bars for bullish signals and red circles below bars for bearish signals.

Alerts are set for both bullish and bearish conditions, indicating when significant upper or lower wicks appear along with EMA slope direction.

This indicator visually highlights potential squeeze points where market liquidity may shift, aiding in trend-based entries or exits.
Chart patternsconcepteducational

오픈 소스 스크립트

진정한 TradingView 정신에 따라, 이 스크립트의 저자는 트레이더들이 이해하고 검증할 수 있도록 오픈 소스로 공개했습니다. 저자에게 박수를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 출판물에서 이 코드를 재사용하는 것은 하우스 룰에 의해 관리됩니다. 님은 즐겨찾기로 이 스크립트를 차트에서 쓸 수 있습니다.

차트에 이 스크립트를 사용하시겠습니까?

면책사항