PROTECTED SOURCE SCRIPT

RSI divergence(mom check)

The core of this indicator is obviously RSI divergence. But there are some tips I would like to explain and suggest.

First of all, although the basic principle of this indicator is simple: simply comparing the price and RSI value within a given time period. To be more specific, if the price now is lowest among last 300 candlesticks but its RSI value is not, then the candlesticks will be marked. However, sometimes it is not accurate. Here are some examples:

스냅샷

This is bitcoin 2h chart from COINBASE. It is true that we can capture most of corrections and make a fortune during a bull market. However, the market is not always consist of bull market:

스냅샷

This is also bitcoin 2h chart from COINBASE. We can imagine how much money we would lose if we buy every time solely according to the RSI divergence signals during a bear market. So, how to solve this question? As a bullish indicator, it's normal to have distortions in a bear market, but I still hope to improve its win rate and make it more reliable even though when people are trading during a bear market. So we need to add some filtering conditions to screen out all the divergence signals.

The first indicator came in my mind is: Momentum. Here is the momentum code with its zero axis:


One thing we should notice is that ’30’ is the time period of the momentum, you can change this to everything you want according to which assets you are trading. For example, in a long-run bullish stock market or gold market, you can set ’60’. But when it comes to futures or crypto, maybe 30 is a better choice.

Now, I use momentum as a condition to distinguish a bearish trend: if the all momentum value of past 100 candlesticks of my RSI divergence signals are minus, which means these divergence signals are in a bearish trend, in this case, I market them as purple signal2. Attached are some examples of BTC, ETH and SOL charts. We can see if we trade according to green signal1s. We gonna have to cut our losses multiple times, and for leveraged traders, it could even mean facing liquidation. However, signal2 has helped filter most of signal1s. So in most conditions, I believe the appearance of signal2 represents the end of bearish trends.

스냅샷

스냅샷

스냅샷

So far, we have created an overall frame. And I have set ‘alertcondition’ functions so that we can use this indicator to set alerts.

Here are some tips I would like to suggest based on my personal experiences:
1. Set stop losses and follow them strictly;

2. Adjust the time period according to different assets. For instance, 4h chart is good for bitcoin and most altcoin. But when it comes to stock market, 12h or 1d may be a better choice. You need to find the best suitable time period by yourself;

3. In a bear market, please be especially cautious with the green Signal 1; they are great for following uptrends but are not suitable for bottom-fishing. I recommend waiting for the purple Signal 2 to appear before placing trust again in the green Signal 1.

4. To be continued….
Candlestick AnalysisMoving AveragesTrend Analysis

보호된 스크립트입니다

이 스크립트는 클로즈 소스로 게시되며 자유롭게 사용할 수 있습니다. 당신은 스크립트를 차트에 사용하기 위해 그것을 즐겨찾기 할 수 있습니다. 소스 코드는 보거나 수정할 수 없습니다.

차트에 이 스크립트를 사용하시겠습니까?

면책사항