Jump to content

Welcome to the new Traders Laboratory! Please bear with us as we finish the migration over the next few days. If you find any issues, want to leave feedback, get in touch with us, or offer suggestions please post to the Support forum here.

  • Welcome Guests

    Welcome. You are currently viewing the forum as a guest which does not give you access to all the great features at Traders Laboratory such as interacting with members, access to all forums, downloading attachments, and eligibility to win free giveaways. Registration is fast, simple and absolutely free. Create a FREE Traders Laboratory account here.

januson

BB Squeeze indicator

Recommended Posts

Hello

I've earlier received some help regarding the indicators used in TTM Squeeze video, I've created 2 screenshots; one displaying the BB Period:20, SD:1. Keltner Channel Period:20, ATRPeriod:10, ATRFactor:1,5

- As I understand the periods, sd and atr would those then be correct?

 

In the other attachment I've adjusted BB SD:1 to SD:1.5 and it gives me a much cleaner cut.

 

This is all indicators I know I know etc etc... But the best way to learn imho is to study what others have been doing in the past and trying to reimplement this into ones own world.

 

So if anybody could take a look, comment and tell me if I'm doing something wrong or point me in another direction I would be happy :D

 

Kind regards

vws_squeeze_1_0.thumb.gif.df0d41c524672ec62ac7404a6bbacd69.gif

vws_squeeze_1_5.thumb.gif.0e333eee04d846ed481a6cbec12e6b47.gif

Share this post


Link to post
Share on other sites

januson : remember that the squeeze doesnt give the trigger... it just tells you the market context (sleeping or trending ) its the momentum or some other similar oscilator that gives the trigger... look at that cci how it put you on a short before the plunge... then you could cover on the first bar inside the bb.... just an idea.... cheers Walter.

5aa70dcd4dce7_vws_squeeze_1_5b.thumb.GIF.17278ae6ae4f42a72aa50e18f10f2cbb.GIF

Share this post


Link to post
Share on other sites

Hi, I have duplicted most of the TTM squeeze for Quotetracker. I will do my best to give a brief overview. The squeeze is generated as you show, using BB 20,2 and keltner 20,1.5 or 2 . They seem to make adjustments for what market they are trading (forex, stocks, etc.).

The entry is after a squeeze, and there is a 21 and 8 EMA crossover. Then confirmed by 2 TTM colored bars confirming direction. They are generated by a 6 and 8 EMA crossover. Then they wait for the pullback to the 8 EMA to enter. In volitile markets they are using box channel breakout stops after a squeeze.

Also there is a momentum indicator/oscillator 5,22 . It is used to confirm entry direction by color of bars. It is also used to predict breakout direction. Finally it can signal early exit if momentum reverses.

For stops and profit taking watch some of their videos. They scale out and use 2 opposing colored TTM bars for exit.

You will see they use scalper alerts, I use small keltner channel price breakouts and other things. They have a video showing how they generate theirs as confirming trend highs and lows.

Their value indicator is a very fast moving oscillator. I am using a Bressert DSS , but think this is uncommon.

This system has a few things you need to have the details straight to use it well. I have watched every one of their videos for the last 4 months, I like what I see. For charts and info see http://www.tradethemarkets.com for new people to the idea.

Share this post


Link to post
Share on other sites

Basically the TTM Squeeze fires when the Bollinger goes from inside to outside the Keltner channels. What I have found is that it helps to change the width of the Keltner channels depending on the volatility of the markjet that day. The 20/1.5 default is good, but I've also found changing the 1.5 value to anything between 1.5 and 2 can also give very good results. I tend to go for a higher value when the markets are more volatile otherwise you find you never get a squeeze signal.

Share this post


Link to post
Share on other sites

Hi,

 

I've been trying to apply the BB squeeze indicator to the major curreny pairs. Already using it on the Ym tick charts and it works very well. I'm experimenting with different input parameter values for to improve the win rate. Does anyone have any suggestions for the best setting to use for the FX pairs?

 

thanks,

helitrader

Share this post


Link to post
Share on other sites

Hi,

 

I am also trying the BB squeeze indicator, have some success using a 233 tick chart, BB settings close,20,1,5,2,1 red,blue. Have not tried any different yet.

 

