Choppiness Index Indicator for ThinkorSwim

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

@thealphabreed You should be looking at multiple timeframes, especially the higher timeframe. The 5min is the smallest timeframe I would go to.
 
@thealphabreed, Looking at Multiple Time Frames will confirm signals from your strategy. I don't do TTM squeezes but if you search the threads on the squeeze, you will find they extensively cover the use of MTFs.
Once you have confirmed your signal on the MTFs, you can use the one minute chart to time your entries and exits.
Can you direct me to the link? I cant find it
 
@thealphabreed You should be looking at multiple timeframes, especially the higher timeframe. The 5min is the smallest timeframe I would go to.
I use the 5min chart for trend and the 2min chart for entries. 2min and 5min timeframes need to have confluence. Otherwise, you don’t know if a move on a lower timeframe is with or against the larger trend.
 
This is actually looking really good. Has anybody else tried it yet? I have tried using ADX in the past but too many good moves were missed, so happy to have this alt.
 
This is actually looking really good. Has anybody else tried it yet? I have tried using ADX in the past but too many good moves were missed, so happy to have this alt.
I use this indicator all the time and just like you had used the ADX to identify trends/ending trends and chop. I still use the ADX but beginning to use the Choppiness Index and other FE variations because it is quicker than the ADX and nowhere near as laggy as the ADX
 
I know its kind of a silly change, but moved the consolidation range to an input so it is able to be changed from the settings

Rich (BB code):
# Sideways Indicator
# Original Code developed by WalkingBallista
# Concept and Idea by BenTen at useThinkScript.com
# Identify choppy market. Can also be used to find consolidation/breakout patterns.
# Version 1.0 (read changelog in the forum)

input length = 14;
input averageType = AverageType.WILDERS;
input price = close;
input consolidation_range = 5;

def hiDiff = high - high[1];
def loDiff = low[1] - low;

def plusDM = if hiDiff > loDiff and hiDiff > 0 then hiDiff else 0;
def minusDM =  if loDiff > hiDiff and loDiff > 0 then loDiff else 0;

def ATR = MovingAverage(averageType, TrueRange(high, close, low), length);
def "DI+" = 100 * MovingAverage(averageType, plusDM, length) / ATR;
def "DI-" = 100 * MovingAverage(averageType, minusDM, length) / ATR;

def range = AbsValue(AbsValue("DI+")-AbsValue("DI-"));

AssignPriceColor(if range < consolidation_range then Color.Yellow else Color.Current);
 

Similar threads

Not the exact question you're looking for?

Start a new thread and receive assistance from our community.

87k+ Posts
195 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