Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How to get current trail stop on multiple orders

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

    How to get current trail stop on multiple orders

    My strategy places multiple orders for the same instrument so that I can scale up/down my position depending upon conditions. Each of these individual orders has their own trailing stop loss with are simulated on my local machine (e.g. simulated = true)

    I would like to have my strategy calculate my unrealized PNL exposure based on the current values of each of the trailing stop losses (which are constantly ammended by NT). Each of my orders has order has a unique entry signal name. How do I get the current stop loss value of each order? I see that this thread (link below) is frequently referenced, but it does not really deal with uniquely identifying the trail stops of individual orders as far as I can tell.

    I am sure that there must be something that I am overlooking. I would appreciate any advice.


    #2
    I figured it out. I didn't see that order.FromEntrySignal was available.

    Thanks

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by charlesugo_1, 05-26-2026, 05:03 PM
    0 responses
    64 views
    0 likes
    Last Post charlesugo_1  
    Started by DannyP96, 05-18-2026, 02:38 PM
    1 response
    149 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    162 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 05-10-2026, 08:12 PM
    0 responses
    99 views
    0 likes
    Last Post CarlTrading  
    Started by Hwop38, 05-04-2026, 07:02 PM
    0 responses
    286 views
    0 likes
    Last Post Hwop38
    by Hwop38
     
    Working...
    X