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 alexstox, 10-16-2018, 03:29 PM
        11 responses
        343 views
        0 likes
        Last Post aligator  
        Started by ageeholdings, 05-01-2024, 05:22 AM
        6 responses
        44 views
        0 likes
        Last Post ageeholdings  
        Started by tony_28217, Today, 07:04 PM
        0 responses
        11 views
        0 likes
        Last Post tony_28217  
        Started by flybuzz, Today, 10:33 AM
        1 response
        9 views
        0 likes
        Last Post flybuzz
        by flybuzz
         
        Started by spencerp92, 10-10-2023, 09:56 AM
        4 responses
        312 views
        0 likes
        Last Post flybuzz
        by flybuzz
         
        Working...
        X