OPEN-SOURCE SCRIPT
Cập nhật 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.
Phát hành các Ghi chú
//Fixed scale formatPhát hành các Ghi chú
Corrected the Alligator SMMA calculation.Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.