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 Hwop38, 05-04-2026, 07:02 PM
      0 responses
      154 views
      0 likes
      Last Post Hwop38
      by Hwop38
       
      Started by CaptainJack, 04-24-2026, 11:07 PM
      0 responses
      306 views
      0 likes
      Last Post CaptainJack  
      Started by Mindset, 04-21-2026, 06:46 AM
      0 responses
      244 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by M4ndoo, 04-20-2026, 05:21 PM
      0 responses
      345 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by M4ndoo, 04-19-2026, 05:54 PM
      0 responses
      176 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Working...
      X