Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Serialize DashStyle

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

    Serialize DashStyle

    When I save the Workspace the selection for the DashStyle is not saved. It works as I can change the DashStyle,

    What am I missing?

    #region Variables
    private DashStyle rangeLineStyle = DashStyle.Solid;
    #endregion

    protected override void OnBarUpdate()
    {

    DrawRay("Range", false, barsAgo, High[0], 0, High[0] , rangeLineColor, rangeLineStyle, rangeLineWidth);

    }


    #region Properties

    [Description("Range LineStyle")]
    [GridCategory("Visuals")]
    [Gui.Design.DisplayNameAttribute("Range Line Style")]
    public DashStyle RangeLineStyle
    {
    get { return rangeLineStyle; }
    set { rangeLineStyle = value; }
    }


    #endregion


    Thanks.

    #2
    TAJTrades, this is a bug which will be fixed with Beta 17 - thanks for reporting in.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CaptainJack, 05-29-2026, 05:09 AM
    0 responses
    265 views
    0 likes
    Last Post CaptainJack  
    Started by CaptainJack, 05-29-2026, 12:02 AM
    0 responses
    169 views
    0 likes
    Last Post CaptainJack  
    Started by charlesugo_1, 05-26-2026, 05:03 PM
    0 responses
    171 views
    1 like
    Last Post charlesugo_1  
    Started by DannyP96, 05-18-2026, 02:38 PM
    1 response
    259 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    210 views
    0 likes
    Last Post CarlTrading  
    Working...
    X