Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How to capture execution for SetTrailStop entry ...

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

    How to capture execution for SetTrailStop entry ...

    Hello,

    I'm using SetTrailStop to submit a trailing stop from my strategy. My problem is that when the trailing stop is executed, there does not appear to be a callback to OnExecution (i.e. OnExecution does not appear to be called).

    Is there a way to get the execution to callback to OnExecution ?

    Regards

    #2
    csmith87, the Set() methods unfortunately do not generate the need IOrder object returns - however with the ideas presented in this sample here you could capture those and then check their states as well.
    BertrandNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by samish18, Today, 11:26 AM
    0 responses
    1 view
    0 likes
    Last Post samish18  
    Started by Trader146, 03-29-2024, 01:22 PM
    2 responses
    14 views
    0 likes
    Last Post Trader146  
    Started by tsantospinto, 04-12-2024, 07:04 PM
    7 responses
    127 views
    0 likes
    Last Post aligator  
    Started by futtrader, 04-21-2024, 01:50 AM
    5 responses
    56 views
    0 likes
    Last Post NinjaTrader_Eduardo  
    Started by PeakTry, Today, 10:49 AM
    0 responses
    2 views
    0 likes
    Last Post PeakTry
    by PeakTry
     
    Working...
    X