Trading Rush Choppy Market Indicator For ThinkOrSwim

kthomasking

New member
#I DO NOT OWN THIS INDICATOR
#This is the Trading Rush choppy market indicator converted to Thinkscript
#Before using this indicator, it is imperative that you do the following:
#1. Watch this short video on the indicator:
#2. Compare this indicator to the original in in TradingView in order to ensure that it is working correctly on your computer:
#https://www.tradingview.com/script/1b2YBMS0-Trading-Rush-Choppy-Market/

Ruby:
#Begin Script

#Created by Trading Rush https://tradingrush.net/ and converted to ThinkScript by an unemployed nobody
# © Trading Rush
#@version=4

declare lower;
input line = 20;
def line_new = line/10;

def UPa =
if close[1] > close[2] and close[2] > close[3] and close[3] > close[4] and close[4] > close[5] and close[5] > close[6] then yes else no; #Green

def UPb =
if close[1] > close[2] and close[2] > close[3] and close[3] > close[4] then yes else no; #Green Slow

def UPc =
if close[2] > close[3] and close[3] > close[4] and close[4] > close[5] and close[5] > close[6] then yes else no; #Green Slower

def UPd = if close[1] > close[2] and close[3] > close[4] and close[4] > close[5] and close[5] > close[6] then yes else no; #Green Slower

def UPe = if close[1] > close[2] and close[2] > close[3] and close[4] > close[5] and close[5] > close[6] then yes else no; #Green Slower

def UPf = if close[1] > close[2] and close[2] > close[3] and close[3] > close[4] and close[5] > close[6] then yes else no; #Green Slower

def UPg = if close[1] > close[2] and close[2] > close[3] and close[3] > close[4] and close[4] > close[5] then yes else no; #Green Slower


def DNa = if close[1] < close[2] and close[2] < close[3] and close[3] < close[4] and close[4] < close[5] and close[5] < close[6] then yes else no; #Green

def DNb =
if close[1] < close[2] and close[2] < close[3] and close[3] < close[4] then yes else no; #Green Slow

def DNc =
if close[2] < close[3] and close[3] < close[4] and close[4] < close[5] and close[5] < close[6] then yes else no; #Green Slower

def DNd =
if close[1] < close[2] and close[3] < close[4] and close[4] < close[5] and close[5] < close[6] then yes else no; #Green Slower

def DNe =
if close[1] < close[2] and close[2] < close[3] and close[4] < close[5] and close[5] < close[6] then yes else no; #Green Slower

def DNf =
if close[1] < close[2] and close[2] < close[3] and close[3] < close[4] and close[5] < close[6] then yes else no; #Green Slower

def DNg =
if close[1] < close[2] and close[2] < close[3] and close[3] < close[4] and close[4] < close[5] then yes else no; #Green Slower

def hist =
if UPa or DNa then
10
else
if UPb or DNb then
10
else
if UPc or UPd or Upe or UPf or UPg or DNc or DNd or DNe or DNf or DNg then
10
else
0;
#
def main = hist[1]+hist[2]+hist[3]+hist[4]+hist[5]+hist[6]+hist[7]+hist[8]+hist[9]+hist[10]/10;
#
def mainColor = if(main < main[1]) then
yes
else
no;

plot Choppy = hist*line_new;
Choppy.SetPaintingStrategy(PaintingStrategy.HISTOGRAM);
Choppy.SetLineWeight(2);
Choppy.AssignValueColor(if UPa or DNa then CreateColor(76, 175, 80) else if UPb or DNb then CreateColor(129, 199, 132) else if UPc or UPd or UPe or UPf or UPg or DNc or DNd or UPe or UPf or UPg then CreateColor(200, 230, 201) else color.white); #ColorGreen, ColorGreenSlow, ColorGreenSlower

plot TheLine = line;
TheLine.SetLineWeight(2);
TheLine.AssignValueColor(color.orange);

plot TheAverage = main;
TheAverage.SetLineWeight(2);
TheAverage.AssignValueColor(if mainColor then color.red else CreateColor(170, 76, 175));
 
Last edited by a moderator:

Join useThinkScript to post your question to a community of 21,000+ developers and traders.

I trade very lower time frame ... I have applied it on my today's trading ... I found it not useful / confusing to my trading ... today we have taken out 28 ES points from the market smoothly ( Analysis / key label trade call is posted on usethinkscript Discord channel / future trading with charts) Discord Name : EZ Tushar
We did not need any of these choppy detection .... the level we were trading that was a high participation level.

Just wanted to share my thoughts on choppy / side-wise / range market

1. if you are using any indicator (any kind) to position yourself in the market you may need choppy detection
2. if you are reading price and figuring out your entry on high participation level. .... Absolutely, you don't need it
 
#I DO NOT OWN THIS INDICATOR
#This is the Trading Rush choppy market indicator converted to Thinkscript
#Before using this indicator, it is imperative that you do the following:
#1. Watch this short video on the indicator:
#2. Compare this indicator to the original in in TradingView in order to ensure that it is working correctly on your computer:
#https://www.tradingview.com/script/1b2YBMS0-Trading-Rush-Choppy-Market/

Ruby:
#Begin Script

