chchodler

TTM Squeeze Scanner

11813 visningar
645
This script scans for TTM Squeezes for the crypto symbols included in the body of the script. The timeframe for the squeeze scan is controlled within the input not the chart.

This script is a merge of @Nico.Muselle's TTM Squeeze script and @QuantNomad's custom screener script. Thanks to both of them!
Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Kommentarer

Hi! thanks for sharing this script. Can I use the scrip for screening non-crypto stocks as well?
+27 Svara
gaz_0001 jperazo
@jperazo,

@chchodler - kindly left the source code open, so you can modify the tickers to show you what you are looking for. Change S1 ticker, and label src for S1.
+6 Svara
@gaz_0001, Hey there, could you be more specific? I have no experience with code :(
Svara
@chchodler - I setup the TTM Squeeze Scanner with the FTSE & Dow as the only two tickers. It does seem to detect the squeeze for both of the tickers but dosnt label them. If you have 20 tickers scanning, how would you know which ticker the squeeze is on?
Also for the histogram - with 20 tickers in the script, there is one histogram.....is this a combination of all the combined tickers? It doesnt seem to align up with any of them perfectly.
+10 Svara
refinery gaz_0001
@gaz_0001, Not sure if I'm 100% right, but it seems like the histogram plotted is for the current ticker you have the script running on at that moment.

I use Heikin Ashi (HA) candles over OHLC candles. Do you happen to know how to update the code/script so it spits out tickers on the screener for squeezes on the HA candles?

I can't seem to get it to work: https://i.imgur.com/ypqtSAt.png
+1 Svara
Hi chchodler,

Thanks for this great info. FYI, I am quite new to trading and currently I am studying Squeeze Momentum Indicator using Squeeze Momentum Indicator (SQZMOM_LB) in my chart. My main issue that I have now is to screen for stocks that are within this SMI setup. Basically i have set my screener criteria as follow :

Upper Bollinger Band lower than Upper Keltner Channel
Lower Bollinger Band above than Lower Keltner Channel
Upper Keltner Channel above than Upper Bollinger Band
Lower Keltner Channel below than Lower Bollinger Band

But it seems that the list of stocks is too little and some them just remains the same for few days.
I am just wondering if there's any way i could optimize my screener using your scripting method?
Looking forward to hear from you.
Thanks!

Regards,
Adam
+1 Svara
adamacho92 adamacho92
My question is, is it possbile to use this script to screen for all the stocks? Or is it that we need to associate this script per stock at one time?
Svara
thank u sir
any chance of writing a script just like this one. In Settings under Input the user can enter 2 MAs , select a time frame, if the slower MA crosses the faster MA for any of the symbols included in the script, the screener window will display the symbols just like this script??
Svara
Hi, thanks for sharing. Could you include an EMA Filter like the one John Carter uses (21 and 34 EMA {Up or Down})? This would reduce the number of false signals, especially if we look at smaller timeframes.
Svara
Morning,
is this script possible to use with stocks?
Svara