Exposing an indicator variable that is not a plot

Would like to expose a variable in Market Analyzer withOUT plotting on chart. I found an old post code sample which was very helpful (SampleBoolSeries_NT8.zip). I’ve added the code, then added the column in Market analyzer, but my variable is grayed out and I only see ‘–’ in the column field value. I am not sure what I am missing. Appreciate any help!

Steps taken:

  1. Created var: private Series isFVGFilled;
  2. Initialized var in State.Configure : isFVGFilled = new Series(this);
  3. Set value in OnBarUpdate (): Returns 0=None, 1=Bullish FVG Filled, 2=Bearish FVG Filled"
  4. Expose var for Market Analyzer:
    [Browsable(false)]
    [XmlIgnore]
    public Series IsFVGFilledSeries
    {
    get { return isFVGFilled; }
    }

[Browsable(true)]
[XmlIgnore]
[Display(Name = “FVG Filled Status”,
Description = “Returns 0=None, 1=Bullish FVG Filled, 2=Bearish FVG Filled”,
Order = 1000,
GroupName = “Market Analyzer”)]
[ReadOnly(true)]
public double IsFVGFilledValue
{
get
{
if (isFVGFilled [0] != null && CurrentBar >= 0)
return isFVGFilled[0];
else
return 0;
}
}

Go to the ninjascript documentation, copy that link, paste it into ChatGPT, Gemini, or Claude, and tell those systems to learn ninjascript from the documentation.

They’ll learn it, and in two minutes, you can communicate your problem to any of the system that you choose, and it will help you get to the bottom of your quandary.