OPEN-SOURCE SCRIPT

Optimized Liquidity Squeeze Indicator

This TradingView Pine Script is for an "Optimized Liquidity Squeeze Indicator," which identifies potential bullish or bearish reversals based on price action and exponential moving averages (EMAs).

Key Features

Inputs for Wick Multipliers:
User-defined multipliers for upper and lower wick sizes, which help determine the strength of reversal signals.

EMA Calculations:
21-period and 50-period EMAs based on closing prices.
An EMA slope is calculated to estimate the trend direction (bullish or bearish) by assessing the slope over a 21-period span.

Candle Components:
The script measures candle body size and the lengths of upper and lower wicks.

Trend Conditions:
A bullish condition is when the 21 EMA is above the 50 EMA, with a positive EMA slope exceeding a 45-degree threshold.
A bearish condition is the reverse (21 EMA below 50 EMA, and a negative slope).

Wick Condition Check:
The script defines separate conditions for upper and lower wick sizes, relative to candle body size.
If the upper wick exceeds the body size by a certain multiplier during a bullish trend (or vice versa for bearish), the script triggers a signal.

Signal Plotting:
Bullish signals are shown as green dots above bars, and bearish signals are shown as red dots below bars.

Alert Conditions:
Alerts are created for both bullish and bearish signals, specifying the wick, EMA, and slope conditions met for the signal.

This indicator is designed to highlight potential liquidity squeezes based on wick and trend criteria, signaling possible reversals with visual and alert notifications.






educationalforecastingFundamental Analysis

Open-source Skript

Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source veröffentlicht. Auf diese Weise können nun das Script auch andere Trader verstehen und prüfen. Vielen Dank an den Autor! Sie können das Script kostenlos verwenden. Die Nutzung dieses Codes in einer Veröffentlichung wird in unseren Hausregeln reguliert. Sie können es als Favoriten auswählen, um es in einem Chart zu verwenden.

Möchten Sie dieses Skript auf einem Chart verwenden?

Haftungsausschluss