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 llanqui, Today, 10:29 AM
            1 response
            12 views
            0 likes
            Last Post NinjaTrader_BrandonH  
            Started by Trader146, 05-10-2024, 09:17 PM
            1 response
            22 views
            0 likes
            Last Post NinjaTrader_BrandonH  
            Started by bourasrafik, Today, 03:26 PM
            0 responses
            5 views
            0 likes
            Last Post bourasrafik  
            Started by benmarkal, Yesterday, 08:44 AM
            1 response
            30 views
            0 likes
            Last Post NinjaTrader_BrandonH  
            Started by somethingcomplex, Yesterday, 10:36 PM
            1 response
            24 views
            0 likes
            Last Post NinjaTrader_BrandonH  
            Working...
            X