OPEN-SOURCE SCRIPT

Calmness Index [racer8]

Calmness is a theory of mine that says that the more a series of bars resembles a rectangle or base pattern, the more calm it is.
I mean think about it, when is price at it's calmest? When it's not moving of course :) And nothing better demonstrates a dead market like a base pattern. That is what makes this indicator so unique.....it's ability to detect the formation of a price base.

Calculation:
Calmness = (sum of true ranges) / (range * n periods) .............. where range = highest - lowest over n periods

The above formula reflects that the higher the Calmness value, the more calm price is.
What I would do with indicator is only trade when the previous period's calm value is higher than the set dashed level (purple line).

Colors: If market is calm, indicator is gray otherwise orange ........ Enjoy :)
OscillatorsVolatility

開源腳本

在真正的TradingView精神中,這個腳本的作者以開源的方式發佈,這樣交易員可以理解和驗證它。請向作者致敬!您可以免費使用它,但在出版物中再次使用這段程式碼將受到網站規則的約束。 您可以收藏它以在圖表上使用。

想在圖表上使用此腳本?

免責聲明