TradingView
RicardoSantos
Sep 10, 2021 5:39 PM

Delta Barcode 

Bitcoin / U.S. dollarBitstamp

描述

experimental:
barcode generated from last 100 deltas(price difference between 2 points) depth :)

版本注释

added color options, WIP for skewness and kurtosis

版本注释

fixed colors, added color to skew/kurt lines, removed label and minor cleanup of the code.

版本注释

added label with tooltip for reading stats, if you want some statistic here please let me know in the comments, thank you.
评论
Pratik_4Clover
Such a small but powerful creation!

I've one question though, I notice there is "fcol(_i)=>color.rgb(255-_i * 150, 200-_i * 150, 100+_i*100, 0)" in the code and I've tried to understand color.rgb from support document but I can't seem to figure out how to if I want to change the colors (yellow and what seems like blue) in this case to something else?
RicardoSantos
@Pratik_4Clover, _i is a float in range(0 to 1) so red is scaled from 255 to 105, green from 200 to 50 and blue 100 to 200 so that:
rgb(105, 50, 200) = purple
rgb(255, 200, 100) = yellow
ill update this at some time to be more intuitive, but for now it is like this..
Pratik_4Clover
@RicardoSantos, Thank you, now I've a lead! I'll look for rgb representation for the colors I want there and change it. Thanks again ^^
KITSVNE
@Pratik_4Clover, could you ELI5 how this one works?
I am using it for a few days now and from my observations purple - bullish PA, green- bearish PA and all the other colors in between - warning that the PA is changing.

what I don't understand is the kurtosis and skewness.
RicardoSantos
@luffa1, distribution properties, high kurtosis will tighten the triangle/distribution (tails/edges) while skewness will tell if the distribution is tipping to bull or bear territory
corporatefinanceinstitute.com/resources/knowledge/other/kurtosis/
en.wikipedia.org/wiki/Kurtosis
corporatefinanceinstitute.com/resources/knowledge/other/skewness/
en.wikipedia.org/wiki/Skewness
vijaypadayatchi
This indicator is useless and it has nothing to achieve only numbers and colors are changing
GamingBot
Unable to interpret the chart. understood price difference but what is the takeaway or how to draw any conclusion from it, if you can kindly clarify pls
RicardoSantos
Trendoscope
What does triangle towards the end represent?

RicardoSantos
更多