Multiple Time Frame (MTF) Squeeze Indicator for ThinkorSwim

H

horserider

Active member
@lucassow No. Never have used it. But read the code.

input time1 = AggregationPeriod.five_min; #hint time1: Plot @ 0.

input time2 = AggregationPeriod.ten_min; #hint time2: Plot @ 0.5.

input time3 = AggregationPeriod.twenty_min; #hint time3: Plot @ 1.

input time4 = AggregationPeriod.hour; #hint time4: Plot @ 1.5.

So 5 min squeeze is plotted at 0
10 Min plotted a 0.5 and so on
That gives you the agg periods

A red dot is a squeeze at that time agg. The more red dots at more aggs and bigger the squeeze.
 
markos

markos

Well-known member
VIP
@horserider THIS is how to do it. Notice in the study numbers that the AGG changes but the 20, 1.5, 2.0 do not. Excellent.
btw, please share complete chart and then just the study for the dots! If possible, greatly appreciated by all!
Sharing is Caring ;)
@horserider We think a lot of your work. Could you please share the whole Chart or Grid, Please? Thank you.
 
G

ganq

New member
VIP
Hey @BenTen and @markos - How do you guys prefer to use this indicator?, I read through the link @BenTen posted, not sure how exactly the indicator is working but it does explain what the author plans to do based on the dots and color changes.
 
markos

markos

Well-known member
VIP
Hey @BenTen and @markos - How do you guys prefer to use this indicator?, I read through the link @BenTen posted, not sure how exactly the indicator is working but it does explain what the author plans to do based on the dots and color changes.
@ganq I don't use it but know that many do. To each their own. A squeeze happens when the Keltner Channels are inside the bounds of the Bollinger Bands. Keltner's are based on ATR and Bollinger's are based on Standard Deviation. They are both classified as Volatility Indicators. The explanation of these things should be looked for on the TDA website as well as school.stockcharts.com.
 
G

ganq

New member
VIP
@ganq I don't use it but know that many do. To each their own. A squeeze happens when the Keltner Channels are inside the bounds of the Bollinger Bands. Keltner's are based on ATR and Bollinger's are based on Standard Deviation. They are both classified as Volatility Indicators. The explanation of these things should be look for on the TDA website as well as school.stockcharts.com.
Got it thanks!

Which Moving Averages are we using here for Keltner and BBs?
 
markos

markos

Well-known member
VIP
Check the code, it should be listed near the top as an Input.
Default for Bollinger Bands is usually 20 SMA and I believe Keltner's adjust off of ATR, don't know about MA's. (I could Be wrong, wife often reminds me that I am!)
In the Tutorial I have a short write up on Bollinger Bands please take a look.
 
Last edited:
G

ganq

New member
VIP
Check the code, it should be listed near the top as an Input.
Default for Bollinger Bands is usually 20 SMA and I believe Keltner's adjust off of ATR. (I could Be wrong, wife often reminds me that I am!)
In the Tutorial I have a short write up on Bollinger Bands please take a look.
Thank you!
 
L

lucassow

New member
I tried the code.... it is for indicating sqeeuze from consolidation to breakout. But it is different from what i initially looking for. I was searching for indicator to show trending of candlestick from multiple timeframe on the current chart. I cant find it after searching around. If anyone has it, do inform me. Thank you in advance.
 
markos

markos

Well-known member
VIP
I tried the code.... it is for indicating sqeeuze from consolidation to breakout. But it is different from what i initially looking for. I was searching for indicator to show trending of candlestick from multiple timeframe on the current chart. I cant find it after searching around. If anyone has it, do inform me. Thank you in advance.
@lucassow we would like to help you. Your Signature line says: Newbies. New Hope.
Do you have a picture you could post? Use Imgur.com and paste it here.

We need more conformation because candlesticks do not trend, they fill out until the agg is done, then they start over.

What type of investing are you looking to do?
Retired and looking to play with your rolled over 401k? Nouveau Riche and bored? Young, hungry but little risk capital?

What is it about a TTM Squeeze that makes you think you want it? What @horserider posted is excellent.

Please help us help you.
 
L

lucassow

New member
@lucassow we would like to help you. Your Signature line says: Newbies. New Hope.
Do you have a picture you could post? Use Imgur.com and paste it here.

We need more conformation because candlesticks do not trend, they fill out until the agg is done, then they start over.

What type of investing are you looking to do?
Retired and looking to play with your rolled over 401k? Nouveau Riche and bored? Young, hungry but little risk capital?

What is it about a TTM Squeeze that makes you think you want it? What @horserider posted is excellent.

Please help us help you.
Hi Markos
example of the picture is here:

So if current candle 1M showing bearish, then you would see red dot. Then, you
want to know the trend up or down in 5M, 15M, and 30M just to see bigger picture.
So, instead of clicking 5M or 15M or 30M, you can actually see all of this candlestick
showing bullish/bearish in green/red dots all from same chart. It saves time.
It is a multi time frame shown on same chart.

I am a newbie with new hope. Young, hungry but little risk capital.
 

Top