vmittal 13 posts msg #152542 - Ignore vmittal |
6/7/2020 2:53:43 PM
I am looking for scan where I can find a stock just fired one day ago from TTM squeeze. Please help me out to write the scan script. Any stock from 50 to 300 dollars price would help me in my watch list.
Thanks in advance.
|
JoeyVinyl 125 posts msg #152556 - Ignore JoeyVinyl |
6/8/2020 12:46:45 PM
Run Xarlor's filter and look at the bottom of the charts displayed. There's a part there that says "ttm_squeeze" and every time a stock meets all the requirements there will be a little blue bar. All you have to do is look at the charts to see where there was a blue bar yesterday but not today. Then look at the "momo" indicator to see which direction it's going.
I made it easy for you. I added a column at the end called "now" and sorted on that column. If the number in that column is 2 that means it was squeezed yesterday but isn't today. Here's the code:
|
roca1018 163 posts msg #152560 - Ignore roca1018 |
6/8/2020 2:38:51 PM
Xarlor,
I am trying to figure out how to interpret the blue momentum bars. I see a long string of red bars at the
bottom (TTM Squeeze) when the momentum moves up and down but remains above 0. Are these stocks
in play as long as the momentum bars are above 0 ?
Thanks
Rich
|
JoeyVinyl 125 posts msg #152565 - Ignore JoeyVinyl |
6/8/2020 7:21:59 PM
I'm not Xarlor, but based on what I know about how this filter works on TOS (ThinkOrSwim) the bars in the "momo" section show the direction of the momentum. Bars above zero are a bullish signal while bars below zero are a bearish signal. The length of the bar shows how strong the signal is.
Basically, if you see a bar is longer today than yesterday's bar that means the trend is increasing regardless of the direction. If today's bar is the same height, or shorter, than yesterdays bar then the trend might be starting to reverse. I say might be because there are no guarantees with any of this. No indicator will ever be 100% accurate every time.
|
xarlor 581 posts msg #152571 - Ignore xarlor |
6/8/2020 10:03:10 PM
The only thing I would add is the smoothing of momo in my second filter by adding cema(momentum(16),5. It makes spotting the momo direction easier.
|
roca1018 163 posts msg #152576 - Ignore roca1018 |
6/9/2020 8:04:44 AM
Thanks
Rich
|
Cheese 1,374 posts msg #152742 - Ignore Cheese |
6/23/2020 11:34:48 PM
pop
|
vmittal 13 posts msg #153348 - Ignore vmittal |
8/1/2020 3:37:16 PM
Thanks a million. This is excellent.
|
vmittal 13 posts msg #155076 - Ignore vmittal |
12/23/2020 5:04:01 PM
Can you do just for going long or momo up not negative?
Thanks.
|