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 trilliantrader, 04-18-2024, 08:16 AM
        4 responses
        18 views
        0 likes
        Last Post trilliantrader  
        Started by mgco4you, Today, 09:46 PM
        1 response
        7 views
        0 likes
        Last Post NinjaTrader_Manfred  
        Started by wzgy0920, Today, 09:53 PM
        0 responses
        9 views
        0 likes
        Last Post wzgy0920  
        Started by Rapine Heihei, Today, 08:19 PM
        1 response
        10 views
        0 likes
        Last Post NinjaTrader_Manfred  
        Started by Rapine Heihei, Today, 08:25 PM
        0 responses
        10 views
        0 likes
        Last Post Rapine Heihei  
        Working...
        X