TTM Squeeze Indicator
Forums › ProRealTime English forum › ProBuilder support › TTM Squeeze Indicator
- This topic has 10 replies, 2 voices, and was last updated 3 years ago by Nicolas.
-
-
01/21/2017 at 9:39 PM #2198801/22/2017 at 1:26 PM #22022
Hello, this is what I found on an old french forums topics elsewhere on the web.
Don’t know if it is correct though:
123456789101112131415161718192021222324252627282930313233// John F. Carter Squeeze//////////////////////////////////////////////////////////////////// Période des Moyennes Mobiles (défaut = 20)nPer = 20// Coefficient des Canaux de Keltner (défaut = 1.5)fKeltner = 1.5// Coefficient d'écartement des Bandes de Bollinger (défaut = 2)fBB = 2.0// Canaux de KeltneraKeltnerUp = Average[nPer](TypicalPrice) + (fKeltner * AverageTrueRange[nPer])aKeltnerDw = Average[nPer](TypicalPrice) - (fKeltner * AverageTrueRange[nPer])// Bandes de BollingeraBollingerUp = Average[nPer](Close) + (fBB * STD[nPer](Close))aBollingerDw = Average[nPer](Close) - (fBB * STD[nPer](Close))// L'indicateur vaut 1 sauf si les Bandes de Bollinger sont// comprises entre Canaux de KeltnernSqueeze = 1If (aBollingerUp <= aKeltnerUp) and (aBollingerDw >= aKeltnerDw) ThennSqueeze = -1EndIf// Delta of price from Donchian mid lineDonchianDelta = LinearRegression[nPer] ( Close - ( (Highest[nPer](High) + Lowest[nPer](Low)) / 2 + ExponentialAverage[nPer](Close))/2 )// Conseil : afficher DonchianDelta sous forme d'histogramme et// nSqueeze sous forme de Points d'épaisseur maximumReturn DonchianDelta As "DonchianDelta", nSqueeze As "CarterSqueeze"I remember having coded something similar myself, but I don’t remember for who and when, I think it was a private job for one of the customer of the programming services, so I can’t share it.
01/29/2017 at 9:05 PM #22993Hi Wester,
I think this is what you are looking for;
05/01/2017 at 9:46 AM #34112For information, I coded the TTM Squeeze indicator for prorealtime, this is the link for it into the library.
03/15/2021 at 3:55 AM #164182I can’t find the correct indicator for TMM Squeeze. I have it on think or swim but I like the Prorealtime charts better can you help? The one I found posted here is not correct and does not prodice the same output at the TOS indicator.
Thanks
03/15/2021 at 9:43 AM #16420003/15/2021 at 7:46 PM #164260Hi and thank your for your help. I have Think or Swim and the TTM Squeeze is is a pre-built indicator option. The results do not match. The attached screen grab is from just now and reflects the QQQ. TOS is showing the green dots and PRT is reporting red dots for the same time frame. Obviously they can’t both be correct.
03/16/2021 at 12:05 PM #16432703/16/2021 at 12:07 PM #164329Indeed, in the code you should replace that lines:
1234567if(sqzOn=1) thenscolorR = 0scolorG = 255elsescolorR = 255scolorG = 0ENDIFwith:
1234567if(sqzOn=1) thenscolorR = 255scolorG = 0elsescolorR = 0scolorG = 255ENDIF03/16/2021 at 5:56 PM #16437303/17/2021 at 1:24 PM #164485 -
AuthorPosts
Find exclusive trading pro-tools on