PineCoders Squawk Box
3.84K 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/
🔥2814👍12👏4😁1💩1🏆1
🌲 #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
👍10🔥4💩1
🌲 #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
15👍2💩1
🌲 #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
15🔥6👏1💩1
🛠 #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.
👍11👎7🔥2
🔈 #news
The "Export chart data..." item was moved to the Layout menu.
👍14👏2
🔈 #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
👍19🤔32🔥2
🌲 #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
🔥9👍4👏2
🌲 #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
🔥22👍5
🔥6
🌲 #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
🔥6❤‍🔥2
🌲 #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.
🔥15👍3
🔈 #news
Our new Pine Script Editor is gradually being pushed into production. Stay tuned for a coming blog post and release notes about it.
🔥279👍9
🔈 #news
The Strategy Tester's Overview tab has better graphics and a crosshair to explore its values.
27👍4🎉4🔥3🤩3😢2
🔈 #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.
🔥14👍8🥰3
🌲 #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.
29👍12🤩4
🌲 #newfeature
You now have access to a monospace font in labels, boxes and tables with:

text_font_family = font.family_monospace
👍22🔥32
🛠 #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.
👍9🔥3