StockFetcher Forums · Filter Exchange · Squeez Filter<< >>Post Follow-up
7 posts
msg #154159
Ignore vroomtrades
10/1/2020 8:53:51 PM

was going through this video and found out that. couple of socks which end up between MA 50 and EMA 13 tend to gap up. Can someone help me with coding please

365 posts
msg #154164
Ignore xarlor
10/2/2020 5:44:02 PM

Here's the general setup for the strategy with TTM Squeeze added for extra squeezability.


set{diff,ma(50) - ema(13)}
set{delta,diff / close}
add column delta
diff > 0
delta <= 0.10
diff decreasing for last 10 days
ema(13) increasing for last 3 days

close 1 day ago > ema(13)
close 1 day ago < ma(50)
close crossed above ma(50)
ttm_squeeze > 0

/* TTM Squeeze */

add column momo
draw momo

set{Pchange1,momentum(16)/momentum(16) 1 day ago}
set{Pchange,Pchange1 - 1}
add column pchange

set{sqz1,count(momo > .01,1)}
set{sqz2,count(momo < 0,1)}
set{sqz3,count(Upper Bollinger Band(20,2) < Upper Keltner Band(20,2),1)}
set{sqz4,count(Lower Bollinger Band(20,2) > Lower Keltner Band(20,2),1)}
set{sqz5,sqz3 * sqz4}
set{sqz6,sqz1 + sqz2}
set{TTM_Squeeze,sqz5 * sqz6}

draw ttm_Squeeze
do not draw diff
draw ema(13)
draw ma(50)

7 posts
msg #154165
Ignore vroomtrades
10/3/2020 8:02:48 AM

Thanks Xalor!!

2,553 posts
msg #154170
Ignore Mactheriverrat
10/4/2020 6:37:58 PM

Nice code.


draw momo

365 posts
msg #154183
Ignore xarlor
10/5/2020 9:12:32 AM

@Mac, actually credit for that snippet fully goes to data-miner. And I wholeheartedly agree, it is some nice code indeed.

2,553 posts
msg #154185
Ignore Mactheriverrat
10/5/2020 12:25:39 PM

Well Thanks to data-miner!

21 posts
msg #154240
Ignore sat_stocks
10/8/2020 9:15:08 PM


How to use this filter? is this filter gives signal for BUY/SELL ?


146 posts
msg #154241
Ignore jimvin
10/8/2020 9:53:49 PM


Go to YouTube and do a search for "ttm squeeze."

You'll find a number of informative videos; some linked to specific racing platforms (thinkorswim), others generic.

All are applicable to this type of charting.

StockFetcher Forums · Filter Exchange · Squeez Filter<< >>Post Follow-up

*** Disclaimer *** does not endorse or suggest any of the securities which are returned in any of the searches or filters. They are provided purely for informational and research purposes. does not recommend particular securities., Vestyl Software, L.L.C. and involved content providers shall not be liable for any errors or delays in the content, or for any actions taken based on the content.

Copyright 2018 - Vestyl Software L.L.C.Terms of Service | License | Questions or comments? Contact Us
EOD Data sources: DDFPlus & CSI Data Quotes delayed during active market hours. Delay times are at least 15 mins for NASDAQ, 20 mins for NYSE and Amex. Delayed intraday data provided by DDFPlus

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.