Absolute Strength Index Oscillator [LazyBear]

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:
List of my app-store indicators:

Usuń z Ulubionych Skryptów Dodaj do Ulubionych Skryptów
// @author LazyBear 
// List of my public indicators: 
// List of my app-store indicators: 
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")
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)))

abssio = (abssi - ema(abssi,lma))
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:
List of my indicators at Appstore:


Hey LazyBear, I noticed that this indicator repaints data. Is it possible for you to make this one so that it doesn’t?
+24 Odpowiedz
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
+6 Odpowiedz
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
+6 Odpowiedz
Here's Absolute Strength Index (not Oscillator):

+5 Odpowiedz
Love the indicator! Is there a way to get an alert when there is a zeroline cross?
+2 Odpowiedz
Thriver Thriver
@Thriver, Or the bars change color, such as when they change to red or green? Thank you.
+1 Odpowiedz
Excellent work! :D It shows market strength rather well; the intensity of movement.
+1 Odpowiedz
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 Odpowiedz
LazyBear ChartArt
Agree. I liked the initial testing results too.
+3 Odpowiedz
Hey LazyB can you recommend different parameters for the oscillator to use it in 15 minutes timeframe for index stocks? Best
Strona główna Skaner akcji Skaner Forex Skaner Krypto Kalendarz ekonomiczny Jak to działa Funkcje wykresów Cennik Poleć przyjaciela Dobre Praktyki Centrum Pomocy Rozwiązania internetowe i brokerskie Widżety Wykresy Lekka Biblioteka Wykresów Blog i wiadomości Twitter
Profil Ustawienia profilu Konto i płatności Poleceni znajomi Monety Wiadomości do działu obsługi Centrum Pomocy Opublikowane Pomysły Obserwujący Obserwujesz Wiadomość prywatna Czat Wyloguj