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.

    Comment


      #3
      Thanks for the clarification Jim.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by CarlTrading, 03-31-2026, 09:41 PM
      1 response
      37 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 04-01-2026, 02:41 AM
      0 responses
      18 views
      0 likes
      Last Post CarlTrading  
      Started by CaptainJack, 03-31-2026, 11:44 PM
      0 responses
      25 views
      1 like
      Last Post CaptainJack  
      Started by CarlTrading, 03-30-2026, 11:51 AM
      0 responses
      40 views
      0 likes
      Last Post CarlTrading  
      Started by CarlTrading, 03-30-2026, 11:48 AM
      0 responses
      34 views
      0 likes
      Last Post CarlTrading  
      Working...
      X