TradingView

Watermark

4917瀏覽
394
Look in the lower-left corner of this chart. If you load the script on your chart, you will see how the watermark animates. You can personalize it in the script's "Settings/Inputs" tab to use it in your chart snapshots.

Do keep in mind that if you use it when publishing ideas, videos or scripts, House Rules prohibit advertising on your chart.

For Pine coders
This script uses our new table feature in Pine to position a watermark on the chart, and the new varip type of variable to animate it.
開源腳本

秉持真正的TradingView精神,該腳本的作者將其開源發佈,因此交易者可以理解和驗證它。為作者加油!您可以免費使用它,但是在發佈中重複使用此程式碼受網站規則的約束。您可以把它加入到常用以在圖表上使用它。

想在圖表上使用此腳本?
Get $30 worth of TradingView Coins for you and a friend: https://www.tradingview.com/share-your-love/

Read more about the new tools and features we're building for you: https://www.tradingview.com/blog/en/

評論

Nice Work !
100 代幣
回覆
The new additions to Pine are very nice. Thank you for spending time and for the effort you are putting into #PineScript

The only problem with the new #PineTables is that they do not work on mobile they get squeezed too much. The same problem happens in the browser as well when you have a smaller screen and 2-3 indicators on the bottom or when the watchlist panel is one. They have most likely been developed for bigger screens. And that makes sense. But please, if possible, have a look at how they work on smaller screen as this would be very useful on small screen, more mobile devices, such as laptops/smartphones etc.

Hope this feedback is useful somehow :)
+2 回覆
@dMLTquant, yeeees so glad others have noticed this as well and I'm not losing my mind..
+1 回覆
PineCoders dMLTquant
@dMLTquant, Displaying tables—especially large ones—on portable devices with less pixel real estate is a real challenge. The relative sizing of tables makes it particularly difficult to scale them down in fool-proof fashion. Perhaps it will be possible to improve the rendering somewhat.
回覆
dMLTquant PineCoders
@PineCoders, the problem I am having is even on the same screen (laptop 16") the table: `var table checklist = table.new(position.middle_right, 1, 7, border_width = 3)` that is aligned right starts looking strange when I switch on the right hand side tools (such as Watchlist or Alarms etc). It would be nice if we could have an option to keep the table's size fixed instead of using a flexible grid. If the cell has a width of 6 it should keep it at 6 not flex it as the chart window becomes smaller 🤔🤷‍♂️
回覆
PineCoders dMLTquant
@dMLTquant, We struggled with this exact challenge when designing/testing the feature. As usual, tough calls had to be made. Now that tables v1 are out the door, we'll collect comments like yours and see how we can improve the feature, so thx for taking the time to mention this. Appreciate.
回覆
dMLTquant PineCoders
@PineCoders, please don't get me wrong. I love the new Pine Tables 👍💯. They are great and very useful. I am able to develop some of the ideas that were not possible until now. So thank you for all the hard work that the team has put into Pine. Cannot wait to see what new feature and new improvements come next 🖖

Plus the small screen will not be a problem once I win the #TradingClue 😜
回覆
PineCoders dMLTquant
@dMLTquant, Thx for the good words. We'll pass them on. TV devs are busier than ever, and while it's not always possible to reply to everybody, TV continuously monitors user suggestions and listens, so many more goodies are on their way!
+1 回覆
dMLTquant PineCoders
@PineCoders, quick question related to Tables. Can we have dynamic data in Tables? Similar to the Data Window? So that when I hover the mouse on top of a previous bar I can see the data for that bar in the table instead of the current bar data?
回覆
PineCoders dMLTquant
@dMLTquant, No. For now, can't be done. Displayed tables reflect their state after the script's last execution, which is why we recommend only drawing then on `barstate.islast`. You could always use conditions in your code to prevent execution of table code past a certain bar or time, but the table's content would still not update with the position of the chart's cursor. It is a new concept in Pine, introduced with tables, that an object is no longer tethered to chart bars.

A coming new type of script input that will allow mouse interaction to select time and price could perhaps allow for this in the future, but it would still require an explicit user intervention to identify the point at which table data should be calculated, so wouldn't be a smooth as the seamless updating of Data Window values.
回覆