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

Open-source Skript

Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source veröffentlicht. Auf diese Weise können nun das Script auch andere Trader verstehen und prüfen. Vielen Dank an den Autor! Sie können das Script kostenlos verwenden. Die Nutzung dieses Codes in einer Veröffentlichung wird in unseren Hausregeln reguliert. Sie können es als Favoriten auswählen, um es in einem Chart zu verwenden.

Möchten Sie dieses Skript auf einem Chart verwenden?

Haftungsausschluss