PineCoders Squawk Box
3.85K subscribers
60 photos
166 links
News & Tips on TradingView's Pine programming language
Download Telegram
💪 #tip
You can access the Pine Script Editor from anywhere, including on phones, by using this link:
https://www.tradingview.com/pine/
🌲 #newfeature
You can now use timeframe.change("D") instead of ta.change(time("D")):
https://www.tradingview.com/pine-script-reference/v5/#fun_timeframe{dot}change
🌲 #newfeature
ta.vwap() now allows you to specify an anchor timeframe, and it can return stdev bands:
https://www.tradingview.com/pine-script-reference/v5/#fun_ta{dot}vwap
🌲 #newfeature
A new ta.pivot_point_levels() function calculates pivot levels using different types of calcs that reset on a condition you specify:
https://www.tradingview.com/pine-script-reference/v5/#fun_ta{dot}pivot_point_levels
🛠 #fix
The behavior of qty_percent in strategy.exit() has changed. Instead of applying to whatever remains of the position, it now always applies to the initial position size.
See details in the Release notes.
🔈 #news
The "Export chart data..." item was moved to the Layout menu.
🔈 #news
A new "Limitations" page in the User Manual documents the most frequent limits you are susceptible to encounter when writing complex Pine scripts:
https://www.tradingview.com/pine-script-docs/en/v5/writing/Limitations.html
🌲 #newfeature
ta.min() and ta.max() are two new functions that return the low and high values of a series up to the point in the series where they are called.
https://www.tradingview.com/pine-script-reference/v5/#fun_ta{dot}min
https://www.tradingview.com/pine-script-reference/v5/#fun_ta{dot}max
🌲 #newfeature
The display parameter of plot*() calls now supports more arguments, namely: display_data_window, display.pane, display_price_scale and display.status_line
https://www.tradingview.com/pine-script-docs/en/v5/Release_notes.html#july-2022
🌲 #newfeature
A developing parameter was added to ta.pivot_point_levels(). When true the pivot values continue to recalculate between anchor points:
https://www.tradingview.com/pine-script-reference/v5/#fun_ta{dot}pivot_point_levels
🌲 #newfeature
A new //@strategy_alert_message compiler annotation was added for strategies. The text following it will be used as the default alert message when users create alerts from the strategy.
🔈 #news
Our new Pine Script Editor is gradually being pushed into production. Stay tuned for a coming blog post and release notes about it.
🔈 #news
The Strategy Tester's Overview tab has better graphics and a crosshair to explore its values.
🔈 #news
The Strategy Tester's "List of Trades" tab had a facelift. The typography was improved and you can now click on the "Trade #" heading to change the sorting order of trades.
🌲 #newfeature
A new "About this script..." item in the "More" menu of indicators will bring script users to the page of published scripts, or to the Help Center for built-ins.
🌲 #newfeature
You now have access to a monospace font in labels, boxes and tables with:

text_font_family = font.family_monospace
🛠 #fix
There was a problem with scripts using chart.left/right_visible_bar_time where if the indicator's scale was manually adjusted, it reverted to auto-scaling when the chart changed. Expected behavior was restored.