PROTECTED SOURCE SCRIPT
已更新

(JS) TTM Squeeze Percentage

4 526
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!
版本注释
Made the squeezes more apparent by having symbols appear on both top and bottom
版本注释
Tightened up the formula

免责声明

这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。