• 产品
  • 社区
  • 市场
  • 经纪商
  • 更多
Black Friday高达80%折扣
  • 指标和策略
  • /Convenientoriginalscript

Convenientoriginalscript

MACD Divergence auto displayed on chart, with alertsMACD Pivot Divergence Detector This tool identifies MACD histogram divergences based on confirmed pivot highs and lows. Instead of comparing swing points on the MACD line, this script focuses specifically on the histogram, which measures momentum shifts between MACD and Signal. How it works The script detects confirmed pivots using a two-bar swing structure. When price breaks above a previous pivot high, the script compares the MACD histogram value at that pivot to the current histogram value: • If price makes a higher high while the histogram makes a lower high, a potential bearish divergence is marked. The reverse logic is applied for bullish divergence when price breaks below a pivot low. What makes this script unique It uses pivot-confirmed histogram values, not lookback-based divergence. It evaluates divergence only at actual highs/lows, reducing false positives. It marks divergence directly on the candles for visual clarity. Alert conditions are included for automated detection. How to use Bullish signals may highlight potential momentum loss in downtrends; bearish signals may highlight momentum loss near highs. Divergence does not guarantee reversal and should be combined with broader context, structure, or trend analysis.
Pine Script®指标
由affxsup提供

选择由ICE Data Services提供的市场数据。选择由FactSet提供的参考数据。版权所有 © 2025 FactSet Research Systems Inc. 版权所有 © 2025,美国银行家协会。CUSIP数据库由FactSet Research Systems Inc.提供。保留所有权利。SEC文件和其他文件由Quarter提供。© 2025 TradingView, Inc.

不仅是产品
  • 超级图表
筛选器
  • 股票
  • ETFs
  • 债券
  • 加密货币
  • CEX对
  • DEX对
  • Pine
热图
  • 股票
  • ETFs
  • 加密货币
日历
  • 经济
  • 收益
  • 股利
更多产品
  • 收益率曲线
  • 期权
  • 新闻流
  • Pine Script®
应用程序
  • 移动版
  • 电脑版
社区
  • 社交网络
  • 爱心墙
  • 推荐朋友
  • 网站规则
  • 版主
观点
  • 交易
  • 教学
  • 编辑精选
Pine脚本
  • 指标和策略
  • 大师
  • 自由开发人员
工具和订阅
  • 功能特色
  • 价格
  • 市场数据
  • 礼物方案
交易
  • 概览
  • 经纪商
特别优惠
  • CME集团期货
  • Eurex期货
  • 美国股票包
关于公司
  • 我们是谁
  • 太空任务
  • 博客
  • 职涯
  • 媒体工具包
商品
  • TradingView商店
  • 交易者塔罗牌
  • C63 TradeTime
政策和安全
  • 使用条款
  • 免责声明
  • 隐私政策
  • Cookies政策
  • 无障碍声明
  • 安全提示
  • 漏洞赏金计划
  • 状态页面
商业解决方案
  • 插件
  • 图表库
  • Lightweight Charts™
  • 高级图表
  • 交易平台
成长机会
  • 广告
  • 经纪业务集成
  • 合作伙伴计划
  • 教育计划
社区
  • 社交网络
  • 爱心墙
  • 推荐朋友
  • 网站规则
  • 版主
观点
  • 交易
  • 教学
  • 编辑精选
Pine脚本
  • 指标和策略
  • 大师
  • 自由开发人员
商业解决方案
  • 插件
  • 图表库
  • Lightweight Charts™
  • 高级图表
  • 交易平台
成长机会
  • 广告
  • 经纪业务集成
  • 合作伙伴计划
  • 教育计划
Look FirstLook First