OPEN-SOURCE SCRIPT
Cập nhật Wave-Ocean Trend

Wave-Ocean Trend
Description
Wave-Ocean Trend is a momentum indicator based on a combination of Exponential Moving Averages (EMA), mean deviation, and Simple Moving Average (SMA).
The indicator is designed to help visualize market direction and momentum changes through the relationship between two waves:
* X1 — Aqua: the fast wave, designed to respond to changes in momentum.
* X2 — Orange: the smoothed wave, used as a reference for identifying changes in market momentum.
## How to Use
🌊 Bullish Crossover
When X1 (Aqua) crosses above X2 (Orange), an Aqua ball appears.
This event represents a potential shift in momentum to the upside and can be used as a reference when analyzing possible bullish movements.
🔻 Bearish Crossover
When **X1 (Aqua)** crosses below **X2 (Orange)**, a **red-orange ball** appears.
This event represents a potential shift in momentum to the downside and can be used as a reference when analyzing possible bearish movements.
Reference Zones
The indicator includes two main reference zones:
* Above +60: elevated momentum zone.
* Below -60: negative momentum zone.
* Between +60 and -60: intermediate momentum zone.
These zones should not be interpreted independently as automatic buy or sell signals. They are intended to provide additional context when evaluating momentum.
## X1-X2 Area
The area between X1 and X2 helps visualize the difference between the two waves:
* Green: X1 is above X2.
* Red: X1 is below X2.
A wider separation between the waves indicates a larger momentary difference between fast momentum and its smoothed reference.
Settings
The indicator has two main parameters:
Fast Wave ⚡ — Default: 10
Controls the responsiveness of the fast wave.
Slow Wave 🐌 — Default: 21
Controls the smoothing of the reference wave.
Lower values may make the indicator more responsive to market changes, while higher values generally produce a smoother reading.
Suggested Use
Wave-Ocean Trend can be used together with:
* Market structure
* Support and resistance
* Higher-timeframe trend
* Volume
* Price action
* Risk management
One possible approach is to identify the broader trend on a higher timeframe and then use Wave-Ocean Trend crossovers on a lower timeframe to evaluate momentum within that context.
Important
Wave-Ocean Trend is a **technical analysis tool and does not guarantee financial results.
No crossover should be considered, by itself, a recommendation to buy or sell. Signals may occur during consolidation, choppy markets, or periods of high volatility and should be evaluated within the broader market context.
Use proper risk management and perform your own testing before using the indicator in live trading.
Description
Wave-Ocean Trend is a momentum indicator based on a combination of Exponential Moving Averages (EMA), mean deviation, and Simple Moving Average (SMA).
The indicator is designed to help visualize market direction and momentum changes through the relationship between two waves:
* X1 — Aqua: the fast wave, designed to respond to changes in momentum.
* X2 — Orange: the smoothed wave, used as a reference for identifying changes in market momentum.
## How to Use
🌊 Bullish Crossover
When X1 (Aqua) crosses above X2 (Orange), an Aqua ball appears.
This event represents a potential shift in momentum to the upside and can be used as a reference when analyzing possible bullish movements.
🔻 Bearish Crossover
When **X1 (Aqua)** crosses below **X2 (Orange)**, a **red-orange ball** appears.
This event represents a potential shift in momentum to the downside and can be used as a reference when analyzing possible bearish movements.
Reference Zones
The indicator includes two main reference zones:
* Above +60: elevated momentum zone.
* Below -60: negative momentum zone.
* Between +60 and -60: intermediate momentum zone.
These zones should not be interpreted independently as automatic buy or sell signals. They are intended to provide additional context when evaluating momentum.
## X1-X2 Area
The area between X1 and X2 helps visualize the difference between the two waves:
* Green: X1 is above X2.
* Red: X1 is below X2.
A wider separation between the waves indicates a larger momentary difference between fast momentum and its smoothed reference.
Settings
The indicator has two main parameters:
Fast Wave ⚡ — Default: 10
Controls the responsiveness of the fast wave.
Slow Wave 🐌 — Default: 21
Controls the smoothing of the reference wave.
Lower values may make the indicator more responsive to market changes, while higher values generally produce a smoother reading.
Suggested Use
Wave-Ocean Trend can be used together with:
* Market structure
* Support and resistance
* Higher-timeframe trend
* Volume
* Price action
* Risk management
One possible approach is to identify the broader trend on a higher timeframe and then use Wave-Ocean Trend crossovers on a lower timeframe to evaluate momentum within that context.
Important
Wave-Ocean Trend is a **technical analysis tool and does not guarantee financial results.
No crossover should be considered, by itself, a recommendation to buy or sell. Signals may occur during consolidation, choppy markets, or periods of high volatility and should be evaluated within the broader market context.
Use proper risk management and perform your own testing before using the indicator in live trading.
Phát hành các Ghi chú
okPhát hành các Ghi chú
🔔 Sound AlertsPhát hành các Ghi chú
thank you Phát hành các Ghi chú
Added sound alerts to the Wave.Phát hành các Ghi chú
Sound Alert Correction: The Wave sound alerts have been adjusted and corrected. The Ball and Wave alerts are now working properly.Phát hành các Ghi chú
okMã 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.