• 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

Set the chartrader off or set global simulation mode

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

    Set the chartrader off or set global simulation mode

    Hello Ninjas

    there are any way to disable the chartrader ? or set on the global simulation mode?

    I am working on add-on that is monitoring the account status and will be disable the charttrader or force global simulation mode if a part of the logic being true.

    I will be appreciated much any help on the matter.

    best regards

    Daniel Rpo

    #2
    Hello Jackrpo,

    Thank you for the question.

    There would not be any specific NinjaScript features for disabling items like this, this is generally not suggested as the user should always remain in control of their platform. Changing to simulation mode based on logic could potentially put the user in a problematic situation in case they needed to manage the account or if an error occurred with the addon.

    The general suggestion when it comes to controlling what the user can or cannot do would be to create your own window with your own buttons/actions. In that window you could fully control those items as you want, this still allows the user to manage their account in case something with your tool goes wrong. You may be able to affect other controls in the platform by using general WPF means to disable/enable them however this would not be suggested.



    I look forward to being of further assistance.
    JesseNinjaTrader Customer Service

    Comment


      #3
      Thank You Jesse

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by lakman184, Today, 05:41 AM
      1 response
      12 views
      0 likes
      Last Post NinjaTrader_ChrisL  
      Started by U0000999, Today, 05:44 AM
      1 response
      11 views
      0 likes
      Last Post NinjaTrader_ShawnB  
      Started by Teebone21, Today, 10:38 AM
      2 responses
      9 views
      0 likes
      Last Post Teebone21  
      Started by futurestrader7, Today, 11:31 AM
      0 responses
      3 views
      0 likes
      Last Post futurestrader7  
      Started by J_o_s, 03-30-2020, 12:29 AM
      2 responses
      16 views
      0 likes
      Last Post J_o_s
      by J_o_s
       
      Working...
      X