π² #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
π #news
String Manipulation Framework [PineCoders FAQ]
https://www.tradingview.com/script/l0wdrsUO-String-Manipulation-Framework-PineCoders-FAQ/
String Manipulation Framework [PineCoders FAQ]
https://www.tradingview.com/script/l0wdrsUO-String-Manipulation-Framework-PineCoders-FAQ/
TradingView
String Manipulation Framework [PineCoders FAQ] β Indicator by PineCoders β TradingView
ββOVERVIEW
This script provides string manipulation functions to help Pine coders.
ββββββββββββββββββββββββββββββββ
ββββββββββββββββββββββββββββββ
ββFUNCTIONS PROVIDED
f_strLeft(_str, _n)
Function returning the leftmost `_n` characters in `_str`.
f_strRight(_strβ¦
This script provides string manipulation functions to help Pine coders.
ββββββββββββββββββββββββββββββββ
ββββββββββββββββββββββββββββββ
ββFUNCTIONS PROVIDED
f_strLeft(_str, _n)
Function returning the leftmost `_n` characters in `_str`.
f_strRight(_strβ¦
π² #newfeature
Big day today: We now have alerts with dynamic messages, in strategies or studies!
https://www.tradingview.com/blog/en/our-new-alerts-allow-for-dynamic-messages-22588/
Big day today: We now have alerts with dynamic messages, in strategies or studies!
https://www.tradingview.com/blog/en/our-new-alerts-allow-for-dynamic-messages-22588/
TradingView Blog
Our new alerts allow for dynamic messages
Latest Updates to Track All Markets
π #news
We revisit the powerful
https://www.tradingview.com/script/00jFIl5w-security-revisited-PineCoders/
We revisit the powerful
security()
, which can also become a weapon of mass destruction when used improperly:https://www.tradingview.com/script/00jFIl5w-security-revisited-PineCoders/
TradingView
`security()` revisited [PineCoders] β Indicator by PineCoders
NOTE
The non-repainting technique in this publication that relies on bar states is now deprecated, as we have identified inconsistencies that undermine its credibility as a universal solution. The outputs that use the technique are still available for referenceβ¦
The non-repainting technique in this publication that relies on bar states is now deprecated, as we have identified inconsistencies that undermine its credibility as a universal solution. The outputs that use the technique are still available for referenceβ¦
π #news
Even More Pine Functions Now Support Dynamic Length Arguments
https://www.tradingview.com/blog/en/more-pine-functions-support-dynamic-length-arguments-22719/
Even More Pine Functions Now Support Dynamic Length Arguments
https://www.tradingview.com/blog/en/more-pine-functions-support-dynamic-length-arguments-22719/
TradingView Blog
Even more Pine functions now support dynamic length arguments
Latest Updates to Track All Markets
β€1
π² #newfeature
You can now click on a trade in the "List of Trades" tab to move the chart to it.
https://i.imgur.com/VLTOxjd.gif
You can now click on a trade in the "List of Trades" tab to move the chart to it.
https://i.imgur.com/VLTOxjd.gif
π2
PineCoders Squawk Box pinned Β«π² #newfeature You can now click on a trade in the "List of Trades" tab to move the chart to it. https://i.imgur.com/VLTOxjd.gifΒ»
π² #newfeature
New banners in script pages
When users open script pages now, new banners appear under their description. These are the changes we made:
1. The banner for each type of script (open-source, protected and invite-only) contains new text.
2. Instructions for traders on how to load the script on their chart are clearer.
3. Links to Help Center pages are provided.
4. TV blue is now used for the banner's frame on open-source scripts. The icon and banner frame of protected scripts is now black/white, and red is used for invite-only scripts.
5. For invite-only scripts
β’ A new "Author's instructions" field allows authors to include instructions for users who want to request access to the script. DO NOT ask users to use the script's "Comments" section for this. Ask them to send you a private message or use the links which you may include in that new field.
β’ You can ALSO use the new "Author's instructions" field to include links to external content that is specific to your script, such as a Google doc containing screenshots, or a TV or YouTube video. You CANNOT use this external content to replace your script's description, which must still contain the essential information our rules require.
β’ The "Author's instructions" field will not appear retroactively on older publications because for those, it is empty. You can, however, populate or change the field when you update your script.
β’ A warning now appears in invite-only banners, which links to new Help Center pages warning users about using invite-only scripts.
β’ The Help Center page and banner text is different on public and private invite-only scripts. We invite traders to more caution before paying for private invite-only scripts.
We hope you find these changes useful.
New banners in script pages
When users open script pages now, new banners appear under their description. These are the changes we made:
1. The banner for each type of script (open-source, protected and invite-only) contains new text.
2. Instructions for traders on how to load the script on their chart are clearer.
3. Links to Help Center pages are provided.
4. TV blue is now used for the banner's frame on open-source scripts. The icon and banner frame of protected scripts is now black/white, and red is used for invite-only scripts.
5. For invite-only scripts
β’ A new "Author's instructions" field allows authors to include instructions for users who want to request access to the script. DO NOT ask users to use the script's "Comments" section for this. Ask them to send you a private message or use the links which you may include in that new field.
β’ You can ALSO use the new "Author's instructions" field to include links to external content that is specific to your script, such as a Google doc containing screenshots, or a TV or YouTube video. You CANNOT use this external content to replace your script's description, which must still contain the essential information our rules require.
β’ The "Author's instructions" field will not appear retroactively on older publications because for those, it is empty. You can, however, populate or change the field when you update your script.
β’ A warning now appears in invite-only banners, which links to new Help Center pages warning users about using invite-only scripts.
β’ The Help Center page and banner text is different on public and private invite-only scripts. We invite traders to more caution before paying for private invite-only scripts.
We hope you find these changes useful.