akikostas

Rate Of Change [Hyperbolic]

akikostas Mis à jour   
Rate Of Change just got fixed!

Do note that you have to activate the "exotic calculations" inside the ROC-H settings.

A hyperbolic curve now transforms price. No more infinities on your indicators!

You may use the "exotic" function, that is embedded in my script in your own scripts.
This formula basically transforms the input (which may be zero or negative) into a strictly positive one.

While the mathematicians out there would opt for alternative formulae (like the exponential for negative numbers), I used the hyperbolic curve for continuity purposes. Feel free to build upon my calculations, and make them even better!

Tread lightly, for this is hallowed ground.
-Father Grigori

P.S. I cannot lock the source code. Science and knowledge belongs to humanity. Knowledge must not be up for sale.
Notes de version:
Now it is easier to copy and paste the hyperbolic() formula, and use it in you indicators.
You can now call this formula as many times as you wish, and transform your inputs (high, low, close etc).
Appropriate comments are placed inside the code, to make it more explanatory.
Notes de version:
Ridiculously simplified Hyperbolic Curve.
Notes de version:
Log-based ROC
Notes de version:
Change of title! Now ROC-H is ROC-L.
Notes de version:
Added copyright.
Script open-source

Dans le véritable esprit de TradingView, l'auteur de ce script l'a publié en open-source, afin que les traders puissent le comprendre et le vérifier. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais la réutilisation de ce code dans une publication est régie par le règlement. Vous pouvez le mettre en favori pour l'utiliser sur un graphique.

Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.

Vous voulez utiliser ce script sur un graphique ?

Idées en relation