TradingView
akd
29 מאי 2017 03:21

WhenWasThePriceAction 

Bitcoin / U.S. dollarBitstamp

תיאור


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. tradingview.com/u/akd and/or in the cryptocurrency chat. Thanks.
תגובות
akd
You can add it to your own charts: Press "Indicators" at the top, then search for "when"
darshankvp
nice indicator good luck to you
akd
inspired by @CurSor - thank you very much, I had really enjoyable PineScript hours just now :-)
עוד