PROTECTED SOURCE SCRIPT
Updated (JS) TTM Squeeze Percentage

So this is a slightly modified version of the fan favorite "Squeeze" indicator.
I did this because I wanted to compare historic movements, but the standard version calculates in whole numbers so a reading with SPX at 2800 is naturally larger than one at 1000.
What I did was I took the Lazybear script and converted it to a percentage reading rather than a reading of whole numbers.
This way - you can compare historical movements, among other things.
Whenever there's a "squeeze" that's when the icons appear on the indicator (top or bottom depending on the value).
I am also trying something new by adding preset color schemes - this is my first crack at it so I'll likely update it and improve it as time progresses (I plan to add the options on my other indicators as well).
Hope you like it!
I did this because I wanted to compare historic movements, but the standard version calculates in whole numbers so a reading with SPX at 2800 is naturally larger than one at 1000.
What I did was I took the Lazybear script and converted it to a percentage reading rather than a reading of whole numbers.
This way - you can compare historical movements, among other things.
Whenever there's a "squeeze" that's when the icons appear on the indicator (top or bottom depending on the value).
I am also trying something new by adding preset color schemes - this is my first crack at it so I'll likely update it and improve it as time progresses (I plan to add the options on my other indicators as well).
Hope you like it!
Release Notes
Made the squeezes more apparent by having symbols appear on both top and bottomRelease Notes
Tightened up the formulaProtected script
This script is published as closed-source. However, you can use it freely and without any limitations – learn more here.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Protected script
This script is published as closed-source. However, you can use it freely and without any limitations – learn more here.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.