OPEN-SOURCE SCRIPT
TP-Trend

中文
【原理概要】
本指标跳出了传统“仅依赖收盘价”的局限,采用典型价格 HHLC/3$ 作为底层数据源。通过对均线进行二阶平滑处理(EMA of EMA),能比传统双均线更早地发现趋势转折,同时有效过滤震荡市的假突破。
【核心功能】
双重平滑逻辑:$X_2$为典型价格的 6 周期平滑, $X_3$为其二阶 5 周期平滑,捕捉动能加速度。
视觉增强系统: 自动为 K 线着色。红色/棕色代表多头波段,绿色代表空头波段。
信号确认: 亮黄色(Buy)与深蓝色(Sell)柱体精准标记趋势引爆点。
零未来函数: 算法完全基于时序历史数据,信号不漂移,可直接用于实盘参考。
【使用建议】建议配合大周期趋势或成交量指标使用。在日线级别捕捉波段主升浪效果最佳。
English
[Logic]This script utilizes Typical Price (HHLC/3$) instead of standard Close prices to provide a more holistic view of market value. By applying a dual-smoothing EMA process, it identifies trend shifts with reduced lag while maintaining high sensitivity.
[Features]
Trend Coloring: Bars change color based on momentum (Red for Bullish, Green for Bearish).
Actionable Signals: Distinct Yellow (Buy) and Blue (Sell) highlights on crossover bars.
No Repaint: Purely mathematical approach based on historical data.
【原理概要】
本指标跳出了传统“仅依赖收盘价”的局限,采用典型价格 HHLC/3$ 作为底层数据源。通过对均线进行二阶平滑处理(EMA of EMA),能比传统双均线更早地发现趋势转折,同时有效过滤震荡市的假突破。
【核心功能】
双重平滑逻辑:$X_2$为典型价格的 6 周期平滑, $X_3$为其二阶 5 周期平滑,捕捉动能加速度。
视觉增强系统: 自动为 K 线着色。红色/棕色代表多头波段,绿色代表空头波段。
信号确认: 亮黄色(Buy)与深蓝色(Sell)柱体精准标记趋势引爆点。
零未来函数: 算法完全基于时序历史数据,信号不漂移,可直接用于实盘参考。
【使用建议】建议配合大周期趋势或成交量指标使用。在日线级别捕捉波段主升浪效果最佳。
English
[Logic]This script utilizes Typical Price (HHLC/3$) instead of standard Close prices to provide a more holistic view of market value. By applying a dual-smoothing EMA process, it identifies trend shifts with reduced lag while maintaining high sensitivity.
[Features]
Trend Coloring: Bars change color based on momentum (Red for Bullish, Green for Bearish).
Actionable Signals: Distinct Yellow (Buy) and Blue (Sell) highlights on crossover bars.
No Repaint: Purely mathematical approach based on historical data.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.