OPEN-SOURCE SCRIPT
מעודכן

Linear Regression Adaptive Channel [Mean Reversion & Trend]

1 607
"Is the price overstretched? Where is the equilibrium?"
This indicator is a precision-engineered trading tool based on Linear Regression and Volatility-Adjusted Channels. Unlike standard moving average channels, this script calculates the "best-fit" line (Basis) and its slope to identify the true market trend and potential exhaustion points.
Key Features:
  • Linear Regression Basis: A smarter baseline that accounts for price momentum and slope.
  • Exhaustion Signals (BUY/SELL): Identifies oversold/overbought extremes using Standard Deviation (Sigma).
  • Mean-Reversion Tracking (T1): Alerts you when price successfully returns to the "fair value" (Mean).
  • Smart Pullbacks (ADD/REDUCE): Highlights opportunities to add to positions during a trend retest or reduce risk at mean resistance.
  • Live Dashboard: Real-time trend bias (Bullish/Bearish) and price status (Overbought/Oversold).


“价格涨过头了吗?哪里才是真正的支撑?”
本指标是一款基于线性回归 (Linear Regression) 与波动率动态通道的精密交易工具。不同于普通的均线通道,它通过计算股价的“最佳拟合线”来捕捉真实的趋势重心和能量竭尽点。
核心亮点:
  • 线性回归基准: 比普通均线更聪明,它能感知价格的斜率和惯性。
  • 抄底逃顶信号 (BUY/SELL): 当股价像橡皮筋一样拉伸到极限(标准差倍数)时,自动提示竭尽信号。
  • 均值回归路径 (T1): 标记价格从超跌/超买区域回到“公允价值中轨”的时刻。
  • 顺势补仓/减仓 (ADD/REDUCE): 在上涨趋势的回踩中提示“补仓”,在下跌趋势的反抽中提示“撤退”。
  • 数据看板: 右上角直观显示当前趋势强弱与价格位置,一眼看清全局。

如何使用 (How to Trade)
  • 左侧交易 (抄底): 寻找蓝色底部的 BUY 信号(超跌反弹)。
  • 右侧交易 (顺势): 在看多背景下,寻找橙色的 ADD 信号(中轨支撑回踩)。
  • 目标管理: 黄色 T1 是回归中轨的第一目标位,REDUCE 则是震荡行情中的离场警示。
הערות שחרור
fixed some bugs

כתב ויתור

המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.