Relative Strength Volatility Variable Bands [DW]

This is an experimental adaptive trend following study inspired by Giorgos Siligardos's Reverse Engineering RSI and Tushar S. Chande's Variable Moving Average.

In this study, reverse engineered RSI levels are calculated and used to generate a volatility index for VMA calculation.

First, price levels are calculated for when RSI will equal 70 and 30. The difference between the levels is taken and normalized to create the volatility index.

Next, an initial VMA is calculated using the created volatility index. The moving average is an exponential calculation that adjusts the sampling length as volatility changes.

Then, upper and lower VMAs are calculated by taking a VMA of prices above and below the initial VMA. The midline is produced by taking the median of the upper and lower VMAs.

Lastly, the band levels are calculated by multiplying the distance from the midline to the upper and lower VMAs by 1, 2, 3, 4, and 5.

Bar colors are included. They're based on the midline trend and price action relative to the upper and lower VMAs.
הערות שחרור: Updates:

-> Migrated to v4.
-> Stability Fix: Added correction for NaN values to stabilize initial states.
-> Reorganized script structure
-> Updated style theme.
הסר מסקריפטים מועדפים הוסף לסקריפטים מועדפים
For my full list of premium tools, check the blog:

Reach out on Telegram:


what would be the rules to trade this?
For example: to trade pullbacks -> If midline depicts downtrend (red) we could short when price touches midline and exit when price touches the lower band? viceversa for uptrend.
What do you suggest? It'd be great to see a backtest strategy too!
Thanks in advance!
+2 השב
DonovanWall Cryptorganics
@Cryptorganics, You can trade it however you want to. However, if you pay attention to the bar color scheme and midline color scheme, you can identify the momentary trend (red & maroon = bearish, lime & green = bullish) The best time to take advantage of price moves with this indicator that I've tried is when the trend confirmation changes from bullish to bearish or vice versa. Although it really depends on market conditions. Obviously the method I just explained performs best in trending markets. Ranging markets may be a different story depending on how wide or narrow the volatility is.

You could probably get decent results using only this tool if you have a good risk management strategy in place, but this is not a tool I've personally used as a standalone. Instead, I've mainly used it as a trend confirmation tool.
+2 השב
Thanks for sharing!!! Great work!!!
+1 השב Looks Great with
+1 השב
Nice works, keep it up bro =D
+1 השב
Great work. Thank you
בית סורק מניות סורק מט"ח סורק מטבעות-קריפטו יומן כלכלי איך זה עובד‏ תכונות גרף מחירון הפנה חבר כללי הבית מרכז תמיכה כלים לאתרים וברוקרים יישומונים פתרונות גרפיים ספריית גרפים קלי משקל בלוג וחדשות טוויטר‏
פרופיל הגדרות פרופיל חשבון וחיוב חברים מופנים מטבעות לשוניות התמיכה שלי מרכז תמיכה רעיונות שפורסמו עוקבים עוקב הודעות פרטיות צ'אט התנתק