ucsgears

UCS Squeeze Bar

1354 20 138
This indicator is a request from tvmember jackvmk. Credits to jackvmk.

Squeeze bar = a bar which encompasses 5, 10, 15, 20, 30, 40 SMA
Squeeze bars high and lows are support and resistance . when price break one of them, this direction is direction of explosion.

I have added a further more customization
1. Using EMA instead of SMA
2. Using Heikin Ashi Optimization
3. Using Realbody (ignore wicks)
4. Plot the MA Ribbon
Remove from Favorite Scripts Add to Favorite Scripts
study(title="Squeeze Bar", shorttitle="Sqz Bar", overlay=true)

useHAC = input(true, title = "** Select this When Using Optimized Squeeze **", type=bool)
userb = input(true, title = "Ignore Wicks", type = bool)
plma = input(true, title = "Plot Moving Averages", type = bool)
masl = input(false, title = "Use EMA instead of SMA", type = bool)

// Heikin Ashi ATR Calculations
haclose = ohlc4
haopen = na(haopen[1]) ? (open + close)/2 : (haopen[1] + haclose[1]) / 2
hahigh = max (high, max(haopen,haclose))
halow = min (low, min(haopen,haclose))
haatra = abs(hahigh - haclose[1])
haatrb = abs(haclose[1] - halow)
haatrc = abs(hahigh - halow)
haatr = max(haatra, max(haatrb,haatrc))

src = useHAC ? haclose : close
sro = useHAC ? haopen : open

// MA Calculations
ma1 = masl ? ema(src,5) : sma(src,5)
ma2 = masl ? ema(src,10) : sma(src,10)
ma3 = masl ? ema(src,15) : sma(src,15)
ma4 = masl ? ema(src,20) : sma(src,20)
ma5 = masl ? ema(src,30) : sma(src,30)
ma6 = masl ? ema(src,40) : sma(src,40)

// High and Low
rblow = userb ? min(src, sro) : low
rbhig = userb ? max(src, sro) : high

// Squeeze Bar
sqzbar = (ma1 > rblow and ma1 < rbhig) and (ma2 > rblow and ma2 < rbhig) and (ma3 > rblow and ma3 < rbhig) and (ma4 > rblow and ma4 < rbhig) and (ma5 > rblow and ma5 < rbhig) and (ma6 > rblow and ma6 < rbhig)

// Bar Coloring
barcolor(sqzbar ? yellow : na)

// Ploting
plot(plma ? ma1 : na, title = "Moving Average", color = red, linewidth = 1)
plot(plma ? ma2 : na, title = "Moving Average", color = red, linewidth = 1)
plot(plma ? ma3 : na, title = "Moving Average", color = red, linewidth = 1)
plot(plma ? ma4 : na, title = "Moving Average", color = green, linewidth = 3)
plot(plma ? ma5 : na, title = "Moving Average", color = blue, linewidth = 2)
plot(plma ? ma6 : na, title = "Moving Average", color = gray, linewidth = 3)
Another great tool offered by UCSGEARS! I have a similar system that exploits the heavy volume transaction bars. Draw a fib on these candles high to low or vice versa depending on close direction. Gives great target levels. Nice work guys.
Reply
coondawg71 PRO coondawg71
2 years ago
snapshot

+2 Reply
jackvmk coondawg71
2 years ago
interesting idea, i will study it. but i guess with short squeeze bars we have problem fibo targets, they will come too closer.
Reply
jackvmk
2 years ago
i only talked about this technique to uscgears and he turned it great indicator. thanks for your sensivity about squeezes which is best indicator for me and thanks for your creative hands.
Reply
ucsgears PRO jackvmk
2 years ago
The major version will be more sensitive but will be able to detect the intensity of a squeeze (Partial / Standard / Ultimate) you can pick your choice. Will have the ability to mark pivot candles, Making Breakout trades easy to find. One of my favorite is Consolidation, started at bottom or top first, This is the most valuable information that TTM squeeze is missing. IMO, there is nothing more one could wish from a Squeeze indicator.
Reply
coondawg71 PRO ucsgears
2 years ago
thats amazing ! your vision is always biiiiig picture. love it ! Thanks !
Reply
MONEYMENOW PRO ucsgears
5 months ago
may I request a copy of the "major version".. would be great help... U may send it to my email "moneymenow@hotmail.com" or inform me via a text message if it is onboard. Thanks and regards
Reply
jackvmk
2 years ago
snapshot


last 5 month of USDTRY and how Squeeze bar works.
Reply
ucsgears PRO jackvmk
2 years ago
You have turned on HeikinAshi and EMA.
Reply
jackvmk ucsgears
2 years ago
snapshot


here.
Reply
ucsgears PRO
2 years ago
Use Some kind of Indicator (Fib Grid / Murrey Math) to predict the targets. Also know the intensity of a sqz, for the potential of energy the squeeze will release. NO, not all squeezes are created equal. Some can extend only to retest a high, some extend to create a new high. or low.
Reply
sigmadict
2 years ago
Your indicators are a combination of clean, creative, innovative and forward thinking ! Thanks boths of you
Reply
MONEYMENOW PRO
8 months ago
Man, what do u have for breakfast.. u smart mate..
Reply
ucsgears PRO MONEYMENOW
8 months ago
Actually Nothing. ;)
Reply
MONEYMENOW PRO ucsgears
8 months ago
I can believe that because as per Ayurvedics, morning breakfast should be avoided for higher mental development... Well, good work mate..
Reply
ucsgears PRO MONEYMENOW
8 months ago
snapshot

Another Strategy I am close to completing.
Reply
ucsgears PRO MONEYMENOW
8 months ago
The Beauty about the strategy is, It great for hedging. Like for instance, during the same week. WYNN was long and ENDP was short. Had equal position based on R/R position sizing. Both are closed profitable.

snapshot
Reply
MONEYMENOW PRO ucsgears
5 months ago
Hi Indicator Champ..(I mean it with lot of respect).. Can I please have the latest in the squeeze collection.. Please..
Reply
ucsgears PRO MONEYMENOW
5 months ago
Still Work in progress. Will update as i get to a point of completions.
snapshot
Reply
MONEYMENOW PRO ucsgears
5 months ago
sure Sir.. shall wait.. I wish I knew programming.. but with well wishers like u, the world is still liveable..
Reply
Ideas Scripts Chart
United States
United Kingdom
India
España
Italia
Brasil
Россия
Türkiye
日本
한국
Home Stock Screener Economic Calendar How It Works Chart Features House Rules Moderators For the WEB Widgets Stock Charting Library Priority Support Feature Request Blog & News FAQ Help & Wiki Twitter
Private Messages Chat Ideas Published Followers Following Priority Support Public Profile Profile Settings Billing Sign Out