On SPX, I can plot high/low of the current symbol, hard-coded numbers, high/low of a different symbol, but when I try to plot the volume of a different symbol, suddenly the plots don't render. Why not?? The debug chart bubble has the proper values for the plots, so there's nothing wrong with the values, and if I add this study to an AAPL chart, it also renders correctly.
def nan = Double.NaN;
#plot VAbove = if(close >= open, high, nan);
#plot VAbove = if(close >= open, 1, nan);
#plot VAbove = if(close >= open, high("MSFT"), nan);
plot VAbove = if(close >= open, volume("MSFT"), nan);
VAbove.SetPaintingStrategy(PaintingStrategy.VALUES_ABOVE);
#plot VBelow = if(close < open, low, nan);
#plot VBelow = if(close < open, 0, nan);
#plot VBelow = if(close < open, low("MSFT"), nan);
plot VBelow = if(close < open, volume("MSFT"), nan);
VBelow.SetPaintingStrategy(PaintingStrategy.VALUES_Below);
AddChartBubble(1, high, "Debug - " + "VAbove: " + VAbove + ", VBelow: " + VBelow);
def nan = Double.NaN;
#plot VAbove = if(close >= open, high, nan);
#plot VAbove = if(close >= open, 1, nan);
#plot VAbove = if(close >= open, high("MSFT"), nan);
plot VAbove = if(close >= open, volume("MSFT"), nan);
VAbove.SetPaintingStrategy(PaintingStrategy.VALUES_ABOVE);
#plot VBelow = if(close < open, low, nan);
#plot VBelow = if(close < open, 0, nan);
#plot VBelow = if(close < open, low("MSFT"), nan);
plot VBelow = if(close < open, volume("MSFT"), nan);
VBelow.SetPaintingStrategy(PaintingStrategy.VALUES_Below);
AddChartBubble(1, high, "Debug - " + "VAbove: " + VAbove + ", VBelow: " + VBelow);