Positive mismatch finds the lowest trough within the distance you choose. It then compares it to the current closing value. If the past low is above the current closing level, it means that the bottoms of the price are descending. The RSI level at the furthest bottom of the price is detected. And the current RSI level is detected. If the current RSI level is higher than the previous RSI level, there is a positive divergence. When a positive divergence occurs, a green pole forms above the RSI indicator on the chart.
Negative finds the highest peak level within the distance you choose. It then compares it to the current closing value. If the past high is below the current close, it means that the highs of the price are rising. The RSI level at the furthest high of the price is detected. And the current RSI level is detected. If the current RSI level is lower than the previous RSI level, there is negative divergence. When a negative divergence occurs, a red pole forms above the RSI indicator on the chart.
As can be seen in the image, the points marked with red are the regions where incompatibility occurs. At the same time, the signals that occur when the RSI cuts its own moving average and the signals that occur when the RSI cuts its own golden ratio are also very strong signals. Waiting for your ideas and comments. I am open to criticism. We can improve.
진정한 TradingView 정신에 따라, 이 스크립트의 저자는 트레이더들이 이해하고 검증할 수 있도록 오픈 소스로 공개했습니다. 저자에게 박수를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 출판물에서 이 코드를 재사용하는 것은 하우스 룰에 의해 관리됩니다. 님은 즐겨찾기로 이 스크립트를 차트에서 쓸 수 있습니다.