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 bortz, 11-06-2023, 08:04 AM
      47 responses
      1,610 views
      0 likes
      Last Post aligator  
      Started by jaybedreamin, Today, 05:56 PM
      0 responses
      9 views
      0 likes
      Last Post jaybedreamin  
      Started by DJ888, 04-16-2024, 06:09 PM
      6 responses
      19 views
      0 likes
      Last Post DJ888
      by DJ888
       
      Started by Jon17, Today, 04:33 PM
      0 responses
      6 views
      0 likes
      Last Post Jon17
      by Jon17
       
      Started by Javierw.ok, Today, 04:12 PM
      0 responses
      16 views
      0 likes
      Last Post Javierw.ok  
      Working...
      X