OPEN-SOURCE SCRIPT

知行趋势指标

22
根据Z哥给的通达信指标翻译为pine script,去掉了TV没有的行业板块概念信息。


知行趋势指标(Zhixing Trend Indicato)
知行趋势指标是一种基于多重均线的趋势跟踪工具,结合短期 EMA 与多周期 SMA,以判断市场的短期和中长期趋势。

指标组成:
知行短期趋势线(zx_short):采用双 EMA(EMA(EMA(Close, 10),10))计算,反应价格的短期波动和趋势。

知行多空线(zx_trend):由四条不同周期的 SMA 平均计算(默认周期 M1=14, M2=28, M3=57, M4=114),用于判断市场的多空方向。

使用说明:

指标只在日线及以上周期显示,分钟和小时级别周期自动隐藏。

短期趋势线可以捕捉快速的价格变化,而多空线用于确认整体趋势方向。

可通过调整四条 SMA 周期,适应不同市场和品种的波动特点。

Zhixing Trend Indicator
The Zhixing Trend Indicator is a trend-following tool based on multiple moving averages. It combines short-term EMA with multi-period SMA to identify both short-term and medium-to-long-term market trends.

Components:
Short-Term Trend Line (zx_short): Calculated using a double EMA (EMA(EMA(Close,10),10)), reflecting short-term price fluctuations and trend.

Bull-Bear Line (zx_trend): Calculated as the average of four SMAs with different periods (default M1=14, M2=28, M3=57, M4=114), used to determine overall market direction.

Usage Notes:

This indicator only displays on daily or higher timeframes; intraday (minute/hour) charts are automatically hidden.

The short-term trend line captures fast price movements, while the bull-bear line confirms the overall trend.

SMA periods can be adjusted to suit different markets or trading instruments.

Отказ от ответственности

Информация и публикации не предназначены для предоставления и не являются финансовыми, инвестиционными, торговыми или другими видами советов или рекомендаций, предоставленных или одобренных TradingView. Подробнее читайте в Условиях использования.