OPEN-SOURCE SCRIPT

3D christmas tree

Updated
This script draws a rotating 3D Christmas tree with a star on a chart, using cylindrical and spherical coordinate systems. Decorations like bells, gifts, and reindeer are randomly placed on the tree using a pseudo-random number generator. The tree's appearance is customizable with adjustable parameters such as height, viewing angle, and decoration density. Please zoom out on the chart for a better view.
Release Notes
Add width input
Release Notes
Add garland
Release Notes
Minor sizes change
Release Notes
Add some aesthetics
christmaseducational

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer