akd

WhenWasThePriceAction


Bars of largest range ( volatility )

* see moments of strongest price action immediately
* colored & upDown by candle color
* amplifier: you see only the bull runs, and subsequent dumps

Very nice on the 5 years scale of BITSTAMP:BTCUSD - nothing comparable to 2013 has happened yet.

Internals:
squared_range = pow(high-low, 2)

That is essentially it already. The rest are details:
* gauge with (in case of Bitcoin exponentially rising) price
* show in red for negative candles
* take even higher polynomial (than 2) to show only the very largest values
* allow some user input (but there is not much more that can be chosen here.)

Sorry for such a simple formula - but sometimes the easiest things are powerful.

Please give feedback. https://www.tradingview.com/u/akd and/or in the cryptocurrency chat. Thanks.
Von Favorisierten Skripten entfernen Zu Favorisierten Skripten hinzufügen
You can add it to your own charts: Press "Indicators" at the top, then search for "when"
Antworten
inspired by @cursor - thank you very much, I had really enjoyable PineScript hours just now :-)
Antworten
Startseite Aktien-Screener Forex-Screener Krypto-Screener Wirtschaftskalender So funktioniert es! Chartmerkmale Preise Hausregeln Moderatoren Webseite & Brokerlösungen Widgets Charting Lösungen Hilfe Center Feature-Anfrage Blog & News FAQ - Häufige Fragen & Antworten Wiki Twitter
Profil Profileinstellungen Konto und Abrechnung TradingView Coins Meine Support Tickets Hilfe Center Veröffentlichte Ideen Followers Ich folge Private Nachrichten Chat Abmelden