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.

    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.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by patrickmlee007, Today, 09:33 AM
        1 response
        6 views
        0 likes
        Last Post NinjaTrader_LuisH  
        Started by Vulgoth_t_Destroyer, 05-09-2022, 04:45 PM
        53 responses
        5,305 views
        0 likes
        Last Post BartMan
        by BartMan
         
        Started by Richozzy38, Today, 01:06 PM
        2 responses
        12 views
        0 likes
        Last Post Richozzy38  
        Started by Lele2k24, Today, 01:32 PM
        4 responses
        10 views
        0 likes
        Last Post Lele2k24  
        Started by Sebastian - TwinPeaks, Today, 01:31 PM
        1 response
        7 views
        0 likes
        Last Post NinjaTrader_Clayton  
        Working...
        X