OPEN-SOURCE SCRIPT
UCS Squeeze Momentum Overlay with Alerts

All credit to the great ucsgears. His original indicator is on this page: 
I just remixed the visuals and added alerts when price is released from the squeeze. I find it works well on lower timeframes for Forex and Bitcoin. Suggestions for other instruments and timeframes are welcome! When adding alerts use 'On Condition' to get the fastest alerts.
Best used in conjunction with the USC_SQZ_Opt Ooscillator from this page:
Possibly useful tip: the squeeze code here is great for identifying ranging markets, and can be used with other indicators to stop alerts firing in choppy markets.

I just remixed the visuals and added alerts when price is released from the squeeze. I find it works well on lower timeframes for Forex and Bitcoin. Suggestions for other instruments and timeframes are welcome! When adding alerts use 'On Condition' to get the fastest alerts.
Best used in conjunction with the USC_SQZ_Opt Ooscillator from this page:

Possibly useful tip: the squeeze code here is great for identifying ranging markets, and can be used with other indicators to stop alerts firing in choppy markets.
Mã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.