編輯精選
OPEN-SOURCE SCRIPT
已更新

Dominance tagcloud [experimental]

13 772
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:

Pine Script®
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!
發行說明
Added comment in the script for clarity

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

免責聲明

這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。