Jump to content
Medved Trader Forums

Scan for TTM Squeeze


Recommended Posts

This is what I've come up with so far. It allows me to find stocks that the TTM value is negative 1 bar (1 week) prior to moving positive. I still have to go in to each stock that matches the scan and see if the squeeze is actually on and then moves to off. That's what I want to do - find stocks where the squeeze was on, and 1 week later the squeeze was off with a positive move. So what I have isn't ideal but I guess it's a start. 

ttm.PNG

Link to comment
Share on other sites

Hello and welcome to the forum.
Here is some info I found that may help.
*
After looking into the TTM Squeeze indicator I see:
1. Red dots mean no trade.
2. Green dots means the indicator is on.
3. A red dot followed by green dot means the indicator has fired and volatility is expanding.

4.Trading: It is said that -
The bars (histogram) going up or down is a measure of momentum.
Going long comes when you have a red dot followed by a green dot and bars going up.
Going short comes when you have a red dot followed by a green dot and bars going down.

**
How I start a paintbar.
Like you are doing in the pic I start out in the basic editor and then move to the advance editor to fine tune.

**1 & 2 above**
With the "Squeeze" line I have found with  == 0 for green dot and == 1 for red dot.
if (TTMSqueeze_Squeeze == 0) then you get a "Green Dot"
if (TTMSqueeze_Squeeze == 1) then you get a "Red Dot"

**3 above**
Indicator has Fired
To test for a red dot followed by a green dot I found something like this:
One bar ago dot was red and on current bar it trying to stay green.
if ((TTMSqueeze_Squeeze[1] == 1) && (TTMSqueeze_Squeeze == 0))

If someone would want the signal to confirm first they can move the bars back one.
if ((TTMSqueeze_Squeeze[2] == 1) && (TTMSqueeze_Squeeze[1] == 0))

**4 above**
With the "Bar" line like in your scan I have found:
Bar > 0 Above the 0 line.
if (TTMSqueeze_Bar > 0)

Bar < 0 Below the 0 line.
if (TTMSqueeze_Bar < 0)

Note: I've notice that you will have a bar all the time but they do not show if the value is very small like -/+ 0.001
I changed my indicator colors so I could see this.

5a5a821e16249_ScreenHunter_01Jan_1316_08.jpg.a9864bb44415d8930b3c46228961b4d6.jpg

When I watched a video they used the dots and bars that could be seen to maybe go long or short.
More testing needed on this one to find the right bar values that show.
For now I'm going to use -/+ 0.0015 so I can see the bar instead of 0.
***
Now that we know the basics we can add more values together.
If we were looking for a entry to maybe go long you need something like:
Red dot followed by a green dot and then bars above the 0 line.
if ((TTMSqueeze_Squeeze[1] == 1) && (TTMSqueeze_Squeeze == 0) && (TTMSqueeze_Bar > 0.0015))

If we were looking for a entry to maybe go short you need something like:
Red dot followed by a green dot and then bars below the 0 line.
if ((TTMSqueeze_Squeeze[1] == 1) && (TTMSqueeze_Squeeze == 0) && (TTMSqueeze_Bar < -0.0015))

Since the market is closed I have not done much testing and I can't verify everything now.

 

  • Thanks 1
Link to comment
Share on other sites

Can someone check on the value of the Red and Green dots on the  TTM Squeeze.

I had thought with the "Squeeze" line  == 0 for green dot and == 1 for red dot, but that only works on 3 of the 5 listings here using the same time frame. (monthly)

Thanks

5a5aa4c41ff3c_ScreenHunter_02Jan_1319_18.jpg.26494e2d3868399df6f313121a910ead.jpg

  • Thanks 1
Link to comment
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.

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.

×
×
  • Create New...