Welcome to the Traders Laboratory Forums.
Trading Indicators Post your custom trading indicators. If you download, remember to click INSTALL.

Like Tree1Likes

Reply
PBF Squeeze Replica For Tradestation Details »»
PBF Squeeze Replica For Tradestation
Platform: , by Futurestrader Futurestrader is offline
Developer Last Online: Sep 2008 Show Printable Version Email this Page

Platform: Unknown Rating: (2 votes - 5.00 average)
Released: 09-12-2008 Last Update: Never Installs: 0
 
No support by the author.

Many have asked what the differences are between the PBF-Squeeze indicator and the other popular and well-known Squeeze that's been out there for years, which is retailed at $496.
The simple answer is:
  • THIS is much faster and way more precise.
  • THIS Squeeze indicator has absolutely nothing to do with the other Squeeze except for the name and similar formation (lines, dots, histograms, green, red, what else can you do?)

The idea and calculation behind our Squeeze is brand new. It does not employ the Momentum or CCI indicator, which are okay but not precise and responsive enough for our tastes. The "traditioinal" Bollinger Band/Keltner Channel idea that plots the middle line is kept alive if you choose 2 for "style" under "format technical analysis", but we no longer use it in our trading. This idea sounds very attractive in theory, but if you really think about it and examine the charts, both Bollinger Band and Keltner Channels are lagging indicators. By the time the Bollinger Band moves inside the Keltner Channel, the market would have been moving sideways for at least a few bars.
What's worse is when the Bollinger Band moves outside of the Keltner Channel, the market has been moving for at least a few bars. If you enter positions then, that means you are a few bars too late.
For this reason, we have re-designed the middle line, which has made tremendous differences in our trading, especially in the counter-trend mode.

Download Now

File Type: eld PBF-SQUEEZE.ELD (9.6 KB, 1551 views)

Show Your Support

  • If you like to thanks you by the author -> Click Thanks to the Author
  • This modification may not be copied, reproduced or published elsewhere without the author's permission.

Similar Indicator
Mod Developer Type Replies Last Post
Tick Time Box walterw Trading Indicators 6 02:06 PM 06-01-2009
How to Draw a Tape Tams Trading Indicators 5 02:26 PM 07-29-2009
ATR Marker Tams Trading Indicators 7 12:24 PM 10-14-2009
Programmer's Data Box Tams Trading Indicators 0 09:04 AM 03-28-2009
Tidal Wave Tams Trading Indicators 7 07:49 AM 11-05-2009
Paint the Town Red Tams Trading Indicators 3 02:03 PM 04-18-2009
Candle pattern Tams Trading Indicators 9 04:36 PM 10-08-2010
Masthead Tams Trading Indicators 0 01:41 PM 04-16-2009
Bottomline Tams Trading Indicators 10 08:34 PM 04-19-2009
Red Light / Green Light Tams Trading Indicators 16 01:05 PM 05-14-2010
The Following 40 Users Say Thank You to Futurestrader For This Useful Post:
addvalue (12-23-2009), axe (07-02-2009), b4gt (06-29-2009), berrob (10-30-2011), biketexas (04-30-2009), chipeur59700 (12-01-2008), chipper (09-15-2008), chri$$ (02-02-2009), clayidus (05-25-2009), daedalus (09-13-2008), estate1997 (02-20-2010), Fredd (02-18-2009), garpoharpo (11-20-2008), grumpy1 (04-22-2009), hawk_7_7 (12-04-2008), icm63 (09-26-2009), jeb008 (08-30-2009), kal5262 (07-02-2010), kalody (12-08-2009), kingfish88 (12-02-2008), lmtart (05-16-2009), maxr (12-09-2008), omer56 (02-08-2010), pritpal (04-18-2010), sarah_keys7 (08-24-2011), soulman (07-23-2009), Tams (04-17-2009), there (07-28-2010), Topas (02-01-2009), tradestef (04-20-2009), waverunner (08-07-2009), whisper01Barry (09-14-2008), wildfree (02-19-2009)

Comments
Old 09-13-2008, 04:27 AM   #2

Futurestrader's Avatar

Join Date: Aug 2008
Posts: 3
Ignore this user

Thanks: 0
Thanked 41 Times in 2 Posts

Re: PBF Squeeze Replica For Tradestation

Here are some trading ideas for the PBF-Squeeze Indicator.
Use a EMA48 and EMA89 to get the Middle line or use the jtHMA to get better results. This line gives you the trend direction.
Take CT Trades only if you have a divergence in the PBF-Squeeze.
dg3225 likes this.
Futurestrader is offline  
Reply With Quote
The Following User Says Thank You to Futurestrader For This Useful Post:
jjcharter (04-16-2009)
Old 09-13-2008, 11:19 AM   #3

daedalus's Avatar

