INVITE-ONLY SCRIPT

进阶增强版MACD

40
这是一个增强版 MACD(移动平均线收敛-发散)指标,集成了多时间框架分析、面积统计、背离检测、仪表盘显示和警报功能。

该指标在传统 MACD 指标的基础上进行了大幅扩展,增加了多时间框架(本级别和高级别)、面积分析、背离概率计算、交互式仪表盘和表格显示等功能,旨在为交易者提供更全面的市场动态信息。核心功能包括:双级别 MACD:同时计算本级别(默认快线12、慢线26、信号线9)和高级别(默认快线66、慢线143、信号线50)的 MACD 和信号线。
面积分析:统计 MACD 直方图的面积(红绿柱),并与历史最大面积对比。
背离检测:识别价格与 MACD 的顶背离和底背离,并计算背离概率。
可视化:提供丰富的图形输出,包括直方图、MACD 线、信号线、金叉/死叉标记、背离线、面积标签、表格和仪表盘。
警报系统:为金叉/死叉、面积变化、背离信号等设置多种警报条件。

指标适用于趋势跟踪、背离交易和强度分析,适合日内交易、波段交易等场景。


This is an enhanced MACD (Moving Average Convergence Divergence) indicator that integrates multi time frame analysis, area statistics, divergence detection, dashboard display, and alert functions.

This indicator has been greatly expanded on the basis of the traditional MACD indicator, adding functions such as multi time frame (local and high-level), area analysis, deviation probability calculation, interactive dashboard and table display, aiming to provide traders with more comprehensive market dynamic information. The core functions include: dual level MACD: simultaneously calculating the MACD and signal lines of this level (default fast line 12, slow line 26, signal line 9) and high-level (default fast line 66, slow line 143, signal line 50).
Area analysis: Calculate the area of the MACD histogram (red and green bars) and compare it with the historical maximum area.
Deviation detection: Identify the top and bottom deviations between prices and MACD, and calculate the probability of deviation.
Visualization: Provides rich graphical output, including histograms, MACD lines, signal lines, golden/dead cross markers, backlit lines, area labels, tables, and dashboards.
Alarm system: Set multiple alarm conditions for golden/dead forks, area changes, deviation signals, etc.

The indicator is suitable for trend tracking, divergence trading, and intensity analysis, and is suitable for intraday trading, band trading, and other scenarios.






כתב ויתור

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