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 SalmaTrader, 07-07-2026, 10:26 PM
      0 responses
      38 views
      0 likes
      Last Post SalmaTrader  
      Started by CarlTrading, 07-05-2026, 01:16 PM
      0 responses
      20 views
      0 likes
      Last Post CarlTrading  
      Started by CaptainJack, 06-17-2026, 10:32 AM
      0 responses
      14 views
      0 likes
      Last Post CaptainJack  
      Started by kinfxhk, 06-17-2026, 04:15 AM
      0 responses
      20 views
      0 likes
      Last Post kinfxhk
      by kinfxhk
       
      Started by kinfxhk, 06-17-2026, 04:06 AM
      0 responses
      22 views
      0 likes
      Last Post kinfxhk
      by kinfxhk
       
      Working...
      X