๐ฒ #newfeature
A new `request.currency_rate()` function allows you to retrieve a rate to convert values between currencies.
A new `request.currency_rate()` function allows you to retrieve a rate to convert values between currencies.
๐ฒ #newfeature
Use as many external inputs as you want from scripts, as long as they originate from no more than 10 different indicators.
https://www.tradingview.com/blog/en/more-external-inputs-for-scripts-38014/
Use as many external inputs as you want from scripts, as long as they originate from no more than 10 different indicators.
https://www.tradingview.com/blog/en/more-external-inputs-for-scripts-38014/
TradingView Blog
Connect your scripts to more external inputs
Latest Updates to Track All Markets
๐ฒ #newfeature
The new array.every() and array.some()
The new array.every() and array.some()
functions allow you to test if all or some elements of a "bool" array are true
. They also work with "int" and "float" arrays.๐ฒ #newfeature
In the Editor, you can now replace the "Add to chart" button with "Update on chart". This allows you to push changes to the chart's version of the script while creating only a minor revision number. Continue to use "Save" when you want to create a major revision.
In the Editor, you can now replace the "Add to chart" button with "Update on chart". This allows you to push changes to the chart's version of the script while creating only a minor revision number. Continue to use "Save" when you want to create a major revision.
๐ฒ #newfeature
A new
A new
disable_alert
parameter in strategy.*()
functions issuing orders allows you to prevent selective orders from triggering alerts.๐ฒ #newfeature
A new
A new
fill_orders_on_standard_ohlc
parameter for the strategy()
declaration statement allows strategies running on Heikin Ashi charts to fill orders using the market's OHLC values instead of the synthetic HA prices. The setting can also be changed in the strategy's "Properties" tab.๐ฒ #newfeature
Three new
Three new
syminfo.*
variables were added: syminfo.sector
, syminfo.industry
, syminfo.country
.๐ฒ #newfeature
The "More" menu of scripts using interactive inputs now contains a "Reset points..." item that restarts the selection process of the interactive inputs without having to reload the script on the chart.
The "More" menu of scripts using interactive inputs now contains a "Reset points..." item that restarts the selection process of the interactive inputs without having to reload the script on the chart.
๐ฒ #newfeature
The Reference Manual was reorganized in more meaningful sections, which you can see in its left navigation pane. Also, items in each section are now ordered alphabetically.
The Reference Manual was reorganized in more meaningful sections, which you can see in its left navigation pane. Also, items in each section are now ordered alphabetically.
๐ฒ #newfeature
Consider using the new Pine Scriptยฎ maps when you need efficient lookup tables in scripts:
https://www.tradingview.com/blog/en/pine-script-now-features-maps-40538/
Consider using the new Pine Scriptยฎ maps when you need efficient lookup tables in scripts:
https://www.tradingview.com/blog/en/pine-script-now-features-maps-40538/
TradingView Blog
Pine Scriptโข now features maps!
Latest Updates to Track All Markets
๐ฒ #newfeature
A new
A new
timeframe.from_seconds()
function makes it easier to manipulate timeframes when used in conjunction with the existing timeframe.in_seconds()
. See the code example in the new function's entry in the Reference Manual.๐ฒ #newfeature
https://www.tradingview.com/pine-script-reference/v5/#fun_ticker%7Bdot%7Dinherit
ticker.inherit()
now allows you to transport symbol modifiers from one symbol to another when creating tickers for request.*()
functions, including previously inaccessible modifiers such as back-adjustment:https://www.tradingview.com/pine-script-reference/v5/#fun_ticker%7Bdot%7Dinherit
๐ฒ #newfeature
Access future dividend information with three new variables: dividends.future_amount
Access future dividend information with three new variables: dividends.future_amount
,
dividends.future_ex_date
and
dividends.future_pay_date.๐ฒ #newfeature
The syntax of Pine Scriptยฎ code blocks in chats and published script descriptions is now highlighted.
The syntax of Pine Scriptยฎ code blocks in chats and published script descriptions is now highlighted.
๐ฒ #newfeature
An
https://www.tradingview.com/pine-script-reference/v5/#fun_request.security_lower_tf
An
ignore_invalid_timeframe
parameter was added to request.security_lower_tf()
. It provides more control over the runtime errors generated by scripts using the function:https://www.tradingview.com/pine-script-reference/v5/#fun_request.security_lower_tf
๐ฒ #newfeature
Use external EOD data from a GitHub repo in your scripts with our new Pine Seeds and `request.seed()`:
https://github.com/tradingview-pine-seeds/docs
Use external EOD data from a GitHub repo in your scripts with our new Pine Seeds and `request.seed()`:
https://github.com/tradingview-pine-seeds/docs
๐ฒ #newfeature
Draw irregular shapes with the new polyline drawings:
https://www.tradingview.com/blog/en/pine-script-polyline-drawings-41467/
Draw irregular shapes with the new polyline drawings:
https://www.tradingview.com/blog/en/pine-script-polyline-drawings-41467/
TradingView Blog
Pine now does polyline drawings
Latest Updates to Track All Markets
๐ฒ #newfeature
The
https://www.tradingview.com/pine-script-docs/en/v5/Release_notes.html#december-2023
The
plot*()
functions have two new parameters, format
and precision
, which allow you to selectively control how they display values in the chart paneโs y-axis, the scriptโs status line, and the Data Window:https://www.tradingview.com/pine-script-docs/en/v5/Release_notes.html#december-2023
๐ฒ #newfeature
The Pine Editor now helps you track unsaved changes to your code:
https://www.tradingview.com/blog/en/track-unsaved-changes-in-the-pine-editor-42549/
The Pine Editor now helps you track unsaved changes to your code:
https://www.tradingview.com/blog/en/track-unsaved-changes-in-the-pine-editor-42549/
TradingView Blog
Track unsaved changes in the Pine Editor
Latest Updates to Track All Markets