PineCoders Squawk Box
3.85K subscribers
60 photos
166 links
News & Tips on TradingView's Pine programming language
Download Telegram
🐞⚔️ #bugfix
A plot's name will now show as a label in the scale, even when there is only one plot.
🐞⚔️ #bugfix
The alert creation problem with v3 scripts mentioned here has been fixed.
🐞⚔️ #bugfix
fill()
There was a bug with the fill() function where if you plotted a single value surrounded by na values, it could not be filled. The fill shown here would not appear before. Now it does.
https://www.tradingview.com/x/wxstnMDz/

💪 #tip
Keep in mind that to prevent fills between plots you have 2 options:
1. Plot na on one of the 2 plots or both.
2. Set the fill's color to na conditionally.
🐞⚔️ #bugfix
Alerts configured on code using `barstate.isconfirmed` now work as expected.
Alerts based on this code would never fire before. They now do.

//@version=4
study("")
alertcondition(barstate.isconfirmed, "Alert")
🐞⚔️ #bugfix
display = display.none
A change was made to its behavior, to bring it in line with the original specs for the feature, which specified no display of the plot or its values anywhere, as it was meant to be used for plots intended for external signals and placeholders in alert messages.

Phase 1 of the new display= parameter for plot functions is now complete. Phase 2 has no ETA yet, but will include other arguments for the display= parameter:
display.chart
display.data_window
display.price_scale
display.indicator_value

When Phase 2 is deployed, you will be able to combine these to control exactly where a plot's values are to appear.
🐞⚔️ #bugfix
Plotting na when using histogram, area or columns mode no longer puts zero in play in the indicator's scale

Prior to this fix, using either of:
style = plot.style_histogram
style = plot.style_area
style = plot.style_columns

with plot() would always put the zero value in the indicator's scale, even when plotting na. This is no longer the case.
🐞⚔️ #bugfix
The problem with script Inputs has been fixed.
🐞⚔️ #bugfix
The problem with textalign= not working correctly has been fixed.
🐞⚔️ #bugfix
The recent problem where scripts that used to run fine suddenly started timing out on the >20000ms message should now be fixed.
🐞⚔️ #bugfix
There was a bug in the parser of published scripts descriptions that caused the # character in urls to be silently replaced by %, rendering links dysfunctional. The bug has been fixed.
🐞⚔️ #bugfix
Using a function call as an argument in another function call often threw an error. The problem is now fixed.
🐞⚔️ #bugfix
Fixes have come in today
— The Editor's Undo now works after saves.
— The cursor's position in the Editor is preserved after saves.
— Search & Replace now allows for replacement with an empty string.
🐞⚔️ #bugfix
On some symbols such as BINANCE:BNBUSDT it was not possible to issue strategy orders on fractional sizes. The problem was fixed.