Join Date: Jul 2007
Location: Omaha, NE
Posts: 627
Ignore this user

Thanks: 431
Thanked 551 Times in 228 Posts

Re: PBF Squeeze Replica For Tradestation

Looks good. Can't wait to try it.

I've installed it but it needs to be adjusted in the "style" tab... it just looks like a line bar and the squeeze dots are REALLY small and they don't seem to react the changes in the style tab to make them wider... suggestions?


Last edited by daedalus; 09-13-2008 at 11:26 AM.
daedalus is offline  
Reply With Quote
Old 09-13-2008, 01:03 PM   #4

Futurestrader's Avatar

Join Date: Aug 2008
Posts: 3
Ignore this user

Thanks: 0
Thanked 41 Times in 2 Posts

Re: PBF Squeeze Replica For Tradestation

Here is a configuration suggestion:



The screenshots are made with MultiCharts. TS is the same.
Futurestrader is offline  
Reply With Quote
Old 09-13-2008, 02:34 PM   #5

daedalus's Avatar

Join Date: Jul 2007
Location: Omaha, NE
Posts: 627
Ignore this user

Thanks: 431
Thanked 551 Times in 228 Posts

Re: PBF Squeeze Replica For Tradestation

I appreciate the post... but this doesn't work in TS...

Heres screens showing the changes to both of them, and the resulting chart from the changes.





The only changes that take effect are changing it from line to histogram... None of the width changes seem to take effect.

Don't know how much you can do since you use the MC platform, but if anyone else tries this on their TS i'd like to know if you're having the same issues.

Thanks again for posting the indicator regardless!
daedalus is offline  
Reply With Quote
Old 09-13-2008, 02:46 PM   #6

Join Date: Nov 2006
Location: N/A
Posts: 612
Ignore this user

Thanks: 62
Thanked 294 Times in 177 Posts

Re: PBF Squeeze Replica For Tradestation

I am using MC too, but there are two SetPlotWidth lines in the code, which means they are hardcoded and your changes will have no effect. Try to comment them out and see if this helps to have your settings take effect.

The lines are:

Code:
SetPlotWidth(1,7);
setplotwidth(2,7);
Or copy and paste the code below where I have commented the lines out already to a new indicator and verify:
Code:
Inputs: Price(Close), price2(close),Price3(H/3+L/3+C/3),
	 Length(20),
	 Length2(13),
	 Length3(21),
	 Length4(9),
	 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(1,7);
	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,7);
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;
sevensa is offline  
Reply With Quote
The Following 5 Users Say Thank You to sevensa For This Useful Post:
10xray1 (04-15-2009), hawk_7_7 (12-04-2008), kingfish88 (12-02-2008)
Old 09-13-2008, 02:50 PM   #7

daedalus's Avatar

Join Date: Jul 2007
Location: Omaha, NE
Posts: 627
Ignore this user

Thanks: 431
Thanked 551 Times in 228 Posts

Re: PBF Squeeze Replica For Tradestation

Thanks sevensa - when I try to verify i get a message say that "The word end was expected before the end of the file"
daedalus is offline  
Reply With Quote
Old 09-13-2008, 02:54 PM   #8

daedalus's Avatar

Join Date: Jul 2007
Location: Omaha, NE
Posts: 627
Ignore this user

Thanks: 431
Thanked 551 Times in 228 Posts

Re: PBF Squeeze Replica For Tradestation

Ok, i edited the original documented and commented out those lines. And it works like a charm now.



I've attached the modified .eld file that should work with TS.
Attached Files
File Type: eld PBF SQUEEZE.ELD (9.6 KB, 697 views)
daedalus is offline  
Reply With Quote
The Following 6 Users Say Thank You to daedalus For This Useful Post:
barryd (03-25-2009), castille (12-27-2008), gtnicosia (01-18-2009), hawk_7_7 (12-04-2008), user237509837 (09-15-2008)

Reply

Tags
easylanguage, squeeze

Thread Tools
Help Others By Rating This Thread
Help Others By Rating This Thread:


Similar Threads
Thread Thread Starter Forum Replies Last Post
Does anyone have the squeeze indicator pajusa Beginners Forum 32 05-06-2011 10:24 PM
Scalper Buys/Sell Replica traderlu Trading Indicators 98 11-08-2009 11:09 PM
BB Squeeze indicator januson Technical Analysis 28 10-25-2009 02:11 AM
BB Squeeze Replica For Tradestation Soultrader Trading Indicators 56 07-08-2009 04:39 PM
BB Squeeze (Version of TTM Squeeze) ashokkuttan Market Analysis 26 08-14-2008 01:34 PM

All times are GMT -4. The time now is 08:25 AM.
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
CS to VB integration by DeskLancer
©2006-2011 Traders Laboratory, All Rights Reserved.