taylor_o

watermark

Just for fun... watermark graphics! The steps are:

1. Choose an image, probably no more than 20x20 pixels
2. Use an image library to convert each pixel into a table cell, as shown in the script.

I used they Python "pillow" library for step 2. This library allows you to iterate over each pixel, grab the RGB value, and generate table cells. You can use the width/height attributes of each cell to size the watermark.

Be careful, because Pinescript has a maximum character limit around 60,000 or so, and this script will reach that limit quickly. You also run into some limitation on table size, I think. That's why I suggest using no more than a 20x20 image.

Pictured in this chart is a legendary trader... message me if you would like to commission your own watermark.
Skrypt open-source

Zgodnie z prawdziwym duchem TradingView, autor tego skryptu opublikował go jako open-source, aby traderzy mogli go zrozumieć i zweryfikować. Brawo dla autora! Możesz używać go za darmo, ale ponowne wykorzystanie tego kodu w publikacji jest regulowane przez Dobre Praktyki. Możesz go oznaczyć jako ulubione, aby użyć go na wykresie.

Wyłączenie odpowiedzialności

Informacje i publikacje przygotowane przez TradingView lub jego użytkowników, prezentowane na tej stronie, nie stanowią rekomendacji ani porad handlowych, inwestycyjnych i finansowych i nie powinny być w ten sposób traktowane ani wykorzystywane. Więcej informacji na ten temat znajdziesz w naszym Regulaminie.

Chcesz użyć tego skryptu na wykresie?