PROTECTED SOURCE SCRIPT
Mis à jour

(JS) TTM Squeeze Percentage

4 412
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!
Notes de version
Made the squeezes more apparent by having symbols appear on both top and bottom
Notes de version
Tightened up the formula

Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.