Reverse Stochastic Momentum Index On Chart

Introducing the Reverse Stochastic Momentum Index "On Chart" version

According to Investopedia :
“The Stochastic Momentum Index (SMI) is a more refined version of the stochastic oscillator, employing a wider range of values and having a higher sensitivity to closing prices.”

The SMI is considered a refinement of the stochastic oscillator developed by William Blau and introduced in 1993 in an attempt to provide a more reliable indicator, less subject to false swings.
It calculates the distance of the current closing price as it relates to the median of the high/low range of price.

The SMI has a normal range of values between +100 and -100.

When the present closing price is higher than the median, or midpoint value of the high/low range, the resulting value is positive.
When the current closing price is lower than that of the midpoint of the high/low range, the SMI has a negative value.

Here I have reverse engineered the SMI formula to derive 2 functions.

One function calculates the chart price at which the SMI will reach a particular SMI scale value.
The second function calculates the chart price at which the SMI will crossover its signal line.

I have employed those functions here to give the "crossover" price levels for :

  • Upper alert level ( default 40 , color : aqua blue )
  • Mid-Line ( default value 0, color : white )
  • Lower alert level ( default -40, color : purple )
  • Signal line ( default 13, colors : bright red & lime green )

And also to give the SMI eq price ( colors : red & green )

The midline, upper and lower alert levels return the closing price which would make SMI equal to their respective values
The user can infer from this that.....

Signal line returns the closing price where Stochastic Momentum Index is equal to its signal line
The user can infer from this that.....

SMI eq price returns the closing price which would make the SMI equal to its previous value
The user can infer from this that.....
Note : all returned prices have a returned value filter to replace any values below zero with zero to help prevent auto focus issues.

These levels are displayed as plotted lines on the chart and also as an optional infobox with choice of displayed info.
This allows the user to see directly on the chart the interplay between the various crossover levels and price action and to precisely plan entries, exits and stops for their SMI based trades.

Traditionally traders and analysts will consider:

Positives values above 40 indicate a bullish trend
Negative values below -40 indicate a bearish trend .

Common traditional ways to derive signals from the SMI :

When the SMI crosses below -40 and then moves back above it, a buy signal is generated.
When the SMI crosses above +40 and then moves back below it, a sell signal is generated.

When the SMI line crosses above the signal line. A signal to buy is generated
When the SMI line crosses below the signal line signal to sell is generated.

When the SMI crosses above the zeroline, signal line and the SMI eq level many interpret that as a full bullish bias signal and take trades only in that direction, vice versa for bearish bias.

Traders also look for divergences between the SMI and price action.

The SMI is often used in conjunction with the Chande Momentum Oscillator or R squared indicator to determine overall market trendiness where the SMI is used to determine the direction of the trend, and also with volume indicators to show if the momentum carries significant selling or buying pressure.
Versionshinweise: Updated Plot Names and plot code layout for easier reading.
Open-source Skript

Ganz im Sinne von TradingView hat der Autor dieses Skripts es als Open-Source veröffentlicht, damit Trader es verstehen und überprüfen können. Ein Hoch auf den Autor! Sie können es kostenlos verwenden, aber die Wiederverwendung dieses Codes in einer Publikation unterliegt den Hausregeln. Sie können das Skript den Favoriten hinzufügen, um es auf dem Chart zu verwenden.

Möchten Sie dieses Skript auf einem Chart verwenden?
You may contact me through Krowns Crypto Cave Discord
Where I am a moderator, my username there is The Caretaker also.
My Private indicators are available through


500 Coins
+6 Antworten
Lovely work, keep it up!
200 Coins
+2 Antworten
The_Caretaker Evan_Moe_Money
@Evan_Moe_Money, Thanks bro, very much appreciated.
+1 Antworten
500 Coins
+1 Antworten
The_Caretaker LonesomeTheBlue
Thanks for the compliment bro, I love your work.
Best regards.
This publication is now featured in our Editors' Picks: .
In the name of all TradingViewers, thank you for your valuable contribution to the community, and congrats!
+2 Antworten
The_Caretaker PineCoders
@PineCoders, Thank you very much for this, and for all the unseen, and thankless work that you do @Pinecoders , you guys do a great job.
It is my genuine pleasure to share what I can with this awesome community.
Is there a specific setting to display the small info boxes next to the big black one? The 3 smaller ones does not display on my chart.
+1 Antworten
The_Caretaker overclockertrading
@overclockertrading, Hi bro,

Those 3 labels are actually from the chart settings...
If you hit the gear Icon at the bottom right of your chart and go into settings, then into the "Scales" tab of the settings....
then click the checkboxes which turn on "Indicator name label" and "Indicator last value label".
that should bring up the labels.

best regards
Thank you 😎🇦🇺
+1 Antworten
Startseite Aktien-Screener Forex-Screener Krypto-Screener Wirtschaftskalender Über Chartmerkmale Preise Einen Freund empfehlen Hausregeln Hilfe Center Webseite & Brokerlösungen Widgets Charting Lösungen Lightweight Charting Library Blog & News Twitter