Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How to get Stop Loss and Take Profit from custom ATM strategy?

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

    How to get Stop Loss and Take Profit from custom ATM strategy?

    I want to get S​top Loss and Take Profit from custom ATM strategy with ChartControl.OwnerChart.ChartTrader.AtmStrategy class. I can get Quantity with this class but I can't get Stop Loss and Profit with this class. Is there any way to get this parameter values?
    Click image for larger version

Name:	image.png
Views:	86
Size:	15.6 KB
ID:	1299252

    #2
    Hello Mykhailo,

    I'm not aware of any way to get these values from a property in a NinjaScript other than reading the xml file with StreamReader and parsing the values out..

    This thread will remain open for any community members that would like to share undocumented and unsupported code or suggestions.
    Chelsea B.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CarlTrading, 03-31-2026, 09:41 PM
    1 response
    43 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    20 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    29 views
    1 like
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    46 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    38 views
    0 likes
    Last Post CarlTrading  
    Working...
    X