MarvinMartian

Just got this great multi-colored volume bar script... added it

BITSTAMP:BTCUSD   Bitcoin
to my perspective chart.

First, for fun, look at the big sell spike in Oct 2013. Damn that had to have hurt by the end of the year. Even if they caught it at $900, that would have been $21MM instead of $3MM. I'm sure they were :((

You have to ask yourself, why is there persistent sell volume? Algo Trading Bots.

This is how the colors are determined:
- If today’s closing price and volume are greater than 'n' days ago, color today’s volume bar green.
- If today’s closing price is greater than 'n' days ago but volume is not, color today’s volume bar blue.
- Similarly, if today’s closing price and volume is less than 'n' days ago, color today’s volume bar orange.
- If today’s closing price is less than 'n' days ago but volume is not, color today’s volume bar red.

//
// @author LazyBear
// List of all my indicators: //
study("Colored Volume Bars ", shorttitle="CVOLB_LB")
lookback=input(10)
showMA=input(false)
lengthMA=input(20)
p2=close
v2=volume
p1=p2
v1=v2
c= iff(p2>p1 and v2>v1, green,
iff(p2>p1 and v2v1, red, gray))))
plot(v2, style=columns, color=c)
plot(showMA?sma(v2, lengthMA):na, color=maroon)
Aviso legal

As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.