MarvinMartian

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

BITSTAMP:BTCUSD   比特币
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)
免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。