CCI Money Squeeze Indicator for ThinkorSwim

BenTen

Administrative
Staff member
Staff
VIP
Lifetime
I have used this indicator to find many lucrative opportunities. This indicator takes the moving average of CCI in custom, volatility-specific conditions. CCI measures "overbought" in the red-shaded region and "Oversold" in the green-shaded region. The shaded regions do not constitute a buy/sell signal alone, the MS CCI Squeeze is best used when market conditions agree and is best used when the user has fundamental reasoning for "reversal-like" situations to align.

dQg7ii8.png


thinkScript Code

Code:
# MS MONEY CCI SQUEEZE
# Assembled by BenTen at useThinkScript.com
# Converted from https://www.tradingview.com/script/SnjJtj5q-MS-MONEY-CCI-SQUEEZE/

declare lower;

input length1 = 14;
input ma_length = 13;
input src = close;
def ma1 = simpleMovingAvg(src, length1);

def cci1 = (src - ma1) / (0.015 * StDev(src, length1));

plot line1 = cci1;
#def line_unknown = expAverage(cci1, ma_length);
#plot line_un = line_unknown;

line1.AssignValueColor(if (cci1 > expAverage(cci1, ma_length)) then color.green else color.white);

plot ZeroLine = 0;
plot Onehun = 100;
plot negOnehun = -100;
plot twohun = 200;
plot negTwohun = -200;

ZeroLine.AssignValueColor(color.MAGENTA);

addcloud(onehun, twohun, color.red, color.red);
addcloud(negonehun, negtwohun, color.green, color.green);
 

Attachments

  • dQg7ii8.png
    dQg7ii8.png
    150.7 KB · Views: 196
Sorry but this already exists as a ToS study ,,, CCIAverage
Plus the ToS study has the average line.

May have slightly different math but result is the same.
 
@BenTen if you have any free time , is possible crate scan MS MONEY CCI SQUEEZE daily crossed above 100 or below -100 . to me is buyer start to step in , thanks very much
 
@Allenew79 You can do that via the Scan tab. Just select the condition as CCI_Squeeze crosses above 100 or below -100.
 
I am not quite sure when Ben referred "Money Squeeze" part for the name of the study.

The Math of this study is very similar to classic CCI beside the above mentioned. Than which part of the study makes it specific to "Money" and "Squeeze"?
 
Last edited by a moderator:
I am not quite sure when Ben referred "Money Squeeze" part for the name of the study.

The Math of this study is very similar to classic CCI beside the above mentioned. Than which part of the study makes it specific to "Money" and "Squeeze"?
It seems that you are asking two totally separate questions.
So I split your post into two separate posts.

The CCI Money Squeeze Indicator was ported from here:
https://www.tradingview.com/script/...UEEZE/#:~:text=I have used,and strength trend.
As to why the original poster on Tradingview decided to call the classic CCI averages, a money squeeze, there is no way of knowing.
 

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

Similar threads

Not the exact question you're looking for?

Start a new thread and receive assistance from our community.

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