Have applied it to YM but not traded, what timeframes do you use?

 

Thomas

Share this post


Link to post
Share on other sites

Hi,

 

I use it on 233 and 512 tick charts and also on 5min charts. I don't tend to use the indicator to time entries and exits (I don't use any indicator that way, since most indicators lag price). I use it more to give me a heads up as to whether price is consolidating or about to break out, in which case I'll use price action to time my entries.

 

helitrader

Share this post


Link to post
Share on other sites

I was listeningt o one of the videos from John Carter recently and he was also saying that in this volatile market you have to get in before the squeeze fires off because if you wait the signal is too late and the move has been made.

Share this post


Link to post
Share on other sites

I'm pretty sure this was posted here at some point but here it is for Easy Language. It looks like the new squeeze... not sure if it is though and I didn't code this myself either. Don't get mad at me!

 

Inputs: Price(MedianPrice), price2(MedianPrice),Price3(H/3+L/3+C/3),

Length(18),

Length2(11),

Length3(29),

Length4(7),

Style(1),

nK(1.5),

nBB(2),

AlertLine( 1 ),

BuyColor1(blue), BuyColor2(darkblue),

SellColor1(red), SellColor2(darkred),

NormalColor(Red),AlertColor(Blue),

CounterTrend(true);

 

vars:FastVal1(0), SlowVal1(0), Diff1(0),

FastVal2(0), SlowVal2(0), Diff2(0),

FastVal3(0), SlowVal3(0), Diff3(0),

FastVal4(0), SlowVal4(0), Diff4(0),

AvgDiff(0), AvgDif(0), poles(4),

CCIValue(0),DownCT(0),UpCT(0),SDev(0),ATR(0),LHMult(0),Denom(0),BBS_Ind(0);

 

if Style = 0 then begin

{Zero Line - BB Squeeze}

if ( barnumber=1 ) then

Begin

If minmove <> 0 then

LHMult = pricescale/minmove;

end;

 

{-- Calculate BB Squeeze ----------------------}

ATR = AvgTrueRange(Length);

SDev = StandardDev(Price, Length, 1);

 

Denom = (nK*ATR);

If Denom <> 0 then BBS_Ind = (nBB * SDev) /Denom;

 

If BBS_Ind < Alertline then

SetPlotColor(1, NormalColor)

else

SetPlotColor(1, AlertColor);

 

{-- Plot Index & Alert Line -------------------------}

Plot1(0, "Squeeze");

end;

 

if Style = 1 then begin

{Zero Line - Gauss filter}

value1 = Gauss(Price3,Length3,3);

 

if (Value1) > (Value1[1]) then

SetPlotColor(1, BuyColor1);

if (Value1) < (Value1[1]) then

SetPlotColor(1, SellColor1);

SetPlotWidth(25,50);

Plot1(0, "Squeeze");

end;

 

 

{Histogram}

FastVal1 = Gauss(price, 8, poles);

SlowVal1 = Gauss(price, 21, poles);

Diff1 = FastVal1 - SlowVal1;

FastVal2 = Gauss(price, 13, poles);

SlowVal2 = Gauss(price, 34, poles);

Diff2 = FastVal2 - SlowVal2;

FastVal3 = Gauss(price, 21, poles);

SlowVal3 = Gauss(price, 55, poles);

Diff3 = FastVal3 - SlowVal3;

FastVal4 = Gauss(price, 34, poles);

SlowVal4 = Gauss(price, 89, poles);

Diff4 = FastVal4 - SlowVal4;

AvgDiff = (Diff1+Diff2+Diff3+Diff4)/4;

 

plot2(AvgDiff,"DiffHisto") ;

setplotwidth(2,2);

if AvgDiff > 0 then

if AvgDiff > AvgDiff[1] then

setplotcolor(2,BuyColor1)

else

setplotcolor(2,BuyColor2) ;

 

if AvgDiff < 0 then

if AvgDiff < AvgDiff[1] then setplotcolor(2,SellColor1)

else

setplotcolor(2,SellColor2);

 

 

 

{+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++}

{ Counter Trend Mode}

if CounterTrend = true then begin

