π² #newfeature
Draw up to the last 500 labels or lines using the new
https://www.tradingview.com/pine-script-reference/v4/#fun_study
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
https://www.tradingview.com/pine-script-reference/v4/#fun_array{dot}range
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
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
π² #newfeature
You can now input date/time information in scripts.
https://www.tradingview.com/blog/en/new-parameter-for-date-input-added-to-pine-21812/
You can now input date/time information in scripts.
https://www.tradingview.com/blog/en/new-parameter-for-date-input-added-to-pine-21812/
π1
π #news
We published a new framework: Time Offset Calculation Framework
https://www.tradingview.com/script/5mZ7hV66-Time-Offset-Calculation-Framework-PineCoders-FAQ/
We published a new framework: Time Offset Calculation Framework
https://www.tradingview.com/script/5mZ7hV66-Time-Offset-Calculation-Framework-PineCoders-FAQ/
TradingView
Time Offset Calculation Framework - PineCoders FAQ β Indicator by PineCoders
ββOVERVIEW
Calculating time-based offsets is necessary when coders need to draw lines or labels into the future because using `xloc = xloc.bar_time` in `label.new()` or `line.new()` is then mandatory.
This script provides a function to help with those calculations:β¦
Calculating time-based offsets is necessary when coders need to draw lines or labels into the future because using `xloc = xloc.bar_time` in `label.new()` or `line.new()` is then mandatory.
This script provides a function to help with those calculations:β¦
π1
π #news
We published a new framework: MTF Oscillator Framework
https://www.tradingview.com/script/Wvcqygsx-MTF-Oscillator-Framework-PineCoders/
We published a new framework: MTF Oscillator Framework
https://www.tradingview.com/script/Wvcqygsx-MTF-Oscillator-Framework-PineCoders/
TradingView
MTF Oscillator Framework [PineCoders] β Indicator by PineCoders
This framework allows Pine coders to quickly build a complete multi-timeframe oscillator from any calculation producing values around a centerline, whether the values are bounded or not. Insert your calculation in the script and you have a ready-to-publishβ¦
π1
π² #newfeature
The
https://www.tradingview.com/pine-script-reference/v4/#fun_alma
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
https://www.tradingview.com/pine-script-reference/v4/#fun_rising
https://www.tradingview.com/pine-script-reference/v4/#fun_falling
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
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:
https://www.tradingview.com/pine-script-reference/v4/#fun_array{dot}join
https://www.tradingview.com/pine-script-reference/v4/#fun_str{dot}split
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
TradingView
Pine Script Language Reference Manual
π² #newfeature
The new
https://www.tradingview.com/pine-script-reference/v4/#fun_str{dot}length
The new
str.length()
function returns the number of characters in a string:https://www.tradingview.com/pine-script-reference/v4/#fun_str{dot}length
TradingView
Pine Script Language Reference Manual
π² #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.
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/
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
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
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
π #news
2020: Big Leaps Forward for Pine and Indicators
https://www.tradingview.com/blog/en/2020-for-pine-and-indicators-22224/
2020: Big Leaps Forward for Pine and Indicators
https://www.tradingview.com/blog/en/2020-for-pine-and-indicators-22224/
TradingView Blog
2020: big leaps forward for Pine and indicators
Latest Updates to Track All Markets
β€1
π1