🌲 #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
🔥6
🌲 #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
🔥6❤🔥2
🌲 #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.🔥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.
Our new Pine Script™ Editor is gradually being pushed into production. Stay tuned for a coming blog post and release notes about it.
🔥27❤9👍9
🔈 #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.
❤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.
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.
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:
You now have access to a monospace font in labels, boxes and tables with:
text_font_family = font.family_monospace
👍22🔥3❤2
🛠 #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.👍9🔥3
🌲 #newfeature
We have a new Pine Script™ Editor:
https://www.tradingview.com/blog/en/new-vsc-style-pine-script-editor-34159/
We have a new Pine Script™ Editor:
https://www.tradingview.com/blog/en/new-vsc-style-pine-script-editor-34159/
TradingView Blog
Pine Script™ has a new VSC-style editor
Latest Updates to Track All Markets
❤31👍11🔥11🍾8❤🔥5
🌲 #newfeature
We can now do vertical gradients:
https://www.tradingview.com/blog/en/pine-script-vertical-gradients-33586/
We can now do vertical gradients:
https://www.tradingview.com/blog/en/pine-script-vertical-gradients-33586/
TradingView Blog
Pine Script™ now does vertical gradients!
Latest Updates to Track All Markets
🔥17👏12👍5❤2
🛠 #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.
👍12❤3🤔1😢1
🛠 #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.
👍13🎉3❤2🔥2👏1
🌲 #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.
👍17🔥10⚡1
🌲 #newfeature
`str.format_time(time, format, timezone)` allows you to convert a Unix timestamp into a formatted string, while also allowing its translation to a timezone:
`str.format_time(time, format, timezone)` allows you to convert a Unix timestamp into a formatted string, while also allowing its translation to a timezone:
//@version=5
indicator("str.format_time")
if timeframe.change("1D")
// Time in exchange tz.
formattedTime1 = str.format_time(time, "yyyy-MM-dd HH:mm", syminfo.timezone)
// Time in UTC tz using `str.format()`.
formattedTime2 = str.format("{0,time,yyyy-MM-dd HH:mm}", time)
// Time in UTC tz using `str.format_time()`.
formattedTime3 = str.format_time(time, "yyyy-MM-dd HH:mm", "UTC")
label.new(bar_index, high, formattedTime1 + "\n" + formattedTime2 + "\n" + formattedTime3)
👍34❤7👌3⚡1🤩1
🛠 #fix
math.round_to_mintick()
used to return zero when used on na
values. It now returns na
in those cases.👍16🍾6❤4👌3👏1🏆1
🌲 #newfeature
The editor now has code snippets to help you with a few common constructs such as
The editor now has code snippets to help you with a few common constructs such as
if
, switch
, for
and while
. More are planned.👍29🏆7❤5🔥5⚡2🍾2👏1🙏1
🌲 #newfeature
When opening your script in a new window of the Editor, the size of the last-used window is remembered.
When opening your script in a new window of the Editor, the size of the last-used window is remembered.
❤17⚡4😱3🔥2👍1
🌲 #newfeature
Three new functions were added to access trade comments in strategies:
`strategy.opentrades.entry_comment()`
`strategy.closedtrades.entry_comment()`
`strategy.closedtrades.exit_comment()`
Three new functions were added to access trade comments in strategies:
`strategy.opentrades.entry_comment()`
`strategy.closedtrades.entry_comment()`
`strategy.closedtrades.exit_comment()`
🔥16👍6❤🔥3😢3⚡2🤯2
🌲 #newfeature
Today we introduce user-defined types and objects to Pine Script™:
https://www.tradingview.com/blog/en/pine-script-does-objects-35230/
Today we introduce user-defined types and objects to Pine Script™:
https://www.tradingview.com/blog/en/pine-script-does-objects-35230/
TradingView Blog
Pine Script™ does objects
Latest Updates to Track All Markets
❤🔥28👏12😍9🔥7👍4🍾4🥰3🎉3⚡2
🌲 #newfeature
The Editor now has a "Settings" dialog box accessible from the "More" menu. Among other things, it allows you to disable autocomplete.
The Editor now has a "Settings" dialog box accessible from the "More" menu. Among other things, it allows you to disable autocomplete.
🙏15👍12🔥7❤4🍾4👏1🤔1🏆1