#Created by Trading Rush https://tradingrush.net/ and converted to ThinkScript by an unemployed nobody
# © Trading Rush
#@version=4

declare lower;
input line = 20;
def line_new = line/10;

def UPa =
if close[1] > close[2] and close[2] > close[3] and close[3] > close[4] and close[4] > close[5] and close[5] > close[6] then yes else no; #Green

def UPb =
if close[1] > close[2] and close[2] > close[3] and close[3] > close[4] then yes else no; #Green Slow

def UPc =
if close[2] > close[3] and close[3] > close[4] and close[4] > close[5] and close[5] > close[6] then yes else no; #Green Slower

def UPd = if close[1] > close[2] and close[3] > close[4] and close[4] > close[5] and close[5] > close[6] then yes else no; #Green Slower

def UPe = if close[1] > close[2] and close[2] > close[3] and close[4] > close[5] and close[5] > close[6] then yes else no; #Green Slower

def UPf = if close[1] > close[2] and close[2] > close[3] and close[3] > close[4] and close[5] > close[6] then yes else no; #Green Slower

def UPg = if close[1] > close[2] and close[2] > close[3] and close[3] > close[4] and close[4] > close[5] then yes else no; #Green Slower


def DNa = if close[1] < close[2] and close[2] < close[3] and close[3] < close[4] and close[4] < close[5] and close[5] < close[6] then yes else no; #Green

def DNb =
if close[1] < close[2] and close[2] < close[3] and close[3] < close[4] then yes else no; #Green Slow

def DNc =
if close[2] < close[3] and close[3] < close[4] and close[4] < close[5] and close[5] < close[6] then yes else no; #Green Slower

def DNd =
if close[1] < close[2] and close[3] < close[4] and close[4] < close[5] and close[5] < close[6] then yes else no; #Green Slower

def DNe =
if close[1] < close[2] and close[2] < close[3] and close[4] < close[5] and close[5] < close[6] then yes else no; #Green Slower

def DNf =
if close[1] < close[2] and close[2] < close[3] and close[3] < close[4] and close[5] < close[6] then yes else no; #Green Slower

def DNg =
if close[1] < close[2] and close[2] < close[3] and close[3] < close[4] and close[4] < close[5] then yes else no; #Green Slower

def hist =
if UPa or DNa then
10
else
if UPb or DNb then
10
else
if UPc or UPd or Upe or UPf or UPg or DNc or DNd or DNe or DNf or DNg then
10
else
0;
#
def main = hist[1]+hist[2]+hist[3]+hist[4]+hist[5]+hist[6]+hist[7]+hist[8]+hist[9]+hist[10]/10;
#
def mainColor = if(main < main[1]) then
yes
else
no;

plot Choppy = hist*line_new;
Choppy.SetPaintingStrategy(PaintingStrategy.HISTOGRAM);
Choppy.SetLineWeight(2);
Choppy.AssignValueColor(if UPa or DNa then CreateColor(76, 175, 80) else if UPb or DNb then CreateColor(129, 199, 132) else if UPc or UPd or UPe or UPf or UPg or DNc or DNd or UPe or UPf or UPg then CreateColor(200, 230, 201) else color.white); #ColorGreen, ColorGreenSlow, ColorGreenSlower

plot TheLine = line;
TheLine.SetLineWeight(2);
TheLine.AssignValueColor(color.orange);

plot TheAverage = main;
TheAverage.SetLineWeight(2);
TheAverage.AssignValueColor(if mainColor then color.red else CreateColor(170, 76, 175));
is it great, does anyone know how to add labels to these upholstery signs?
 

Similar threads

Not the exact question you're looking for?

Start a new thread and receive assistance from our community.

87k+ Posts
176 Online
Create Post

Similar threads

Similar threads

The Market Trading Game Changer

Join 2,500+ subscribers inside the useThinkScript VIP Membership Club
  • Exclusive indicators
  • Proven strategies & setups
  • Private Discord community
  • ‘Buy The Dip’ signal alerts
  • Exclusive members-only content
  • Add-ons and resources
  • 1 full year of unlimited support

Frequently Asked Questions

What is useThinkScript?

useThinkScript is the #1 community of stock market investors using indicators and other tools to power their trading strategies. Traders of all skill levels use our forums to learn about scripting and indicators, help each other, and discover new ways to gain an edge in the markets.

How do I get started?

We get it. Our forum can be intimidating, if not overwhelming. With thousands of topics, tens of thousands of posts, our community has created an incredibly deep knowledge base for stock traders. No one can ever exhaust every resource provided on our site.

If you are new, or just looking for guidance, here are some helpful links to get you started.

What are the benefits of VIP Membership?
VIP members get exclusive access to these proven and tested premium indicators: Buy the Dip, Advanced Market Moves 2.0, Take Profit, and Volatility Trading Range. In addition, VIP members get access to over 50 VIP-only custom indicators, add-ons, and strategies, private VIP-only forums, private Discord channel to discuss trades and strategies in real-time, customer support, trade alerts, and much more. Learn all about VIP membership here.
How can I access the premium indicators?
To access the premium indicators, which are plug and play ready, sign up for VIP membership here.
Back
Top