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

    • KDLY Kindly MD stock watch, pullback to 1.7 support area with high trade quality at https://stockconsultant.com/?KDLY
    • PLTR Palantir Technologies stock, watch for a local breakout at https://stockconsultant.com/?PLTR
    • Date: 6th March 2025.   The Euro is on The Rise But Is the Currency Overbought?     The Euro rose more than 4% over four days making it the currency’s best performance since COVID lockdowns. The upward price movement is primarily driven by the European bond market which saw its worst day since the 1990s. However, investors are now evaluating whether the Euro is overbought.   Why Is the Euro Increasing in Value? The Euro's rise is driven by the EU's new ‘re-arm’ plans, announced by the European Commission President. This is in response to the US suspending military aid to Ukraine. Analysts believe increased military spending will strengthen the Euro in the short term, but its impact may fade, especially if the Ukraine-Russia conflict ends. The US is looking to achieve this by halting aid and no longer sharing military intelligence.     In addition, the German Bond fell and witnessed their worst day in almost 30 years. As a result the higher bond yields also continue to support the Euro. Currently, the Euro Index is trading 0.09% higher and is only witnessing a decline against the Japanese Yen. However, the price movement of the Euro will also depend on the European Central Bank and potential Trump Tariffs. Economists remain convinced that Trump's tariff threats are serious and will be imposed on the EU. Just last week, he announced that Washington will impose 25% tariffs on Europe-made ‘cars and all other things’. On April 2nd, Washington plans to introduce another round of ‘reciprocal’ tariffs, adding to those already in effect. Germany remains particularly vulnerable, as a large portion of its industry relies on exports to the US. This can potentially have a negative effect on the Euro and the European stock market.   Is the European Central Bank a Risk for the Euro? The European Central Bank is due to announce its rate decision this afternoon and conduct a press conference thereafter. The ECB may potentially aim to calm the market after German Bonds took a hit. If the ECB remains dovish and also reassures the market of the Eurozone’s fiscal and monetary policy, the Euro can retrace in the short term. Analysts currently advise today’s ECB meeting will most likely be the most interesting in years and the most unpredictable. Markets are expecting a rate of 2.65% from the ECB. Analysts at Morgan Stanley believe the ECB will maintain its "dovish" stance in March and April to support the economy, especially as inflation slowed to 2.4% in February from 2.5% the previous month, nearing the 2.0% target. If the ECB advice rates are likely to continue falling in 2025, the Euro will struggle to maintain bullish momentum.   EURUSD - Technical Analysis and Indicators The EURUSD is still witnessing indications of bullish price movement on the 2-hour chart and fundamentals also support the upward price movement. However, simultaneously, the price is obtaining indications the currency is overbought in the short to medium term. The EURUSD is trading above the overbought level on the RSI and is obtaining a divergence signal on most timeframes.       Therefore, the possibility of the price being overbought and retracing remains, but the price action will depend on the ECB. Until the ECB’s rate decision and press conference, the average price at 1.08000 will be key as it has been so far today.   Key Takeaway Points: The Euro surged over 4% in four days, its best performance since COVID lockdowns, driven by European bond market turmoil. The EU’s ‘re-arm’ plans and rising German bond yields boost the Euro, but US tariffs and ECB decisions may impact its trend. The ECB’s upcoming rate decision and monetary policy stance could shape short-term price movements, with a dovish approach expected. Despite strong fundamentals, RSI overbought levels and divergence signals suggest a possible retracement, depending on the ECB. 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.
    • PDYN Palladyne AI stock, great day off the gap support area at https://stockconsultant.com/?PDYN
    • MRNA Moderna stock, nice day with a rally off the lower 30.6 double support area, from Stocks to Watch at https://stockconsultant.com/?MRNA
×
×
  • Create New...

Important Information

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