OPEN-SOURCE SCRIPT

Liquidity Channel DEX/Uniswap/Crypto by @RichSimon

The indicator automatically detects channels for placing liquidity on decentralized exchanges (DEX).

Based on a linear regression algorithm (similar to the "Regression Trend" tool).

Adjustable parameters: channel width (in standard deviations) and analysis depth (historical period in bars).

Main parameters:

  • Channel boundaries: Upper (top), Center (central), Lower (bottom). Same for parent channel
  • ATR (Average True Range) — the average true range, scaled by 100 times over a period equal to the analysis depth.
  • Range (channel width).
  • Standard deviation (100xSTD LinReg), scaled by 100 times.
  • Channel speed — the rate of channel change (slope) per hour. Determines the channel's slope (positive - upward, negative - downward, higher value - steeper slope).


It is possible to create alerts with parameter transmission via placeholders, for example: {{plot_0}}.
Check the placeholder number in the data window.

Acknowledgments, donations, and improvement suggestions can be left in the comments.

כתב ויתור