🌲 #newfeature
Use tooltips in your inputs!
https://www.tradingview.com/blog/en/add-tooltips-to-inputs-of-pine-scripts-23475/
Use tooltips in your inputs!
https://www.tradingview.com/blog/en/add-tooltips-to-inputs-of-pine-scripts-23475/
🌲 #newfeature
New assignment operators were added:
Instead of
New assignment operators were added:
+=
addition assignment-=
subtraction assignment*=
multiplication assignment/=
division assignment%=
modulus assignmentInstead of
a := a + 1
you can now write a += 1
🔈 #news
Our new script publication explains how to use the new
https://www.tradingview.com/script/ppQxBISk-Using-varip-variables-PineCoders/
Our new script publication explains how to use the new
varip
variables:https://www.tradingview.com/script/ppQxBISk-Using-varip-variables-PineCoders/
TradingView
Using `varip` variables [PineCoders] — Indicator by PineCoders
█ OVERVIEW
The new varip keyword in Pine can be used to declare variables that escape the rollback process, which is explained in the Pine User Manual's page on the execution model. This publication explains how Pine coders can use variables declared with…
The new varip keyword in Pine can be used to declare variables that escape the rollback process, which is explained in the Pine User Manual's page on the execution model. This publication explains how Pine coders can use variables declared with…
🌲 #newfeature
Pine scripts now have access to dividends, earnings and splits.
https://www.tradingview.com/blog/en/functions-to-get-splits-dividends-earnings-data-in-pine-23591/
Pine scripts now have access to dividends, earnings and splits.
https://www.tradingview.com/blog/en/functions-to-get-splits-dividends-earnings-data-in-pine-23591/
🌲 #newfeature
To help you keep up with the crazy pace of improvements by the Pine team, catch up on new Pine features with this wrap-up of a few recent additions:
https://www.tradingview.com/blog/en/what-s-new-in-pine-23841/
To help you keep up with the crazy pace of improvements by the Pine team, catch up on new Pine features with this wrap-up of a few recent additions:
https://www.tradingview.com/blog/en/what-s-new-in-pine-23841/
TradingView Blog
What’s new in Pine?
Latest Updates to Track All Markets
🛠 #fix
The problem that caused some scripts to stop working since Friday has been fixed.
The problem that caused some scripts to stop working since Friday has been fixed.
🛠 #fix
The problem that caused some scripts using fills to misbehave has been fixed.
The problem that caused some scripts using fills to misbehave has been fixed.
💪 #tip
Reminder
This is the complete list of functions that support a "series int", so a dynamic value, as the argument to their
https://www.pinecoders.com/faq_and_code/#can-i-use-a-variable-length-in-functions
Reminder
This is the complete list of functions that support a "series int", so a dynamic value, as the argument to their
length
parameter:https://www.pinecoders.com/faq_and_code/#can-i-use-a-variable-length-in-functions
🌲 #newfeature
Big news for coders interested in producing better script visuals! We can now generate colors on the fly, and use "series color" in more functions:
https://www.tradingview.com/blog/en/new-opportunities-to-work-with-color-in-pine-24226/
Big news for coders interested in producing better script visuals! We can now generate colors on the fly, and use "series color" in more functions:
https://www.tradingview.com/blog/en/new-opportunities-to-work-with-color-in-pine-24226/
🌲 #newfeature
You can now initialize arrays with a list of values using the new
https://www.tradingview.com/pine-script-reference/v4/#fun_array{dot}from
You can now initialize arrays with a list of values using the new
array.from()
://@version=4
study("")
int[] v = array.from(1, 2, 12)
plot(array.avg(v))
https://www.tradingview.com/pine-script-reference/v4/#fun_array{dot}from
TradingView
Pine Script Language Reference Manual
🌲 #newfeature
You can now use tables to place content like display panels that won't move on charts!
https://www.tradingview.com/blog/en/introducing-pine-tables-24604/
You can now use tables to place content like display panels that won't move on charts!
https://www.tradingview.com/blog/en/introducing-pine-tables-24604/
🌲 #newfeature
You can now draw boxes in Pine:
https://www.tradingview.com/blog/en/new-drawing-box-24667/
You can now draw boxes in Pine:
https://www.tradingview.com/blog/en/new-drawing-box-24667/
🌲 #newfeature
When updating a published script, you can now choose to keep your previously published chart as is, only updating the script’s code.
When updating a published script, you can now choose to keep your previously published chart as is, only updating the script’s code.
🌲 #newfeature
https://www.tradingview.com/pine-script-reference/v4/#fun_color{dot}new
color.new()
now accepts arguments of "series" form for its color
and transp
parameters:https://www.tradingview.com/pine-script-reference/v4/#fun_color{dot}new
🌲 #newfeature
Script authors can now filter their user profile's SCRIPTS page on the access type of their scripts.
Script authors can now filter their user profile's SCRIPTS page on the access type of their scripts.
🌲 #newfeature
The "Publish Script" window was redesigned to make our options clearer.
The "Publish Script" window was redesigned to make our options clearer.
🌲 #newfeature
https://www.tradingview.com/pine-script-reference/v4/#fun_tostring
tostring()
now accepts three new formatting arguments:format.mintick
to format to tick precision.format.volume
to abbreviate large values.format.percent
to format percentages.https://www.tradingview.com/pine-script-reference/v4/#fun_tostring
TradingView
Pine Script Language Reference Manual
🌲 #newfeature
The new
https://www.tradingview.com/pine-script-reference/v4/#fun_round_to_mintick
The new
round_to_mintick()
function makes it possible to round numeric values to tick precision.https://www.tradingview.com/pine-script-reference/v4/#fun_round_to_mintick
🌲 #newfeature
Script authors can now filter their user profile's SCRIPTS page on private/public publications.
Script authors can now filter their user profile's SCRIPTS page on private/public publications.
🌲 #newfeature
You can now use
You can now use
nz()
to protect against division by zero. This will return zero when close == open
: nz(1 / (close - open))