Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Indicator not saving onto a chart template or workspace.

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

    Indicator not saving onto a chart template or workspace.

    The attached Ergodic NT8 indicator converted from its NT7 version, successfully compiled but does not load onto a template or workspace ... it just disappears from templates and workspaces when saved in a chart template and workspace. Please, help resolve this issue.

    Lolu

    ErgodicHist.cs

    #2
    Hi omololu, thanks for your post.

    The brush properties used in your script need to be serialized so they can be saved to the workspace. See this help guide section on the process:



    e.g.
    Code:
    [XmlIgnore]
    public Brush MyBrush { get; set; }
    
    [Browsable(false)]
    public string MyBrushSerialize
    {
      get { return Serialize.BrushToString(MyBrush); }
      set { MyBrush = Serialize.StringToBrush(value); }
    }
    Please let me know if this does not resolve your inquiry.

    Comment


      #3
      Thanks, Chris. Could you please just modify my attached ErgodicHist indicator and send to me by PM.

      Regards.

      Omololu
      Last edited by omololu; 12-18-2019, 07:35 AM.

      Comment


        #4
        Hello omololu,

        Unfortunately, in the support department at NinjaTrader it is against our policy to create, debug, or modify, code or logic for our clients. This is so that we can maintain a high level of service for all of our clients as well as our partners.

        That said, I am happy to answer any questions you may have about NinjaScript if you decide to code this yourself.

        This thread will remain open for any community members that would like to make these modifications as a convenience for you.

        You can also contact a professional NinjaScript Consultant who would be eager to create or modify this script at your request or assist you with your script. The NinjaTrader Ecosystem has affiliate contacts who provide educational as well as consulting services. Please let me know if you would like our business development follow up with you with a list of affiliate consultants who would be happy to create this script or any others at your request.


        If you do decide to make these change, please let us know if we may assist with any compile errors or issues that arise.
        Chelsea B.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

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