DinGrogu

Supertrend Mean Reversion Index [HODLER]

This indicator was created primarily as an experiment. While the supertrend can be powerful, in many cases, the trend has already started before the time it's identified, resulting in a price decrease. After conducting my own research, I discovered that the reversal point is often more nearby during the downtrend, rather than at the beginning of the uptrend. Surprisingly, this point is always based on the average percentage below or above the supertrend. The indicator calculates these averages, usually starting below the uptrend point, and in most cases, the trend continues upward from there.

This indicator can be very useful for checking corrections. For example, setting the percentages manually to around 50-60% on BTC 1d, I am impressed by how accurate the indication is. Although there might be other more professional ways to calculate this, I still find it amusing that we can use this indicator to make these calculations as well.

To use the indicator, you will need to set the ATR length and ATR factor, which are self-explanatory. The next settings are the ATR lookback and Percentages Stored. The ATR lookback is the ladder price from which the calculation begins, and Percentages Stored is the maximum number of the highest and lowest percentages from previous data points that are stored to calculate the average percentage.

The supertrend percentage settings can be manually set to adjust your percentage up or down, but if left at 0, it will be calculated automatically based on the above-mentioned settings. You can also set an offset to slightly deviate above or below the average to yield better results. The last supertrend setting is the minimum number of bars that must be considered before checking whether the value is above or below the average.

To filter out some noise, I have added Relative Strength Index (RSI). The values above and below are determined by whether the RSI moving average is above or below certain thresholds.

Please note that this indicator was created for my own research. While it can be very accurate with the right settings, you should always use it in combination with other technical analyses to validate your entry and exit points. If you have any suggestions to improve the indicator, please let me know in the comments. I would really appreciate it!
סקריפט מוגן
סקריפט זה פורסם במקור סגור ותוכל להשתמש בו באופן חופשי. אתה יכול להגדירו כמועדף כדי להשתמש בו בגרף. אינך יכול להציג או לשנות את קוד המקור שלו.
כתב ויתור

המידע והפרסומים אינם אמורים להיות, ואינם מהווים, עצות פיננסיות, השקעות, מסחר או סוגים אחרים של עצות או המלצות שסופקו או מאושרים על ידי TradingView. קרא עוד בתנאים וההגבלות.

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