OPEN-SOURCE SCRIPT

Exhaustion Signal

Mis à jour
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.
Notes de version
Minor backend code change - no impact on user.
Notes de version
Modified to allow users to change the number of candles counted (default is nine).
Notes de version
Added a second exhaustion signal with a default value of 12.
Notes de version
Updated the alert mechanism
Notes de version
Minor clean-up of script.
Notes de version
Minor clean-up and updated chart image
Notes de version
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.
Notes de version
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.
Notes de version
  • The script has been upgraded to Pine Script v6
  • A 3rd level signal has been added with a count value of 14. Starting at count 13 (after the 2nd signal), the candles must close above (or below) the candle two periods prior to progress.
  • Users can now toggle individual signal levels on or off


Explore the free scanner and backtester tools available at chartingcycles.xyz
Notes de version
Level 3 signals were triggering on incorrect candles. The logic for the calculation section has been overhauled and fixed.
Notes de version
Bug fix on the new calculation - cycles were resetting to 0 instead of 1
Notes de version
Another bug fix in the calculation logic.
Notes de version
Found another issue with how the cycle was being calculated and reset after implementation of the level 3 signal. It should be resolved now.
Notes de version
Minor formatting changes
Notes de version
Minor formatting updates
Notes de version
Minor formatting updates
Candlestick analysisexhaustionsignalTrend Analysis

Script open-source

Dans le plus pur esprit TradingView, l'auteur de ce script l'a publié en open-source, afin que les traders puissent le comprendre et le vérifier. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais la réutilisation de ce code dans une publication est régie par nos Règles. Vous pouvez le mettre en favori pour l'utiliser sur un graphique.

Vous voulez utiliser ce script sur un graphique ?


Aussi sur:

Clause de non-responsabilité