PineCoders Squawk Box
3.84K subscribers
60 photos
166 links
News & Tips on TradingView's Pine programming language
Download Telegram
🌲 #newfeature
Draw up to the last 500 labels or lines using the new max_lines_count and max_labels_count parameters with your study() or strategy() declaration statements:
https://www.tradingview.com/pine-script-reference/v4/#fun_study
🌲 #newfeature
array.range() now returns the difference between the min and max values from a given array.
https://www.tradingview.com/pine-script-reference/v4/#fun_array{dot}range
πŸ”ˆ #news
Another step will be taken on Monday to further reduce the memory limit allowed per script. Be prepared for some scripts to start throwing the 'Memory limits exceeded` error. See here for solutions:
https://www.tradingview.com/?solution=43000590233
πŸ‘1
πŸ”ˆ #news
TradingView now broadcasts news on TG
https://t.me/tradingview
🌲 #newfeature
The alma() built-in function now accepts a new floor parameter to control how the offset is interpreted.
https://www.tradingview.com/pine-script-reference/v4/#fun_alma
🌲 #newfeature
The behavior of rising() and falling() has changed. The functions now return true only when the series has been rising/falling consecutively for the length number of bars, whereas before it was sufficient for the previous length values to be lower/higher than the current value for the function to return true.
https://www.tradingview.com/pine-script-reference/v4/#fun_rising
https://www.tradingview.com/pine-script-reference/v4/#fun_falling
πŸ”ˆ #news
We added a FAQ entry:
How can I find the nth highest/lowest value in the last bars?

https://www.pinecoders.com/faq_and_code/#how-can-i-find-the-nth-highestlowest-value-in-the-last-bars
🌲 #newfeature
Arrays now support three additional types: line ids, label ids and strings.
Two new functions allow the manipulation of string with arrays: array.join() and str.split():
https://www.tradingview.com/pine-script-reference/v4/#fun_array{dot}join
https://www.tradingview.com/pine-script-reference/v4/#fun_str{dot}split
🌲 #newfeature
When invite-only script users are removed from the access list, they will lose access to the script after four hours, even if they do not refresh their browser tab.
πŸ‘1
πŸ”ˆ #news
How PineCoders Write and Format Script Descriptions
https://www.pinecoders.com/techniques/script_description/
πŸ”ˆ #news
The Pine User Manual has a new page on debugging techniques:
https://www.tradingview.com/pine-script-docs/en/v4/Debugging.html
πŸ’ͺ #tip
See our FAQ entry on how to split a string into characters:
https://www.pinecoders.com/faq_and_code/#how-can-i-split-a-string-into-characters
🌲 #newfeature
str.split(str, "") will now split the str string into an array of characters.
😁1