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

Changing system colours in script

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

    Changing system colours in script

    Hi

    I have a number of members who have Colour Vision Deficiency (colour blindness).

    Is there a way of changing system colours in code e.g. change everything green to blue?

    I have been able to do it using get and set with serialization in parameters i.e. users actually using the colour chart to select the new colours one at a time but am trying to make this changes without human intervention e.g.


    if (bcvd) // if CVD flag is true
    {
    green = blue;
    lightgreen = blue;
    lime = blue;
    etc
    }

    This is in NT7 but I will be converting to NT 8 shortly.

    Thanks
    Last edited by cnecorp; 03-19-2016, 11:07 PM.

    #2
    Hello cnecorp,

    Thank you for your post.

    There is no means to change the overall user interface color scheme or individual colors in NinjaScript. You can however change the Chart colors or SuperDOM for example using templates and then send these templates to those that need them.

    For example in a SuperDOM you can right click > select Properties > and then change the colors. Before selecting OK, select Set Default. The newly create 'default' is saved as an XML document under Documents\NinjaTrader 7\UI.xml.
    The Chart will be saved in it's own template under Documents\NinjaTrader 7\templates\Chart. Data Series options in the chart are saved under Documents\NinjaTrader 7\template\ChartSeries.

    So you could create your own templates for the needed colors and then send those to the users.

    For information on Chart Templates please visit the following link: http://ninjatrader.com/support/helpG..._templates.htm
    Other windows such as SuperDOM and Market Analyzer options can be saved and you can find more information in our Help Guide: http://ninjatrader.com/support/helpGuides/nt7/

    In NinjaTrader 8 you can use the Skins to save overall UI colors: https://ninjatrader.com/support/help...r_own_skin.htm
    NinjaTrader 8 also still offers the features of templates as well.

    Comment


      #3
      Thanks Patrick, sorry for the delay in responding, was down with the flu.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by lightsun47, Today, 03:51 PM
      0 responses
      4 views
      0 likes
      Last Post lightsun47  
      Started by 00nevest, Today, 02:27 PM
      1 response
      8 views
      0 likes
      Last Post 00nevest  
      Started by futtrader, 04-21-2024, 01:50 AM
      4 responses
      44 views
      0 likes
      Last Post futtrader  
      Started by Option Whisperer, Today, 09:55 AM
      1 response
      13 views
      0 likes
      Last Post bltdavid  
      Started by port119, Today, 02:43 PM
      0 responses
      9 views
      0 likes
      Last Post port119
      by port119
       
      Working...
      X