• 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

Restore Chart Defaults

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

    Restore Chart Defaults

    Is there a simple way to programatically restore chart defaults? Or must it be done item-by-item for each of the properties that were changed?

    Thank you.

    #2
    Hello ivb73077,

    Thank you for your post.

    There is not a way to do this through NinjaScript in a supported manner. I am only aware of doing this manually and then select Set Default.
    Patrick H.NinjaTrader Customer Service

    Comment


      #3
      Thank you for the quick reply.

      I know how to manually adjust the Bar Width and Bar Spacing, as well as how to control these via my code. I do not, however, know the default values of these two parameters. Is there a way to obtain the default values so that I may reset the chart defaults?

      Comment


        #4
        Hello ivb73077,

        I am not aware of a means to grab the default value. If it has been changed it will be the value that is produced.
        Patrick H.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by jerblaster23, Today, 03:42 PM
        1 response
        4 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by brian meade, Today, 01:39 PM
        1 response
        4 views
        0 likes
        Last Post NinjaTrader_PaulH  
        Started by Johnny Santiago, Today, 12:20 PM
        1 response
        5 views
        0 likes
        Last Post NinjaTrader_ChrisL  
        Started by NinjaTrader_Brandon, Today, 10:24 AM
        0 responses
        52 views
        0 likes
        Last Post NinjaTrader_Brandon  
        Started by ptertich, Today, 07:56 AM
        2 responses
        15 views
        0 likes
        Last Post Johnny Santiago  
        Working...
        X