Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

BandAreaColor not saved

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    BandAreaColor not saved

    I put 2 VWAP indicators in a chart...one with 2 std dev and one with 4 std dev

    I set the bandareacolor to diff colors for each

    Did Template/SaveAs

    Loaded the template to another chart and the bandareacolors in both VWAPs were blank.

    Did this several times....bandareacolor does not save

    #2
    ATI user: I think this is just that the VWAP indicator is broken with the latest NT6.5 beta. At least its broken on my end. I will need to find some time to go through it and figure out whats wrong.
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      Thanks Josh

      Comment


        #4
        Hi guys,

        It's a serialization(?) thing, use something like the code I copied from Gumphrie, cheers.

        using NinjaTrader.Gui.Design;
        .
        .
        .
        .

        [Browsable(false)]
        public string Band02ColorSerialize
        {
        get { return SerializableColor.ToString(this.Band02Color); }
        set { this.Band02Color = SerializableColor.FromString(value); }
        }

        [Description("Default Colour for Band"), XmlIgnore]
        [Category("Plots")]
        public Color Band02Color
        {
        get { return band2Color.Color; }
        set { band2Color = new SolidBrush( value ); }
        }

        Comment


          #5
          Hi Rollins,

          Thanks for pointing that out. Apparently the version I've uploaded onto the forums didn't have the color serialized. I also apparently misspoke when I said the VWAP was broken. I happened to have a developmental version installed on my machine and that one was all broken. I forgot that the one I released onto the forums was different. In either case a re-release is on the original thread: http://www.ninjatrader-support.com/v...3237#post13237
          Josh P.NinjaTrader Customer Service

          Comment


            #6
            thanks Josh...that got it

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by Geovanny Suaza, 02-11-2026, 06:32 PM
            0 responses
            600 views
            0 likes
            Last Post Geovanny Suaza  
            Started by Geovanny Suaza, 02-11-2026, 05:51 PM
            0 responses
            346 views
            1 like
            Last Post Geovanny Suaza  
            Started by Mindset, 02-09-2026, 11:44 AM
            0 responses
            103 views
            0 likes
            Last Post Mindset
            by Mindset
             
            Started by Geovanny Suaza, 02-02-2026, 12:30 PM
            0 responses
            558 views
            1 like
            Last Post Geovanny Suaza  
            Started by RFrosty, 01-28-2026, 06:49 PM
            0 responses
            558 views
            1 like
            Last Post RFrosty
            by RFrosty
             
            Working...
            X