Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

ApplyDefaultValue

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

    ApplyDefaultValue

    Hi,

    The ApplyDefaultValue() method in BarsTypes doesn't update the property grid. In order to see the new default value you need to preset and restore the bar type settings, or cycle through to a different bar type and return back to your desired bar type. Is there a way to force refresh the property grid so the settings made in ApplyDefaultValue() become visible in the property when a new chart using that bar type is being created?

    #2
    Hello Zeos6,

    Thanks for your post.

    There is not a supported way to do this. From an end user standpoint, the default values would not be modified so the end user would not have to take these steps. From a development standpoint, defaults could be programmed initially and you may test with your own values in the Data Series window. You may then set your final values in ApplyDefaultValue() when you are finished testing.

    If restoring the preset is an inconvenience for loading new values as you are developing, I would recommend taking the approach described above.

    Please let us know if we can be of further assistance.
    JimNinjaTrader Customer Service

    Comment


      #3
      Thanks for the clarification Jim.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by mattbsea, Today, 05:44 PM
      0 responses
      4 views
      0 likes
      Last Post mattbsea  
      Started by RideMe, 04-07-2024, 04:54 PM
      6 responses
      31 views
      0 likes
      Last Post RideMe
      by RideMe
       
      Started by tkaboris, Today, 05:13 PM
      0 responses
      2 views
      0 likes
      Last Post tkaboris  
      Started by GussJ, 03-04-2020, 03:11 PM
      16 responses
      3,282 views
      0 likes
      Last Post Leafcutter  
      Started by WHICKED, Today, 12:45 PM
      2 responses
      20 views
      0 likes
      Last Post WHICKED
      by WHICKED
       
      Working...
      X