• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Chart background color

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

    Chart background color

    Hi, I'm using an ATM strategy via chart trader to enter positions. What i would like is for my chart background color to change depending on the account that is connected to the strategy. For example, if its "SIM101" then chart background is black; if it's my live account, the chart background is dark blue. Since I may have several charts, some Sim and some active, this will help me know which account is active for any given chart. IS there a way I can develop an indicator or strategy that can accomplish this?

    #2
    Hello pman777,

    Thank you for your post.

    There's actually functionality to change the color of the Chart Trader based on whether a live or sim account is selected in Chart Trader for that chart. The color for the live account depends on what skin you're using, but the color for the Sim account may be set under Tools > Options > Trading > Simulation Color.

    However, it would be possible to grab the account selected in Chart Trader from an indicator and then change the chart background color.

    I've attached an example indicator that one of my colleagues created that gets the selected account name and prints it to the Output window. This could be modified to change the chart background if the name matches the name of your live account, or to simply use Draw.TextFixed to print the name in one of the corners of the chart, for example.

    Please let us know if we may be of further assistance to you.
    Attached Files
    Kate W.NinjaTrader Customer Service

    Comment


      #3
      thank you Kate .... that's exactly what I was looking for!

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Z-Starter, Today, 01:21 AM
      1 response
      3 views
      0 likes
      Last Post NinjaTrader_Marco  
      Started by SamuelO, 05-22-2020, 11:58 AM
      7 responses
      61 views
      0 likes
      Last Post guidoisot  
      Started by atman, Today, 12:37 AM
      0 responses
      4 views
      0 likes
      Last Post atman
      by atman
       
      Started by random9570, Yesterday, 09:01 PM
      1 response
      13 views
      0 likes
      Last Post Fulcanelli  
      Started by natngk, Yesterday, 08:28 PM
      1 response
      5 views
      0 likes
      Last Post NinjaTrader_Marco  
      Working...
      X