OPEN-SOURCE SCRIPT

RSI Divergency and Golden Ratio

מעודכן
How to calculate:

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.
הערות שחרור
Formule repaired
הערות שחרור
Add title
הערות שחרור
Formule fixed
DivergenceRelative Strength Index (RSI)Simple Moving Average (SMA)

סקריפט קוד פתוח

ברוח TradingView אמיתית, מחבר הסקריפט הזה פרסם אותו בקוד פתוח, כך שסוחרים יוכלו להבין ולאמת אותו. כל הכבוד למחבר! אתה יכול להשתמש בו בחינם, אבל השימוש החוזר בקוד זה בפרסום כפוף לכללי הבית. אתה יכול להכניס אותו למועדפים כדי להשתמש בו בגרף.

רוצה להשתמש בסקריפ זה בגרף?


AlgoTrade sevdası.
גם על:

כתב ויתור