PineCoders Squawk Box
3.87K subscribers
60 photos
166 links
News & Tips on TradingView's Pine programming language
Download Telegram
🌲 #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
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.
🌲 #newfeature
You can now export data from both the "Performance Summary" and the "List of Trades" tabs of the "Strategy Tester" panel.
🌲 #newfeature
A new time_tradingday variable for time returns the actual trading day the bar belongs to, which may differ from that returned by time on certain markets like forex.
https://www.tradingview.com/pine-script-reference/v4/#var_time_tradingday
🌲 #newfeature
A new tonumber() function allows the conversion of a string to a float value.
https://www.tradingview.com/pine-script-reference/v4/#fun_tonumber
🌲 #newfeature
A new resolution_gaps parameter for the study() declaration statement allows you to control gaps when using the resolution parameter to access higher timeframes.
https://www.tradingview.com/pine-script-reference/v4/#fun_study
🌲 #newfeature
You can now create section headers in inputs, and join multiple inputs on one line.
https://www.tradingview.com/blog/en/organize-script-inputs-in-sections-and-lines-23321/
🌲 #newfeature
New assignment operators were added:
+= addition assignment
-= subtraction assignment
*= multiplication assignment
/= division assignment
%= modulus assignment

Instead of a := a + 1 you can now write a += 1
🌲 #newfeature
To help you keep up with the crazy pace of improvements by the Pine team, catch up on new Pine features with this wrap-up of a few recent additions:
https://www.tradingview.com/blog/en/what-s-new-in-pine-23841/
πŸ›  #fix
The problem that caused some scripts to stop working since Friday has been fixed.
πŸ›  #fix
The problem that caused some scripts using fills to misbehave has been fixed.
πŸ’ͺ #tip
Reminder
This is the complete list of functions that support a "series int", so a dynamic value, as the argument to their length parameter:
https://www.pinecoders.com/faq_and_code/#can-i-use-a-variable-length-in-functions
🌲 #newfeature
Big news for coders interested in producing better script visuals! We can now generate colors on the fly, and use "series color" in more functions:
https://www.tradingview.com/blog/en/new-opportunities-to-work-with-color-in-pine-24226/