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 cmoran13, 04-16-2026, 01:02 PM
      0 responses
      43 views
      0 likes
      Last Post cmoran13  
      Started by PaulMohn, 04-10-2026, 11:11 AM
      0 responses
      25 views
      0 likes
      Last Post PaulMohn  
      Started by CarlTrading, 03-31-2026, 09:41 PM
      1 response
      162 views
      1 like
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 04-01-2026, 02:41 AM
      0 responses
      98 views
      1 like
      Last Post CarlTrading  
      Started by CaptainJack, 03-31-2026, 11:44 PM
      0 responses
      158 views
      2 likes
      Last Post CaptainJack  
      Working...
      X