TradingView
akikostas
2 אפר׳ 2023 13:06

Rate Of Change [Hyperbolic] 

US10Y-US02YTVC

תיאור

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.
תגובות
akikostas
To those who follow me, I am now using mainly the KST indicator. In nearly all my charts, it is the only indicator visible on screen.
I have made the same transformations to KST, like I did with ROC above.
tradingview.com/script/5hod89KV-Know-Sure-Thing-Ribbon/

The EMA Ribbon paired on the KST indicator, provides us with a new way to analyze charts. In my humble opinion, this is the best (and most classical) method of chart analysis. The clear mathematical foundation of KST paired with the dynamic support/resistance of the Ribbon gives us an entirely new perspective on charts.


And with the Hyperbolic fix, KST analysis works everywhere.
עוד