LazyBear

Colored Volume Bars [LazyBear]

Dilihat 36386 kali
6710
36386 23
Edgar Kraut proposed this simple colored volume bars strategy for swing trading.

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.

Buy the green or blue volume bars, use a 1% trailing stop, and stand aside on red or orange bars.

As you see, this is more for entry confirmation. I have not tested this on any instrument.

You may have to tune the lookback period for your instrument. Default is 10.

More info:
"A color-based system for short-term trading" - http://www.traders.com/Documentation/FEE...

List of all my indicators:
Keluarkan daripada Skrip Pilihan Tambah kepada Skrip Pilihan
//
// @author LazyBear 
// List of all my indicators: https://www.tradingview.com/v/4IneGo8h/
//
study("Colored Volume Bars [LazyBear]", shorttitle="CVOLB_LB")
lookback=input(10)
showMA=input(false)
lengthMA=input(20)
p2=close
v2=volume
p1=p2[lookback] 
v1=v2[lookback] 
c=	iff(p2>p1 and v2>v1, green, 
	iff(p2>p1 and v2<v1, blue,
	iff(p2<p1 and v2<v1, orange,
	iff(p2<p1 and v2>v1, red, gray))))
plot(v2, style=columns, color=c)
plot(showMA?sma(v2, lengthMA):na, color=maroon)
List of my free indicators: http://bit.ly/1LQaPK8
List of my indicators at Appstore: http://blog.tradingview.com/?p=970

Komen

what do you mean by loopback? sorry I am new to this
+11 Balas
I need this indicator on mt4 forma i really like it please help me !!
+10 Balas
How about Colored Candles with Colored Bars?
+6 Balas
LazyBear QuantitativeExhaustion
Add the following 2 lines to the end of the script.

ebc=input(true, title="Enable bar colors")
barcolor(ebc?c:na)
+17 Balas
IbrahimFX LazyBear
@LazyBear, I need this indicator on mt4 forma i really like it please help me !!
+5 Balas
Yeah, this is actually extra awesome because I've been meaning to find a way to detach volume from the main chart. Saved me some time.
+2 Balas
LazyBear MarvinMartian
Thanks.

Just FYR: you can right click on any indicator name and select "Unmerge down/up" to get it on its own separate pane.
+3 Balas
Oh that's supercool and useful =) thanks.

I think I'm going to make some frankenstein charts now!
+1 Balas
Interesting script and made a small adjustments in your script. 1) option to input a different lookback period for price and volume. 2) added an option to turn the lookback period for volume into a moving average period for volume.
+1 Balas
MarxBabu Dutchinvestor
@Dutchinvestor, @Dutchinvestor, can you share the screen shot and if any improvements here.
+1 Balas
Laman Utama Penyaring Saham Penyaring Forex Penyaring Kripto Kalendar Ekonomi Bagaimana ia berfungsi Ciri-ciri Carta Harga Rujuk rakan Peraturan Dalaman Pusat Bantuan Laman web dan Penyelesaian Broker Widget Penyelesaian Pencartaan Perpustakaan Pencartaan yang Ringan Blog & Berita Twitter
Profil Tetapan Profil Akaun dan Pengebilan Rujuk rakan Tiket Sokongan Saya Pusat Bantuan Idea yang diterbitkan Pengikut Mengikut Mesej Peribadi Sembang Daftar Keluar