fikira

Dominance tagcloud [experimental]

fikira Wizard Updated   
This script is mainly about 2 techniques:

- rectangles that don't overlap with the use of random() -> f_overlap(x1_a, y1_a, x2_a, y2_a, x1_b, y1_b, x2_b, y2_b)
- using a "while loop" (inspired by @ricardosantos)

The loop:

for x = 0 to 999999
_if ...
  • _do ...
  • _continue
_else ...
  • _break

resembles a "while loop"

There are 2 settings :
"Moving Boxes?"
- enabled: the boxes are made and move randomly
- disabled: the boxes are randomly made, without moving

"Label at the side"
- enabled: labels at the side
- disabled: labels at the rectangles, note while rectangles won't overlap, the text can overlap



Cheers!
Release Notes:
Added comment in the script for clarity

This script is best used on continue markets like crypto, otherwise it will give issues, thanks!

LuxAlgo Dev: www.luxalgo.com
PineCoder: www.pinecoders.com

- We cannot control our emotions,
but we can control our keyboard -
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 a publication is governed by House Rules. You can favorite it to use it on a chart.

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.

Want to use this script on a chart?