LazyBear

Absolute Strength Index Oscillator [LazyBear]

Dilihat 9466 kali
1168
9466 12
This oscillator is derived from Absolute Strength Index, originally developed by Tudor Marcelin (Art Invest).

I made it an oscillator mainly to make it easy to identify the divergences and price-flows. There is not much documentation available online for Absolute Strength Index afaik, lets hope Mr.Tudor comes across this and provides us a detailed writeup :)

Quick testing showed lots of good signals (with minimal lag). Let me know what you guys find in your testing.

Indicator options support coloring bars based on the oscillator/signal values, and a histogram-only mode.

List of my public indicators: http://bit.ly/1LQaPK8
List of my app-store indicators: http://blog.tradingview.com/?p=970

Keluarkan daripada Skrip Pilihan Tambah kepada Skrip Pilihan
//
// @author LazyBear 
// 
// List of my public indicators: http://bit.ly/1LQaPK8 
// List of my app-store indicators: http://blog.tradingview.com/?p=970 
//
study("Absolute Strength Index Oscillator [LazyBear]", shorttitle="ABSSIO_LB")
sh=input(false, title="Show as Histo")
ebc=input(false, title="Enable Bar Colors")
lma=input(21, title="EMA Length")
ld=input(34, title="Signal Length")
osl=10 
calc_abssio( ) =>
    A=iff(close>close[1], nz(A[1])+(close/close[1])-1,nz(A[1]))
    M=iff(close==close[1], nz(M[1])+1.0/osl,nz(M[1]))
    D=iff(close<close[1], nz(D[1])+(close[1]/close)-1,nz(D[1]))
    iff (D+M/2==0, 1, 1-1/(1+(A+M/2)/(D+M/2)))

abssi=calc_abssio()
abssio = (abssi - ema(abssi,lma))
alp=2.0/(ld+1)
mt=alp*abssio+(1-alp)*nz(mt[1])
ut=alp*mt+(1-alp)*nz(ut[1])
s=((2-alp)*mt-ut)/(1-alp)
d=abssio-s
hline(0, title="ZeroLine")
plot(not sh ? abssio : na, color=(abssio > 0 ? abssio >= s ? green : orange : abssio <=s ? red :orange), title="ABSSIO", style=histogram, linewidth=2)
plot(not sh ? abssio : na, color=black, style=line,title="ABSSIO_Points", linewidth=2)
plot(not sh ? s : na, color=gray, title="MA")
plot(sh ? d : na, style=columns, color=d>0?green:red)
barcolor(ebc?(abssio > 0 ? abssio >= s ? lime : orange : abssio <=s ? red :orange):na)
List of my free indicators: http://bit.ly/1LQaPK8
List of my indicators at Appstore: http://blog.tradingview.com/?p=970
This is an amazing indicator
Balas
This is by far my favorite indicator. I use it in my set of indicators for trend on the daily charts. It works VERY well as an exit indicator. I did change the signal strength 39 and found it kept me in a trend just a bit longer. Thank you so much.
Balas
Hey LazyBear, I noticed that this indicator repaints data. Is it possible for you to make this one so that it doesn’t?
+9 Balas
Love the indicator! Is there a way to get an alert when there is a zeroline cross?
+2 Balas
Thriver Thriver
@Thriver, Or the bars change color, such as when they change to red or green? Thank you.
+1 Balas
LazyBear, only just come accross this & liking it very much. You created this almost 4 years ago, any amendments before I start testing it? Great work
+5 Balas
Excellent work! :D It shows market strength rather well; the intensity of movement.
+1 Balas
Great indicator
Balas
Is it possible to trigger alerts based on "overbought" and "oversold" ? I have changed the parameters to -/+37,5 (comparable to RSI - 25/75). I would like to trigger to alerts on short term timeframes, especially on Stock Indices. Is it possible with the code as it is or shall the code be altered ?. Thx a lot for the awesome tips. AB
+3 Balas
I like it. It's one of these rare cases where a formula which looks complicated actually produces something of value. Most times the opposite is true in my experience :)
+1 Balas
Laman Utama Penyaring Saham Penyaring Forex Penyaring Kripto Kalendar Ekonomi Rancangan 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