PROTECTED SOURCE SCRIPT
Updated

Omnisphere Universe

125
For those who likes stars in their chart :)
Fits pretty well to my Omnisphere PREMIUM indicator.

Cheers!
IncrediBull
Release Notes
Added many user inputs
Turned 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_
Release Notes
Small Fix!

- use scaling -> none (full screen) to have stars all over instead of candle based calc.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.