Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Cancel chart trader button click

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

    Cancel chart trader button click

    Hi,

    Is there a way to Cancel a chart trader button click?

    I can add an additional event to the button click to check my own rules for entering a trade and that works fine, but how to cancel the original click of the button if the rules are not met without affecting normal operation? I know you can cancel click events of buttons, but in this case, I'm not sure the original event can/should be overridden? I'd like to use the original buttons, rather than adding more buttons, if possible.

    Thanks for any pointers.

    #2
    Hello pjsmith,

    Thanks for your post.

    As we would not own the original event method for submitting orders in Chart Trader and cannot unsubscribe that method from the click event, I would suggest removing the button from the grid and replacing it with your own button that uses your own click event.

    Let me know if you are having trouble setting something like that up.
    Last edited by NinjaTrader_Jim; 11-16-2021, 08:30 AM.

    Comment


      #3
      An idea I'd not thought of yet! Thank you. Sounds like a reasonable solution.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Geovanny Suaza, 02-11-2026, 06:32 PM
      0 responses
      558 views
      0 likes
      Last Post Geovanny Suaza  
      Started by Geovanny Suaza, 02-11-2026, 05:51 PM
      0 responses
      324 views
      1 like
      Last Post Geovanny Suaza  
      Started by Mindset, 02-09-2026, 11:44 AM
      0 responses
      101 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by Geovanny Suaza, 02-02-2026, 12:30 PM
      0 responses
      545 views
      1 like
      Last Post Geovanny Suaza  
      Started by RFrosty, 01-28-2026, 06:49 PM
      0 responses
      547 views
      1 like
      Last Post RFrosty
      by RFrosty
       
      Working...
      X