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: 25th April 2024. Investors Monitor a Potential Japanese Intervention, and upcoming Tech Earnings. Meta stocks top earnings expectations, but revenue guidance for the next 6 months triggers significant selloff. Meta stocks decline 15.00% and the Magnificent Seven also trade lower. Japanese Authorities are on watch and most market experts predict the Japanese Federal Government will intervene once again. The Japanese Yen is the day’s worst performing currency while the Australian Dollar continues to top the charts. The US Dollar trades 0.10% lower, but this afternoon’s performance is likely to be dependent on the US GDP. USA100 – Meta Stocks Fall 15% On the Next 6-Months Guidance The NASDAQ has declined 1.51% over the past 24 hours, unable to maintain momentum from Monday and Tuesday. Technical analysts advise the decline is partially simply a break in the bullish momentum and the asset continues to follow a bullish correction pattern. However, if the decline continues throughout the day, the retracement scenario becomes a lesser possibility. In terms of indications and technical analysis, most oscillators, and momentum-based signals point to a downward price movement. The USA100 trades below the 75-Bar EMA, below the VWAP and the RSI hovers above 40.00. All these factors point towards a bearish trend. The bearish signals are also likely to strengthen if the price declines below $17,295.11. The stock which is experiencing considerably large volatility is Meta which has fallen more than 15.00%. The past quarter’s earnings beat expectations and according to economists, remain stable and strong. Earnings Per Share beat expectations by 8.10% and revenue was as expected. However, company expenses significantly rose in the past quarter and the guidance for the second half of the year is lower than previous expectations. These two factors have caused investors to consider selling their shares and cashing in their profits. Meta’s decline is one of the main causes for the USA100’s bearish trend. CFRA Senior Analyst, Angelo Zino, advises the selloff may be a slight over reaction based on earnings data. If Meta stocks rise again, investors can start to evaluate a possible upward correction. However, a concern for investors is that more and more companies are indicating caution for the second half of the year. The price movements will largely now depend on Microsoft and Alphabet earnings tonight after market close. Microsoft is the most influential stock for the NASDAQ and Alphabet is the third. The two make up 14.25% of the overall index. If the two companies also witness their stocks decline after the earnings reports, the USA100 may struggle to gain upward momentum. EURJPY – Will Japan Intervene Again? In the currency market, the Japanese Yen remains within the spotlight as investors believe the Japanese Federal Government is likely to again intervene. The Federal Government has previously intervened in the past 12 months which caused a sharp rise in the Yen before again declining. The government opted for this option in an attempt to hinder a further decline. Volatility within the Japanese Yen will also depend on today’s US GDP reading and tomorrow’s Core PCE Price Index. However, investors will more importantly pay close attention to the Bank of Japan’s monetary policy. Investors will be keen to see if the central bank believes it is appropriate to again hike in 2024 as well as comment regarding inflation and the economy. In terms of technical analysis, breakout levels can be considered as areas where the exchange rate may retrace or correct. Breakout levels can be seen at 166.656 and 166.333. However, the only indicators pointing to a decline are the RSI and similar oscillators which advise the price is at risk of being “overbought”. 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 on how markets work. Click HERE to register for FREE! Click HERE to READ more Market news. Michalis Efthymiou Market Analyst 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 FX and CFDs 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.
    • $ALVR AlloVir stock bottom breakout watch, huge upside gap, https://stockconsultant.com/?ALVR
    • $DIS Disney stock attempting to move higher off the 112.79 triple support area, https://stockconsultant.com/?DIS
    • $ADCT Adc Therapeutics stock flat top breakout watch above 5.31, https://stockconsultant.com/?ADCT
    • $CXAI CXApp stock local support and resistance areas at 2.78, 3.52 and 5.19, https://stockconsultant.com/?CXAI
×
×
  • Create New...

Important Information

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