OPEN-SOURCE SCRIPT
已更新 Bill Williams Accelerator/Decelerator Oscillator Signals

**Bill Williams Accelerator/Decelerator Oscillator Signals (AC)**
This indicator is based on Bill Williams' Accelerator/Decelerator Oscillator (AC) concept and combines AC momentum analysis with an Alligator trend filter to identify potential market acceleration and deceleration phases.
The Accelerator Oscillator measures the change in momentum of the Awesome Oscillator (AO). It helps traders observe whether market momentum is increasing or slowing before possible trend changes.
### Features
• **Classic AC calculation**
* Awesome Oscillator (AO): SMA(hl2, 5) − SMA(hl2, 34)
* Accelerator Oscillator (AC): AO − SMA(AO, 5)
• **AC Histogram**
* Green bars indicate increasing acceleration.
* Red bars indicate decreasing acceleration.
* Flat bars maintain the previous momentum color.
• **Alligator Trend Filter**
Signals are filtered using Bill Williams' Alligator to align entries with the prevailing market direction and reduce low-quality signals.
• **Three Signal Types**
* Signal 1: Early momentum confirmation.
* Signal 2: Stronger acceleration pattern before momentum continuation.
* Signal 3: Zero-line momentum transition signal.
• **Signal Priority System**
When multiple signals appear on the same bar, the indicator prioritizes the strongest signal to keep the chart cleaner.
### How It Works
**Buy signals**
Appear when AC momentum improves and price direction agrees with the Alligator trend filter.
**Sell signals**
Appear when AC momentum weakens and price direction agrees with the Alligator trend filter.
The indicator is designed to help traders visually identify changes in market acceleration, momentum strength, and possible trend continuation areas.
### Important Notes
This tool is not a standalone trading system and does not provide guaranteed entry or exit points. It should be used together with market structure, risk management, and additional analysis.
Designed for traders who use Bill Williams' trading methodology and momentum-based analysis.
This indicator is based on Bill Williams' Accelerator/Decelerator Oscillator (AC) concept and combines AC momentum analysis with an Alligator trend filter to identify potential market acceleration and deceleration phases.
The Accelerator Oscillator measures the change in momentum of the Awesome Oscillator (AO). It helps traders observe whether market momentum is increasing or slowing before possible trend changes.
### Features
• **Classic AC calculation**
* Awesome Oscillator (AO): SMA(hl2, 5) − SMA(hl2, 34)
* Accelerator Oscillator (AC): AO − SMA(AO, 5)
• **AC Histogram**
* Green bars indicate increasing acceleration.
* Red bars indicate decreasing acceleration.
* Flat bars maintain the previous momentum color.
• **Alligator Trend Filter**
Signals are filtered using Bill Williams' Alligator to align entries with the prevailing market direction and reduce low-quality signals.
• **Three Signal Types**
* Signal 1: Early momentum confirmation.
* Signal 2: Stronger acceleration pattern before momentum continuation.
* Signal 3: Zero-line momentum transition signal.
• **Signal Priority System**
When multiple signals appear on the same bar, the indicator prioritizes the strongest signal to keep the chart cleaner.
### How It Works
**Buy signals**
Appear when AC momentum improves and price direction agrees with the Alligator trend filter.
**Sell signals**
Appear when AC momentum weakens and price direction agrees with the Alligator trend filter.
The indicator is designed to help traders visually identify changes in market acceleration, momentum strength, and possible trend continuation areas.
### Important Notes
This tool is not a standalone trading system and does not provide guaranteed entry or exit points. It should be used together with market structure, risk management, and additional analysis.
Designed for traders who use Bill Williams' trading methodology and momentum-based analysis.
版本注释
//Fixed scale format版本注释
Corrected the Alligator SMMA calculation.开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。