Premium Only Content

Free Scan! Basic Coding On Think or Swim.
Creating buy and sell signals on the stochastic momentum Index.
# Stochastic Momentum Index Scan Bull and Bear
#
# TD Ameritrade IP Company, Inc. (c) 2008-2021
#
declare lower;
input over_bought = 40.0;
input over_sold = -40.0;
input percentDLength = 3;
input percentKLength = 5;
def min_low = Lowest(low, percentKLength);
def max_high = Highest(high, percentKLength);
def rel_diff = close - (max_high + min_low) / 2;
def diff = max_high - min_low;
def avgrel = ExpAverage(ExpAverage(rel_diff, percentDLength), percentDLength);
def avgdiff = ExpAverage(ExpAverage(diff, percentDLength), percentDLength);
def SMI = if avgdiff != 0 then avgrel / (avgdiff / 2) * 100 else 0;
def AvgSMI = ExpAverage(SMI, percentDLength);
def overbought = over_bought;
def oversold = over_sold;
Plot Uparrow = SMI > AvgSmi and SMI[1] < AvgSMI[1] and SMI < Oversold and AvgSMI < Oversold ;
def DownArrow = SMI < AvgSmi and SMI[1] > AvgSMI[1] and SMI > OverBought and AvgSMI > Oversold ;
-
LIVE
The Bubba Army
22 hours agoReese vs. Clark: Portnoy’s Rant and WNBA Probe Explained - Bubba the Love Sponge® Show | 5/21/25
12,954 watching -
LIVE
Chicks On The Right
2 hours agoRubio Was on Fire, Belichick Engaged, and New Twists in the Biden Cancer Scandal
1,977 watching -
LIVE
AP4Liberty
1 hour agoMAGA Moves On Massie: Obey Or Pay!
499 watching -
LIVE
NEWSMAX
14 hours agoThe Gerry Callahan Show LIVE (05/21/2025) | NEWSMAX Podcasts
806 watching -
1:06:40
JULIE GREEN MINISTRIES
2 hours agoLIVE WITH JULIE
53.8K49 -
LIVE
BEK TV
22 hours agoTrent Loos in the Morning 5/21/2025
1,579 watching -
11:44
Politibrawl
17 hours agoBrandon Gill DESTROYS theatrical Jasmine Crockett in front the entire country
34.4K15 -
1:28:54
The Confessionals
20 hours agoAre Secret Occult Rituals Happening Inside The Mormon Temple?
27.8K15 -
9:00
The Art of Improvement
21 hours agoThe Habits of Highly Organised Individuals
29.2K3 -
12:21
Professor Gerdes Explains #Ukraine
11 hours agoI Misjudged Trump! This Changes Everything!
24.7K46