Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Colors disappear

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

    Colors disappear

    I converted an indicator from TradeStation to Ninja. It seems to work OK except that every time I re-open the chart (via template or on a new day), the Upcolor/Dncolor 'colors' disappear. I go back into the Indicator, find the appropriate boxes in "Parameters", reset the colors....and they work fine until I shut down Ninja or create another chart from the template; at which point the colors are gone again. Not sure what I've done wrong.
    Field names are 'Upcolor" and "Dncolor'....
    I attached a .txt file with the code.

    Any clues are appreciated!!!!

    (Oh yes....this indicator reloads VERY SLOWLY in NT7 any time I modify a setting. The chart takes forever to reload after hitting "OK". Does not behave that way in NT6.5)

    Thanks in advance for the help......
    Attached Files

    #2
    Hi photog53,

    You likely need to add a Serialization to the custom colors.

    Details at - http://www.ninjatrader.com/support/f...ead.php?t=4977

    After adjusting the code, can you confirm that all settings, such as interval and days back are the same for loading on NT7.
    TimNinjaTrader Customer Service

    Comment


      #3
      Thanks!!!...
      (making the changes now....will re-test and see how they work)

      Comment

      Latest Posts

      Collapse

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