Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Fix colors

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

    Fix colors

    Hello,

    I have an indicator that sets the colors for lines, arrows, etc with personalized parameters. But when I exit from Ninjatrader and start it again, these colors have been "reset" and their value ir "blank" for all of them.

    How can I fix these values for parameters "type color"?

    Thanks in advance and regards.

    #2
    Hello,

    Thank you for the question.

    If you have created this item, you would need to check that you are serializing your color properties like the example here: http://ninjatrader.com/support/forum...ead.php?t=4977

    In the case you have not created this, I would suggest contacting the developer of the item to check that they are correctly serializing the properties in the script.

    I look forward to being of further assistance.
    JesseNinjaTrader Customer Service

    Comment


      #3
      Thanks, the developer is myself. Your answer is about Ninjatrader 8, but I use Ninjatrader 7. Is it valid too?

      Comment


        #4
        Hello,

        Yes the first post that shows up would be for NT8 but if you scroll down there is one for NT7 as well. Both platforms would share this as C# is unable to serialize complex types.

        here is a direct link to post 1 for NT7 specifically : http://ninjatrader.com/support/forum...38&postcount=1

        I look forward to being of further assistance.
        JesseNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by smartromain, Today, 02:52 AM
        1 response
        21 views
        0 likes
        Last Post NinjaTrader_BrandonH  
        Started by Critical_Catch, Today, 08:35 AM
        1 response
        19 views
        0 likes
        Last Post NinjaTrader_BrandonH  
        Started by ttrader23, Today, 09:33 AM
        1 response
        14 views
        0 likes
        Last Post NinjaTrader_BrandonH  
        Started by HiddenPhilosopher, 05-22-2020, 01:09 AM
        25 responses
        2,699 views
        0 likes
        Last Post Trader17  
        Started by Misplace, Today, 11:55 AM
        1 response
        14 views
        0 likes
        Last Post NinjaTrader_BrandonH  
        Working...
        X