PROTECTED SOURCE SCRIPT
تم تحديثه

Omnisphere Universe

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

Cheers!
IncrediBull
ملاحظات الأخبار
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_
ملاحظات الأخبار
Small Fix!

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

إخلاء المسؤولية

لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.