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 kujista, Today, 05:44 AM
      3 responses
      13 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by samish18, Yesterday, 08:57 AM
      9 responses
      27 views
      0 likes
      Last Post NinjaTrader_BrandonH  
      Started by samish18, Today, 08:31 AM
      0 responses
      0 views
      0 likes
      Last Post samish18  
      Started by RookieTrader, Today, 07:41 AM
      2 responses
      8 views
      0 likes
      Last Post RookieTrader  
      Started by trilliantrader, Today, 08:16 AM
      0 responses
      3 views
      0 likes
      Last Post trilliantrader  
      Working...
      X