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 ;
-
19:39
James Klüg
1 day agoAnti-Trump Protesters Threaten To Pepper Spray Me For Trying To Have Conversations
8566 -
34:54
MattMorseTV
10 hours ago $13.32 earned🔴Trump just FIRED 154,000 FEDERAL WORKERS. 🔴
32.9K59 -
2:03:32
Side Scrollers Podcast
18 hours agoMASSIVE Netflix Boycott + The TRUTH About Jimmy Kimmel’s Return + BIG Side Scrollers NEWS
19.7K10 -
15:05
GritsGG
1 day agoFlawless Duos Victory w/ Most Winning Duo in Warzone History!
8.51K1 -
1:53:52
FreshandFit
15 hours agoShe Was In 3 Domestic Violence Cases? Happy Birthday Fresh!!!
141K49 -
2:03:22
Inverted World Live
7 hours agoThe Aliens Are Underwater | Ep. 117
57.3K18 -
2:20:24
Badlands Media
15 hours agoDevolution Power Hour Ep. 394: The Long Game, Media Traps, and Military Signals
81.1K24 -
2:08:38
TimcastIRL
9 hours agoNetflix Shares TANK, Elon Says BOYCOTT After Writer MOCKS Charlie Kirk Assassination
221K173 -
8:48:01
SpartakusLIVE
11 hours agoI'M BACK || Quads w/ The Boys
83.4K6 -
9:33
Ken LaCorte: Elephants in Rooms
14 hours ago $3.86 earnedWhy Do Black Men Love Big Butts?
31.5K24