StockFetcher Forums · Filter Exchange · Squeez Filter<< >>Post Follow-up
vroomtrades
7 posts
msg #154159
Ignore vroomtrades
modified
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

https://www.youtube.com/watch?v=4KCrrGcw2DE

xarlor
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.

Fetcher[

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 */

set{momo,cema(momentum(16),5)}
add column momo
draw momo
plottype{momo,zerobar}

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)
]



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

Thanks Xalor!!

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

@Xarlor
Nice code.

set{momo,cema(momentum(16),5)}

draw momo
plottype{momo,zerobar}


xarlor
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.

https://www.stockfetcher.com/forums/Filter-Exchange/TTM-Squeeze/152476/0

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

Well Thanks to data-miner!

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

Hi,

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

Thanks

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

Suggestion:

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 *** StockFetcher.com 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. StockFetcher.com does not recommend particular securities. StockFetcher.com, 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.