π #fix
The behavior of
See details in the Release notes.
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.
π² #newfeature
Your scripts can now calculate and draw on visible bars:
https://www.tradingview.com/blog/en/pine-script-and-charts-become-better-acquainted-32927/
Your scripts can now calculate and draw on visible bars:
https://www.tradingview.com/blog/en/pine-script-and-charts-become-better-acquainted-32927/
TradingView Blog
Pine Scriptβ’ and charts become better acquainted
Latest Updates to Track All Markets
π #news
The "Export chart data..." item was moved to the Layout menu.
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
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
https://www.tradingview.com/pine-script-reference/v5/#fun_ta{dot}min
https://www.tradingview.com/pine-script-reference/v5/#fun_ta{dot}max
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
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
https://www.tradingview.com/pine-script-reference/v5/#fun_box{dot}new
A
text_wrap
parameter was added to box.new()
:https://www.tradingview.com/pine-script-reference/v5/#fun_box{dot}new
π² #newfeature
A
https://www.tradingview.com/pine-script-reference/v5/#fun_ta{dot}pivot_point_levels
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
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.
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.
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.
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.
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:
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
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.π #fix
The ordering of scripts in your user profile's SCRIPTS tab was inadvertently changed a few days ago, which made them appear in latest updated order. The previous order by publication date was restored. Apologies for the inconvenience.
The ordering of scripts in your user profile's SCRIPTS tab was inadvertently changed a few days ago, which made them appear in latest updated order. The previous order by publication date was restored. Apologies for the inconvenience.
π #fix
When a plot style was used and script users changed it in the "Style" tab, and then changed an input value, the plot's style was reset. This no longer happens.
When a plot style was used and script users changed it in the "Style" tab, and then changed an input value, the plot's style was reset. This no longer happens.
π² #newfeature
The formatting of the Editor's console messages was streamlined and timestamps were added to them. Remember that you can click on error messages to bring you to the offending code in your script.
The formatting of the Editor's console messages was streamlined and timestamps were added to them. Remember that you can click on error messages to bring you to the offending code in your script.