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.
Açık kaynak kodlu komut dosyası

Gerçek TradingView ruhuyla, bu betiğin yazarı, yatırımcının anlayabilmesi ve doğrulayabilmesi için onu açık kaynak olarak yayınladı. Yazarın eline sağlık! Bunu ücretsiz olarak kullanabilirsiniz, ancak bu kodun bir yayında yeniden kullanımı Kullanım Koşulları ile yönetilir. Bir grafikte kullanmak için favorilere ekleyebilirsiniz.

Feragatname

Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.

Bu komut dosyasını bir grafikte kullanmak ister misiniz?