PineCoders Squawk Box
3.84K subscribers
60 photos
166 links
News & Tips on TradingView's Pine programming language
Download Telegram
๐ŸŒฒ #newfeature
Consider using the new Pine Scriptยฎ maps when you need efficient lookup tables in scripts:
https://www.tradingview.com/blog/en/pine-script-now-features-maps-40538/
โค17๐Ÿ”ฅ16โคโ€๐Ÿ”ฅ2๐Ÿ‘Œ1
๐Ÿ”ˆ #news
The z-index of visual elements has changed. Among the changes, fills now appear behind plots and hlines:
https://www.tradingview.com/pine-script-docs/en/v5/concepts/Colors.html#z-index
๐Ÿ”ฅ12๐Ÿ‘7
๐ŸŒฒ #newfeature
A new timeframe.from_seconds() function makes it easier to manipulate timeframes when used in conjunction with the existing timeframe.in_seconds(). See the code example in the new function's entry in the Reference Manual.
โšก13๐Ÿ”ฅ6โค2๐Ÿ‘1
๐ŸŒฒ #newfeature
ticker.inherit() now allows you to transport symbol modifiers from one symbol to another when creating tickers for request.*() functions, including previously inaccessible modifiers such as back-adjustment:
https://www.tradingview.com/pine-script-reference/v5/#fun_ticker%7Bdot%7Dinherit
๐Ÿ‘4๐Ÿ”ฅ4โค2โšก2
๐ŸŒฒ #newfeature
Access future dividend information with three new variables: dividends.future_amount, dividends.future_ex_date and dividends.future_pay_date.
๐Ÿ‘6โค5
๐ŸŒฒ #newfeature
The syntax of Pine Scriptยฎ code blocks in chats and published script descriptions is now highlighted.
๐Ÿ™7๐Ÿ‘6โค5๐Ÿ‘2
๐ŸŒฒ #newfeature
An ignore_invalid_timeframe parameter was added to request.security_lower_tf(). It provides more control over the runtime errors generated by scripts using the function:
https://www.tradingview.com/pine-script-reference/v5/#fun_request.security_lower_tf
๐Ÿ”ฅ10๐Ÿ‘9โค1๐Ÿ‘1
๐ŸŒฒ #newfeature
Use external EOD data from a GitHub repo in your scripts with our new Pine Seeds and `request.seed()`:
https://github.com/tradingview-pine-seeds/docs
โค20๐Ÿ”ฅ14๐Ÿ˜ฑ10๐Ÿ‘2๐Ÿคฉ1๐Ÿ‘Œ1
๐Ÿ”ˆ #news
A new User Manual page on request.*() functions was rolled out:
https://www.tradingview.com/pine-script-docs/en/v5/concepts/Other_timeframes_and_data.html#
โค12๐Ÿ‘7๐Ÿ‘Œ2
๐ŸŒฒ #newfeature
The plot*() functions have two new parameters, format and precision, which allow you to selectively control how they display values in the chart paneโ€™s y-axis, the scriptโ€™s status line, and the Data Window:
https://www.tradingview.com/pine-script-docs/en/v5/Release_notes.html#december-2023
๐Ÿ”ฅ16๐Ÿ‘9โค2
โ—๏ธWARNING

There is currently a problem on the platform where script updates sometimes cause the publication to become an idea, rendering the publication useless.

Until TradingView resolves the problem, it will be safest to avoid updating your script publications for the time being. We will keep you updated on the issue. Apologies for the inconvenience.
๐Ÿคฏ15๐Ÿ™15๐Ÿ‘13โšก4๐Ÿค”3โค1
๐Ÿ›  #fix
You can now update your scripts without risking a conversion to an idea.
โค21๐Ÿ‘6โคโ€๐Ÿ”ฅ2๐Ÿพ2๐Ÿค”1๐Ÿ™1