akikostas

Rate Of Change [Hyperbolic]

akikostas 已更新   
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.
發布通知:
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.
發布通知:
Ridiculously simplified Hyperbolic Curve.
發布通知:
Log-based ROC
發布通知:
Change of title! Now ROC-H is ROC-L.
發布通知:
Added copyright.
開源腳本

本著真正的TradingView精神,該腳本的作者將其開源發布,以便交易者可以理解和驗證它。為作者喝彩吧!您可以免費使用它,但在出版物中重複使用此代碼受網站規則的約束。 您可以收藏它以在圖表上使用。

免責聲明

這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。

想在圖表上使用此腳本?