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:	84
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 NullPointStrategies, Yesterday, 05:17 AM
    0 responses
    63 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    139 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    75 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    45 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    50 views
    0 likes
    Last Post TheRealMorford  
    Working...
    X