OPEN-SOURCE SCRIPT
Cập nhật Exhaustion Signal

Exhaustion Signal
The Exhaustion Signal involves monitoring a sequence of consecutive bars within a price chart. This analytical approach aims to identify instances where the price exhibits pronounced movement, potentially indicating an upcoming shift in the current trend. The methodology works by assigning values to bars based on their relationship with the closing price of a bar from four periods ago. If a subsequent bar's closing price surpasses the close of the bar from four periods ago, the count advances. However, if the closing price falls below the close of the bar from four periods ago, the count is reset. This counting process continues until a predetermined count value is reached. The appearance of this count value within the exhaustion signal framework signifies a market that has extended beyond typical levels, suggesting the possibility of a temporary pause or even a reversal in the existing trend.
It's important to note that, as per the principles of this approach, the exhaustion signal by itself is not designed to function as a standalone trading indicator. The broader market context and the application of additional analysis techniques influence its significance and potential trading implications.
The Exhaustion Signal involves monitoring a sequence of consecutive bars within a price chart. This analytical approach aims to identify instances where the price exhibits pronounced movement, potentially indicating an upcoming shift in the current trend. The methodology works by assigning values to bars based on their relationship with the closing price of a bar from four periods ago. If a subsequent bar's closing price surpasses the close of the bar from four periods ago, the count advances. However, if the closing price falls below the close of the bar from four periods ago, the count is reset. This counting process continues until a predetermined count value is reached. The appearance of this count value within the exhaustion signal framework signifies a market that has extended beyond typical levels, suggesting the possibility of a temporary pause or even a reversal in the existing trend.
It's important to note that, as per the principles of this approach, the exhaustion signal by itself is not designed to function as a standalone trading indicator. The broader market context and the application of additional analysis techniques influence its significance and potential trading implications.
Phát hành các Ghi chú
Minor backend code change - no impact on user.Phát hành các Ghi chú
Modified to allow users to change the number of candles counted (default is nine).Phát hành các Ghi chú
Added a second exhaustion signal with a default value of 12.Phát hành các Ghi chú
Updated the alert mechanismPhát hành các Ghi chú
Minor clean-up of script.Phát hành các Ghi chú
Minor clean-up and updated chart imagePhát hành các Ghi chú
Improved the calculation so both exhaustion signal counts only reset after a successful 12 count (or failure beforehand), rather than having the 9 reset on a successful 9 count.Phát hành các Ghi chú
Additional improvements to the calculation function.Candles after the first exhaustion signal (9 count) must now close above (or below) the candle 3 prior, rather than 4 prior. This ensures the second exhaustion signal candle closed above (or below) the first exhaustion signal.
Phát hành các Ghi chú
Level 3 signals were triggering on incorrect candles. The logic for the calculation section has been overhauled and fixed.Phát hành các Ghi chú
Bug fix on the new calculation - cycles were resetting to 0 instead of 1Phát hành các Ghi chú
Another bug fix in the calculation logic.Phát hành các Ghi chú
Found another issue with how the cycle was being calculated and reset after implementation of the level 3 signal. It should be resolved now.Phát hành các Ghi chú
Minor formatting changesPhát hành các Ghi chú
Minor formatting updatesPhát hành các Ghi chú
Minor formatting updatesPhát hành các Ghi chú
Adding the third level signal created a lot of unexpected complexities to the script. There are certain scenarios of price action that can throw it off and are hard to catch during development and testing.This update attempts to resolve any remaining bugs with the script since introducing the level 3 signal.
Phát hành các Ghi chú
Bug fix on some level 3 counts and script optimization.Phát hành các Ghi chú
New Feature: AlertsHow to use:
- Enter indicator settings and select which alerts you want to receive (bias and signal level)
- Choose timeframe on chart
- Right click on signal and select Add Alert on ES
- Leave it set to Any alert() function call
Before setting another alert, make sure to update the settings to the alerts you want to receive for that ticker and timeframe.
Additional code cleanup and optimization was done.
Mã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.