OPEN-SOURCE SCRIPT

Bottom Detection Monitor

**Bottom-Fishing Monitor**

This indicator utilizes the RSI value when it falls below 30. The difference between the RSI value and 30 is accumulated over time. If the RSI value exceeds 30 during this period, the accumulated value is automatically reset to zero, and the calculation starts anew. Once the accumulated value reaches the set threshold, it resets again.

The default threshold is set to 100.

This concept originally emerged from observing one-minute trading charts, where it is particularly suitable for smaller timeframes. In cases of a continuous, strong downward trend on higher timeframes, the threshold might need to be set much higher. This could result in the indicator's graph becoming overly distorted. Additionally, since the volatility characteristics and amplitude vary for different instruments, I’ve made this threshold adjustable for users.

Using the same principle, I’ve also created a similar detection mechanism based on CCI.

Under normal circumstances, this curve stays close to the zero line. However, during a downward trend where RSI falls below 30, the curve starts to rise. When the suddenly increasing curve peaks and then drops back to the zero line, it signals a bottom-fishing opportunity. That said, due to the threshold setting, multiple peaks may appear consecutively. Users should be aware of this in practice and can adjust the threshold to mitigate such occurrences.

This is the beginning of my open-source journey.

I respect creative ideas and redefined expressions.

Thank you, TradingView community, for giving me this opportunity.
Commodity Channel Index (CCI)Relative Strength Index (RSI)

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer