alexgrover

Price-Curve Channel

Introduction

Although many will use lines in order to make support and resistances, others might use curves, this is logical since trends are not always linear. Therefore it was also important to take this into consideration, and when i published the price-line channel indicator, i already started a curved version of it. Therefore i propose this new indicator based on the recursive bands framework that allow to return curved support and resistances. The benefits of this indicator are : a totally stable approach, user friendly, and extremities able to converge faster toward the price.

The Indicator

The indicator is way faster than the price-line channel one, this is due to the fast convergence toward the price of the extremities. Length control the reactivity of the indicator, while mult is more related to the rate of convergence, values of mult lower than 1 will make the curve converge slower,


mult = .5

Higher values of mult will make the extremities converge faster toward the price.


mult = 2

Unlike the price-line channel indicator this one is directly "readjusted", this is due to the fact that the extremities are no longer linear, of course a "perfectly" curved version could come in an update, but for the moment it wasn't really a necessity.

Comparison With Price-Line


The fact that the extremities converge faster toward the price allow to possibly capture more tops/bottoms/retracements. However the extremities of both indicator have the same behavior regarding their accuracy, for example the upper extremity have a higher chance to detect a retracement when on a downtrend, while the lower extremity have higher chance to detect a retracement while on a up-trend.

On The Indicator Construction

The recursive bands framework is the core of the indicator, it is important to use it. The curved effect is given by multiplying the correction factor by the barssince function, therefore the correction factor is no longer constant which in return allow for a non linear output.

The size is divided by the square of length in order to keep a certain logic between the output and the length period.

Conclusion

The recursive bands framework prove again to be quite interesting, lot of indicators can be made using it, i only posted a fraction of what can be done with it, which make the recursive bands indicator one of the best indicators i ever made in my opinion.

The proposed indicator is stable, and don't require nightmarish manipulations (unlike the linear channels indicator), its ability to detect possible support and resistances points, although subjective, remain a feature of the indicator. The use of recursion make the indicator efficient. I hope the indicator find some use in the community.

Thanks for reading !


Linear version.

Note

Respect the house rules, always request permission before publishing open source code. This is an original work, requesting permission is the least you can do.

I apologize for any grammatical/orthographic error in this post.

Supprimer des scripts favoris Ajouter aux scripts favoris
Show your support by donating

BTC : 1J5BQYnx5Wb2akoSfc3ykeShtvmXGsgP6W

ETH : 0xc418eE4039D16EDf44C52dFa292EAbdF117954B3

Commentaires

This is good stuff Alex. I'm testing it right now.
I'm figuring out how I can connect the startingpoint of a curve to a particular "event" e.g. macd crossing
Any ideas?
+2 Répondre
@GeVe, Thx for your support, unfortunately i can't understand what you are trying to do.
Répondre
As always, it is simple and efficient. You are the smartest brain on Tradingview. The perfect curve, unique, really great! ! !
+2 Répondre
concise and beautiful. thank you sensei!
+2 Répondre
alexgrover theheirophant
@theheirophant, I'am glad, thanks for the support ;)
Répondre
Nice addition to family, thanks :)
+2 Répondre
@Owl, Indeed, thx for the support :)
Répondre
Thanks
+2 Répondre
@Old_tom, You are welcome :)
Répondre
WOW, what a phenomenal script. Thanks a ton for putting it together. Great fcking work man
+1 Répondre
Accueil Filtre d'actions Filtre Forex Filtre Crypto Calendrier économique Comment ça marche Caractéristiques du graphique Prix Parrainer un ami Règles de conduite Centre d'aide Solutions site web & courtier Widgets Solutions de cartographie Bibliothèque de graphiques allégés Blog & News Twitter
Profil Paramètres du Profil Compte et Facturation Parrainer un ami Mes tickets au support Centre d'aide Idées Publiées Suiveurs Suivi Messages privés dialogue en ligne Se Déconnecter