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 Belfortbucks, Today, 09:29 PM
        0 responses
        6 views
        0 likes
        Last Post Belfortbucks  
        Started by zstheorist, Today, 07:52 PM
        0 responses
        7 views
        0 likes
        Last Post zstheorist  
        Started by pmachiraju, 11-01-2023, 04:46 AM
        8 responses
        151 views
        0 likes
        Last Post rehmans
        by rehmans
         
        Started by mattbsea, Today, 05:44 PM
        0 responses
        6 views
        0 likes
        Last Post mattbsea  
        Started by RideMe, 04-07-2024, 04:54 PM
        6 responses
        33 views
        0 likes
        Last Post RideMe
        by RideMe
         
        Working...
        X