PineCoders Squawk Box
3.84K subscribers
60 photos
166 links
News & Tips on TradingView's Pine programming language
Download Telegram
๐ŸŒฒ #newfeature
A new fill_orders_on_standard_ohlc parameter for the strategy() declaration statement allows strategies running on Heikin Ashi charts to fill orders using the market's OHLC values instead of the synthetic HA prices. The setting can also be changed in the strategy's "Properties" tab.
๐Ÿ‘16โค9๐Ÿพ2๐Ÿค”1
๐ŸŒฒ #newfeature
Three new syminfo.* variables were added: syminfo.sector, syminfo.industry, syminfo.country.
๐Ÿ‘18๐Ÿ”ฅ10โค8
๐Ÿ’ช #tip
Better late than never ) We added a usrman page on matrices:
https://www.tradingview.com/pine-script-docs/en/v5/language/Matrices.html
๐Ÿ”ฅ7๐Ÿ˜7๐Ÿ‘6๐Ÿพ4
๐ŸŒฒ #newfeature
The "More" menu of scripts using interactive inputs now contains a "Reset points..." item that restarts the selection process of the interactive inputs without having to reload the script on the chart.
๐Ÿ”ฅ14๐Ÿ‘12๐Ÿค”8โค6๐Ÿพ3๐Ÿ‘2
๐ŸŒฒ #newfeature
The Reference Manual was reorganized in more meaningful sections, which you can see in its left navigation pane. Also, items in each section are now ordered alphabetically.
๐Ÿ”ฅ26๐Ÿ‘11โค7๐Ÿ‘7โคโ€๐Ÿ”ฅ2
๐ŸŒฒ #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