PROTECTED SOURCE SCRIPT
Cập nhật

(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!
Phát hành các Ghi chú
Made the squeezes more apparent by having symbols appear on both top and bottom
Phát hành các Ghi chú
Tightened up the formula

Thông báo miễn trừ trách nhiệm

Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.