Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Retrieving ATM STOP1 value

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

    Retrieving ATM STOP1 value

    Is there a method to determine the actual value of STOP1,or (2)(3), in an ATM Strategy? The entry is initiated in script so I have the uniqueID for the strategy and entry order. I would like to know at what price the stop is set to at any point in time.

    Snap

    #2
    Hello Snap,

    You may view the actual value of the Stop orders inside of the OnExecution() methods by checking the Name of the order.

    For Example:
    Code:
    protected override void OnExecution(IExecution execution)
    {
    	Print("Order Execution : "+execution.Name);
    	Print("Order Price: "+execution.Price);
    }
    Here is a link to our Help Guide on OnExecution() that you may view.
    JCNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by argusthome, Yesterday, 10:06 AM
    0 responses
    17 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    16 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    14 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    9 views
    0 likes
    Last Post TheRealMorford  
    Started by Mindset, 02-28-2026, 06:16 AM
    0 responses
    38 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X