PROTECTED SOURCE SCRIPT
Cập nhật Omnisphere Universe

For those who likes stars in their chart :)
Fits pretty well to my Omnisphere PREMIUM indicator.
Cheers!
IncrediBull
Fits pretty well to my Omnisphere PREMIUM indicator.
Cheers!
IncrediBull
Phát hành các Ghi chú
Added many user inputsTurned almost everything into customizable settings in the TradingView panel:
- Enable/disable
- Max number of stars
- Lifetime, fade-in, and fade-out duration
- Custom star symbols (comma-separated list)
- Option to vary star sizes (normal/large)
- Base color of stars
- Minimum opacity and twinkle strength
- Vertical positioning range (% of candle height)
- Maximum horizontal offset (± bars)
Improved symbol handling
Added code to properly parse the custom comma-separated symbol string and trim spaces, so users can easily add or change symbols.
Better vertical distribution
Stars now spawn within a configurable percentage range of the candle (default 1–99 %), instead of always 1–99 % with a small fixed offset.
Fixed the size bug (multiple times)
- First attempt used size as variable type → conflict with built-in size.*
- Second attempt used symsize → not a valid type
- Final fix: No explicit type declaration needed. We now simply assign the size value to a variable named var_size (e.g. var_size = size.large or size.normal) — this works perfectly.
Minor code cleanups
- Better comments
- Safer variable names
- Slightly improved opacity calculation
You now have a fully customizable, beautiful twinkling star overlay that anyone can tweak without touching the code. ✨
Enjoy the twinkling universe – wherever you are in the world ✨🌌 - IncrediBull_
Phát hành các Ghi chú
Small Fix!- use scaling -> none (full screen) to have stars all over instead of candle based calc.
Mã được bảo vệ
Tập lệnh này được đăng dưới dạng mã nguồn đóng. Tuy nhiên, bạn có thể sử dụng tự do và không giới hạn – tìm hiểu thêm tại đây.
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.
Mã được bảo vệ
Tập lệnh này được đăng dưới dạng mã nguồn đóng. Tuy nhiên, bạn có thể sử dụng tự do và không giới hạn – tìm hiểu thêm tại đây.
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.