OPEN-SOURCE SCRIPT

[-_-] 2D Fractals

By sabricat
The sole purpose of this script is to demonstrate what's possible to make with Pinescript, namely to display images (2D Fractals in this case).

The script consists of two functions: one that generates the values of a fractal and one that displays them (utilising table) with each cell being used as a "pixel". We can control the "resolution" of image, as well as choose one of three fractal types.
drawingFractalfractalesmandelbrottable

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