CCiValue = CCI(13);

 

Condition1 = ccivalue[1] > 50;

Condition2 = CCivalue < 50;

Condition3 = CCivalue[1] < 100;

Condition4 = CCiValue > 100;

Condition5 = AvgDiff > 0;

Condition6 = AvgDiff[1] > 0;

Condition7 = AvgDiff[2] > 0;

Condition8 = ccivalue < 100;

 

if Condition1 and Condition2 and Condition5 and condition6 and condition7 then begin

setplotcolor(2,SellColor2);

DownCT = 1;

end;

 

if DownCT = 1 and AvgDiff < 0 then DownCT =0;

 

if DownCT = 1 and Condition8 and Condition5 then setplotcolor(2,SellColor2);

 

if DownCT = 1 and Condition3 and Condition4 then begin

setplotcolor(2,BuyColor1);

DownCT = 0;

end;

 

Condition11 = ccivalue[1] < -50;

Condition12 = CCivalue > -50;

Condition13 = CCivalue[1] >- 100;

Condition14 = CCiValue < -100;

Condition15 = AvgDiff < 0;

Condition16 = AvgDiff[1] < 0;

Condition17 = AvgDiff[2] < 0;

Condition18 = ccivalue >-100;

 

if Condition11 and Condition12 and Condition15 and condition16 and condition17 then begin

setplotcolor(2,BuyColor2) ;

UpCT = 1;

end;

 

if UpCT = 1 and AvgDiff > 0 then UpCT =0;

if UpCT = 1 and Condition18 and Condition15 then setplotcolor(2,BuyColor2) ;

if UpCT = 1 and Condition13 and Condition14 then begin

setplotcolor(2,SellColor1);

UpCT = 0;

end;

 

end;

 

 

haul it!

Share this post


Link to post
Share on other sites

Hi, as I posted earlier, the TTM signal system is more than just the BB squeeze. It includes the MA crossover, John likes 2 agreeing TTM color bars, and to enter on a pullback to the 8 EMA. Also momentum needs to be correct, and stay supportive.

For the volatile markets he is waiting for the squeeze and entering on channel breakouts of price. I have decided to post my entire system for Quote Tracker, that has a version of the TTM squeeze on it with a market reversal system added. I will do this on another thread called "technical indicator tools"

Edited by Eric Johnson

Share this post


Link to post
Share on other sites

does the BB Squeeze work on Esignal? i loaded the code and all i get is a line 12 syntaxerror missing: before statement: NormalColor (Red) , AlertCol or(Blue) ,

 

any advice on how to fix this?

 

jim

Share this post


Link to post
Share on other sites

is that an extra tool that we can’t find usually in platforms? According to some posts in here, it seems this tool doesn’t work with every platform. Is this really useful for our trading performance?

Share this post


Link to post
Share on other sites

Hello, I recently read a book by John Carter where he promoted a TTM Squeeze indicator. I would like to see if it actually works. Unfortunatelly, he charges close to $500 for this program. I am a new treader and do not have this kind of money to "see" if this works. I was wondering if anyone knows if there is a free version somewhere that I could download. I use eSignal.

 

Thank you very much.

Share this post


Link to post
Share on other sites

Hi, yes it is posted and got moved to the programmers thread area as "technical indicator tools".

For sure check out the free videos on their site, if you watch enough of them you will get a good idea about which charts work well. The Quotetracker set I put together is pretty close for a freebie, but QT needs a backfill quote feed, or a few of the original download symbols will backfeed day bars for free (MSFT). All of my other indiactors can be hidden in the indicator menu to focus on the squeeze system.

Share this post


Link to post
Share on other sites

For what it worth ReignMan I have tried and used the BBSqueeze both the PBF and John Carter version.

 

In my opinion they are not very good. Hubert Senters from TTM says they are as reliable as a flip of a coin. Can't remember where I read that but its what he said.

 

