Power Squeeze Indicator

no but considering the file you pasted is named TTM id say he has rights to that? and it wasnt really a well known indicator till people started copying it when it become popular because of carter.
 
Ah, now I know why you're bitter. Just seen your chart on Potential Setups thread. Why don't you ask for a refund :)
 
im not bitter in the slightest im perfectly happy to pay for things...but your giving away for free what doesnt belong to you..fair enough if you pass on a squeeze indicator that was programed by someone else etc..but your blatantly just passing on a TTM file which other people paid for.
 
No i called it TTM so i remember it, and I code all my own indicators, so I'm not just blatantly passing on a TTM file. I'm passing on MY OWN file! Now get back to posting on forums as thats what you do best, 500+ posts in 3 months! Jeez, when do you trade?
 
Now get back to posting on forums as thats what you do best, 500+ posts in 3 months! Jeez, when do you trade?

For what it's worth, He's posted endless successful trades in realtime over the last few months. Among the best ive seen on these forums.
 
Good for Genics if he/she wants his/her back slapped every 5 mins, with "Well done Genics you're great". Sorry, confused by Genics profile, a shemale by anychance? a female called called Andrew, seriously?
 
Good for Genics if he/she wants his/her back slapped every 5 mins, with "Well done Genics you're great". Sorry, confused by Genics profile, a shemale by anychance? a female called called Andrew, seriously?

Why do you hurt the people who love you?
 
Hey Genics,

This is not to pick a fight or anything but i sent an email to Prorealtime asking if they could code me an indicator of the bollinger breaking out of the keltner with the ability to view it as a histogram and how much would it cost. 1 week later they sent through the code and said it was free.

Good ol Prorealtime





dont call it ttm then and we would be having this discussion :)
 
errrm, hate to break up your bantering here.. but is there a mql verision of this?
 
Thats gonna be proper fisticuffs now Mr Pro - The old T2Winners will be
turning in their graves.............................:cheesy::clap::cheesy:




errrm, hate to break up your bantering here.. but is there a mql verision of this?
 
errrm, hate to break up your bantering here.. but is there a mql verision of this?

yep, there are loads of MQL versions, scattered across various forums, this is probably the best of em.. fill yer boots
 

Attachments

  • bbsqueeze.mq4
    4.2 KB · Views: 504
Last edited:
  • Like
Reactions: GCC
Not working for me

Hi Ged,

not working for me, no dots.
Could you post instructions?

Thank you




Here is my code copied and pasted straight from my Prorealtime into this msg to be sure nothing is missing.

Ged :D

-------------------------------------------------------------------------------------------------------

Price = Close

REM Length for Average True Range (ATR) & Std. Deviation (SD) Calculations
Length = 20

REM Keltner Channel ATRs from Average
nK = 1.5

REM Bollinger Band Std. Devs. from Average
nBB = 2

REM BBS_Index level at which to issue alerts
AlertLine = 1

REM Calculate BB Squeeze Indicator
monATR = AverageTrueRange[Length](Price)
SDev = STD[Length](Price)

Denom = (nK * monATR)
IF Denom <> 0 THEN
BBSInd = (nBB * SDev) / Denom
ENDIF

IF BBSInd < Alertline THEN
Indic = -1
ELSE
Indic = 1
ENDIF

REM Plot delta of price from Donchian mid line
Histo = LinearRegression[Length] (price - ((Highest[Length](High) + Lowest[Length](Low))/2 + ExponentialAverage[Length](close))/2 )

RETURN Histo as "Histogramme" , Indic coloured by Indic as "Indic"
 
Hi Ged,

not working for me, no dots.
Could you post instructions?

Thank you




I dont think i get the dots on mine mate. I just look at the histogram
to let me know how its gonna react.

To be truthful ive not used it for ages

Ged
 
yep, there are loads of MQL versions, scattered across various forums, this is probably the best of em.. fill yer boots

Can anyone explain me how to get this indicator(mq4) into esignal pro (efs). Sorry I am new to esignal or should I call their tech support.
Cheers!
 
Last edited:
Can anyone explain me how to get this indicator(mq4) into esignal pro (efs). Sorry I am new to esignal or should I call their tech support.
Cheers!

Got it in EFS

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, "FPSqueeze v0.1: www.forexproject.com", Color.black, null, Text.RELATIVETOLEFT | Text.RELATIVETOBOTTOM | Text.BOLD, "Arial",10 );

return ((Mom+macdvalue)/2);

}
 
Top