🌲 #newfeature
Pine Script™ now supports the equivalent of extension methods. Read about them in the usrman's new page on Pine methods.
Pine Script™ now supports the equivalent of extension methods. Read about them in the usrman's new page on Pine methods.
🔥19👍12❤6⚡4
🌲 #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.
🔥19👍5👏1
🌲 #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
🔥28❤13👍6👏1👌1
🌲 #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.🔥19❤7⚡3❤🔥3👍2😍1
💪 #tip
The "Strategy" section of the User Manual was vastly expanded. It contains much more details and code examples:
https://www.tradingview.com/pine-script-docs/en/v5/concepts/Strategies.html
The "Strategy" section of the User Manual was vastly expanded. It contains much more details and code examples:
https://www.tradingview.com/pine-script-docs/en/v5/concepts/Strategies.html
👍16🔥9❤5⚡4
🌲 #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.
👍30❤13❤🔥8🔥6
🌲 #newfeature
A new
A new
disable_alert
parameter in strategy.*()
functions issuing orders allows you to prevent selective orders from triggering alerts.🔥7👍6⚡3❤1👌1
🌲 #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.👍16❤9🍾2🤔1
🌲 #newfeature
Three new
Three new
syminfo.*
variables were added: syminfo.sector
, syminfo.industry
, syminfo.country
.👍18🔥10❤8
💪 #tip
Better late than never ) We added a usrman page on matrices:
https://www.tradingview.com/pine-script-docs/en/v5/language/Matrices.html
Better late than never ) We added a usrman page on matrices:
https://www.tradingview.com/pine-script-docs/en/v5/language/Matrices.html
🔥7😁7👍6🍾4
🌲 #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.
🔥14👍12🤔8❤6🍾3👏2
🌲 #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.
🔥26👍11❤7👏7❤🔥2
🌲 #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
❤17🔥16❤🔥2👌1
🔈 #news
The z-index of visual elements has changed. Among the changes, fills now appear behind plots and hlines:
https://www.tradingview.com/pine-script-docs/en/v5/concepts/Colors.html#z-index
The z-index of visual elements has changed. Among the changes, fills now appear behind plots and hlines:
https://www.tradingview.com/pine-script-docs/en/v5/concepts/Colors.html#z-index
🔥12👍7
🌲 #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.⚡13🔥6❤2👍1
🌲 #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
👍4🔥4❤2⚡2
🌲 #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.👍6❤5
🌲 #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.
🙏7👏6❤5👍2
🌲 #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
🔥10👏9❤1👍1