If you are using eSignal you can add on multicharts for $99 a month. (Don't expect to get any tech support) and use all the TTM indicators. Squeeze, Scalper Alert, and Trend which are under the Trading Indicators section of this website.

 

I think eSignal is a very reliable data sever but C++ language is not as good as the easylanguage. There are a few paintbar studies for EasyLanguage that don't code well(or at all) for eSignal.

Share this post


Link to post
Share on other sites

I was surfing around and found the squeeze indicator for eSignal.....LOL

 

What an incredible coincidence. I was like, didn't someone JUST ask for that? Let me know if there are any errors in the code and I will take another look at it.

 

 

function preMain() {

setStudyTitle("FPSqueeze");

setCursorLabelName("FPSqueeze", 0);

setDefaultBarFgColor(Color.blue, 0);

setPlotType(PLOTTYPE_HISTOGRAM,0);

setDefaultBarThickness(4,0);

 

//addBand(0,PS_SOLID,1,Color.black,"zero");

 

var BBlow=null;

var BBhigh=null;

var KClow=null;

var KChigh=null;

var Mom=null;

var vHigh=null;

var vLow=null;

var vClose=null;

 

var fp1 = new FunctionParameter("nMA", FunctionParameter.NUMBER);

fp1.setName("Squeeze Moving Average");

fp1.setLowerLimit(1);

fp1.setDefault(20);

 

var fp2 = new FunctionParameter("nSD", FunctionParameter.NUMBER);

fp2.setName("Standard Deviation");

fp2.setLowerLimit (1);

fp2.setDefault(2.0);

 

var fp3 = new FunctionParameter("nColorSqueeze", FunctionParameter.COLOR);

fp3.setName("Squeeze Color");

fp3.setDefault(Color.red);

 

var fp4 = new FunctionParameter("nColorAction", FunctionParameter.COLOR);

fp4.setName("Action Color");

fp4.setDefault(Color.lime);

}

function ATR(nInputLength) {

 

var dSum = 0;

 

var dH = high(0, -nInputLength);

 

var dL = low(0, -nInputLength);

 

var dC = close(-1, -nInputLength);

 

if (dH == null || dL == null || dC == null) {

 

return;

 

}

 

for (i = 0; i < nInputLength; ++i) {

 

var vTrueHigh = Math.max(dH, dC);

 

var vTrueLow = Math.min(dL, dC);

 

var vTrueRange = (vTrueHigh - vTrueLow);

 

dSum += vTrueRange;

 

}

 

dSum /= nInputLength;

 

return dSum;

 

}

 

 

function main(nMA, nSD, nColorSqueeze, nColorAction) {

 

//Bollinger Band Variables using 1.4 Standard Deviation

var myStudy1 = upperBB (nMA,nSD);

var myStudy2 = lowerBB (nMA,nSD);

var momStudy1 = ema(10,mom(12));

var macdstudy = new macdHist(12,26,9);

 

BBlow = myStudy2.getValue(0);

BBhigh = myStudy1.getValue(0);

Mom = momStudy1.getValue(0);

macdvalue = macdstudy.getValue(0);

 

 

 

var BarCntr;

 

var nRangeFactor = 1.5;

 

 

 

if (getBarState() == BARSTATE_NEWBAR)

 

BarCntr += 1;

 

 

 

if (BarCntr < nMA) {

 

return;

 

} else {

 

var dKeltnerBasis= call("/Library/KeltnerEMA.efs", nMA);

var dATR = ATR(nMA);

KClow = (dKeltnerBasis - (nRangeFactor * dATR));

KChigh = (dKeltnerBasis + (nRangeFactor * dATR));

}

//Logic to create red or blue squeeze signal

if ((BBhigh <= KChigh) || (BBlow >= KClow)) {

drawShapeRelative(0,0,Shape.CIRCLE,null,nColorSqueeze,Shape.TOP);

}

if ((BBhigh > KChigh) || (BBlow < KClow)) {

drawShapeRelative(0,0,Shape.CIRCLE,null,nColorAction,Shape.TOP);

}

 

 

 

if (Mom > 0) {

setBarFgColor(Color.blue);

}

else {

setBarFgColor(Color.red);

}

 

drawTextPixel( 1, 93, "Squeeze ", Color.black, null, Text.RELATIVETOLEFT | Text.RELATIVETOBOTTOM | Text.BOLD, "Arial",10 );

 

return ((Mom+macdvalue)/2);

 

}

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Topics

  • Posts

    • Date: 11th July 2025.   Demand For Gold Rises As Trump Announces Tariffs!   Gold prices rose significantly throughout the week as investors took advantage of the 2.50% lower entry level. Investors also return to the safe-haven asset as the US trade policy continues to escalate. As a result, investors are taking a more dovish tone. The ‘risk-off’ appetite is also something which can be seen within the stock market. The NASDAQ on Thursday took a 0.90% dive within only 30 minutes.   Trade Tensions Escalate President Trump has been teasing with new tariffs throughout the week. However, the tariffs were confirmed on Thursday. A 35% tariff on Canadian imports starting August 1st, along with 50% tariffs on copper and goods from Brazil. Some experts are advising that Brazil has been specifically targeted due to its association with the BRICS.   However, the President has not directly associated the tariffs with BRICS yet. According to President Trump, Brazil is targeting US technology companies and carrying out a ‘witch hunt’against former Brazilian President Jair Bolsonaro, a close ally who is currently facing prosecution for allegedly attempting to overturn the 2022 Brazilian election.   Although Brazil is one of the largest and fastest-growing economies in the Americas, it is not the main concern for investors. Investors are more concerned about Tariffs on Canada. The White House said it will impose a 35% tariff on Canadian imports, effective August 1st, raised from the earlier 25% rate. This covers most goods, with exceptions under USMCA and exemptions for Canadian companies producing within the US.   It is also vital for investors to note that Canada is among the US;’s top 3 trading partners. The increase was justified by Trump citing issues like the trade deficit, Canada’s handling of fentanyl trafficking, and perceived unfair trade practices.   The President is also threatening new measures against the EU. These moves caused US and European stock futures to fall nearly 1%, while the Dollar rose and commodity prices saw small gains. However, the main benefactor was Silver and Gold, which are the two best-performing metals of the day.   How Will The Fed Impact Gold? The FOMC indicated that the number of members warming up to the idea of interest rate cuts is increasing. If the Fed takes a dovish tone, the price of Gold may further rise. In the meantime, the President pushing for a 3% rate cut sparked talk of a more dovish Fed nominee next year and raised worries about future inflation.   Meanwhile, jobless claims dropped for the fourth straight week, coming in better than expected and supporting the view that the labour market remains strong after last week’s solid payroll report. Markets still expect two rate cuts this year, but rate futures show most investors see no change at the next Fed meeting. Gold is expected to finish the week mostly flat.       Gold 15-Minute Chart     If the price of Gold increases above $3,337.50, buy signals are likely to materialise again. However, the price is currently retracing, meaning traders are likely to wait for regained momentum before entering further buy trades. According to HSBC, they expect an average price of $3,215 in 2025 (up from $3,015) and $3,125 in 2026, with projections showing a volatile range between $3,100 and $3,600   Key Takeaway Points: Gold Rises on Safe-Haven Demand. Gold gained as investors reacted to rising trade tensions and market volatility. Canada Tariffs Spark Concern. A 35% tariff on Canadian imports drew attention due to Canada’s key trade role. Fed Dovish Shift Supports Gold. Growing expectations of rate cuts and Trump’s push for a 3% cut boosted the gold outlook. Gold Eyes Breakout Above $3,337.5. Price is consolidating; a move above $3,337.50 could trigger new buy signals. Always trade with strict risk management. Your capital is the single most important aspect of your trading business.   Please note that times displayed based on local time zone and are from time of writing this report.   Click HERE to access the full HFM Economic calendar.   Want to learn to trade and analyse the markets? Join our webinars and get analysis and trading ideas combined with better understanding of how markets work. Click HERE to register for FREE!   Click HERE to READ more Market news.   Michalis Efthymiou HFMarkets   Disclaimer: This material is provided as a general marketing communication for information purposes only and does not constitute an independent investment research. Nothing in this communication contains, or should be considered as containing, an investment advice or an investment recommendation or a solicitation for the purpose of buying or selling of any financial instrument. All information provided is gathered from reputable sources and any information containing an indication of past performance is not a guarantee or reliable indicator of future performance. Users acknowledge that any investment in Leveraged Products is characterized by a certain degree of uncertainty and that any investment of this nature involves a high level of risk for which the users are solely responsible and liable. We assume no liability for any loss arising from any investment made based on the information provided in this communication. This communication must not be reproduced or further distributed without our prior written permission.
    • Back in the early 2000s, Netflix mailed DVDs to subscribers.   It wasn’t sexy—but it was smart. No late fees. No driving to Blockbuster.   People subscribed because they were lazy. Investors bought the stock because they realized everyone else is lazy too.   Those who saw the future in that red envelope? They could’ve caught a 10,000%+ move.   Another story…   Back in the mid-2000s, Amazon launched Prime.   It wasn’t flashy—but it was fast.   Free two-day shipping. No minimums. No hassle.   People subscribed because they were impatient. Investors bought the stock because they realized everyone hates waiting.   Those who saw the future in that speedy little yellow button? They could’ve caught another 10,000%+ move.   Finally…   Back in 2011, Bitcoin was trading under $10.   It wasn’t regulated—but it worked.   No bank. No middleman. Just wallet to wallet.   People used it to send money. Investors bought it because they saw the potential.   Those who saw something glimmering in that strange orange coin? They could’ve caught a 100,000%+ move.   The people who made those calls weren’t fortune tellers. They just noticed something simple before others did.   A better way. A quiet shift. A small edge. An asymmetric bet.   The red envelope fixed late fees. The yellow button fixed waiting. The orange coin gave billions a choice.   Of course, these types of gains are rare. And they happen only once in a blue moon. That’s exactly why it’s important to notice when the conditions start to look familiar.   Not after the move. Not once it's on CNBC. But in the quiet build-up— before the surface breaks.   Enter the Blue Button Please read more here: https://altucherconfidential.com/posts/netflix-amazon-bitcoin-blue  Profits from free accurate cryptos signals: https://www.predictmag.com/ 
    • What These Attacks Look Like There are several ways you could get hacked. And the threats compound by the day.   Here’s a quick rundown:   Phishing: Fake emails from your “bank.” Click the link, give your password—game over.   Ransomware: Malware that locks your files and demands crypto. Pay up, or it’s gone.   DDoS: Overwhelm a website with traffic until it crashes. Like 10,000 bots blocking the door. Often used by nations.   Man-in-the-Middle: Hackers intercept your messages on public WiFi and read or change them.   Social Engineering: Hackers pose as IT or drop infected USB drives labeled “Payroll.”   You don’t need to be “important” to be a target.   You just need to be online.   What You Can Do (Without Buying a Bunker) You don’t have to be tech-savvy.   You just need to stop being low-hanging fruit.   Here’s how:   Use a YubiKey (physical passkey device) or Authenticator app – Ditch text message 2FA. SIM swaps are real. Hackers often have people on the inside at telecom companies.   Use a password manager (with Yubikey) – One unique password per account. Stop using your dog’s name.   Update your devices – Those annoying updates patch real security holes. Use them.   Back up your files – If ransomware hits, you don’t want your important documents held hostage.   Avoid public WiFi for sensitive stuff – Or use a VPN.   Think before you click – Emails that feel “urgent” are often fake. Go to the websites manually for confirmation.   Consider Starlink in case the internet goes down – I think it’s time for me to make the leap. Don’t Panic. Prepare. (Then Invest.)   I spent an hour in that basement bar reading about cyberattacks—and watching real-world systems fall apart like dominos.   The internet going down used to be an inconvenience. Now, it’s a warning.   Cyberwar isn’t coming. It’s here.   And the next time your internet goes out, it might not just be your router.   Don’t panic. Prepare.   And maybe keep a backup plan in your back pocket. Like a local basement bar with good bourbon—and working WiFi.   As usual, we’re on the lookout for more opportunities in cybersecurity. Stay tuned.   Author: Chris Campbell (AltucherConfidential) Profits from free accurate cryptos signals: https://www.predictmag.com/   
    • DUMBSHELL:  re the automation of corruption ---  200,000 "Science Papers" in academic journal database PubMed may have been AI-generated with errors, hallucinations and false sourcing 
    • Does any crypto exchanges get banned in your country? How's about other as Bybit, Kraken, MEXC, OKX?
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.