PROTECTED SOURCE SCRIPT
Mis à jour 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
Notes de version
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_
Notes de version
Small Fix!- use scaling -> none (full screen) to have stars all over instead of candle based calc.
Script protégé
Ce script est publié en source fermée. Cependant, vous pouvez l'utiliser librement et sans aucune restriction – pour en savoir plus, cliquez ici.
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.
Script protégé
Ce script est publié en source fermée. Cependant, vous pouvez l'utiliser librement et sans aucune restriction – pour en savoir plus, cliquez ici.
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.