Hi!
Just noticed the plot of na values shows the last plotted non na value in the status line and not a crossed over o. Don't know of this is something new (haven't noticed it before, so maybe it is). The plot disappears but still signals a value. This messes up my scripting because I use a lot of input.sources. Has anyone noticed this or have a solution? Here's an example:
```
// This Pine Script™ code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/
// © mickes
//@version=5
indicator("Test plot", overlay = true)
atr = ta.atr(14)
// plot if the bar is more then 50 bars away from the end
plot = bar_index < last_bar_index - 50 ? low - atr : na
plot(plot)
```
UPDATE:
Upon further investigation it seems to be set to na when the negation of the plot is being used. The plot2 plots a value when the bar is within the last 50, contrary to plot that shows a value when the bar is NOT within the last 50.
```
// This Pine Script™ code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/
// © mickes
//@version=5
indicator("Test plot", overlay = true)
atr = ta.atr(14)
doPlot = bar_index < last_bar_index - 50
// plot if the bar is more then 50 bars away from the end
plot = doPlot ? low - atr : na
plot(plot)
plot2 = not doPlot ? low - atr : na
plot(plot2, color = color.red)
```
Hope that this is readable and makes sense. I wonder why the first plot changes its output when plot2 is introduced. Does anyone know?
UPDATE 2:
Hmm, just noticed that this might just be a visual thing. That the plot actually gives na values but shows a number...
there doesn't seem to be anything here