Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

how do I capture and modify order information?

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

    how do I capture and modify order information?

    I place orders through the DOM. But I have a variable target and can't place that with an ATM. So I would like to place my order in the DOM, then have a strategy adjust the stop and trail according to rules I have in the strategy. Seems simple but I can't find a starting point for finding info on an open order. Can someone point me in the right direction
    thanks
    mike

    #2
    Hello Mike,

    Thanks for your post.

    NinjaScript strategies can only see orders placed by that specific instance of the strategy and they cannot see manually placed orders.

    The strategy would need to be programmed to place the entry order along with a profit target and trailing stop order. The profit target and trailing stop could then be modified in the strategy according to the conditions you create.

    My colleague Chelsea has created educational examples of strategy builder breakeven and trailing stop in the strategy builder here:
    https://ninjatrader.com/support/foru...der#post806596

    Below is a link to a forum post with helpful information about getting started with NinjaScript.
    https://ninjatrader.com/support/foru...040#post786040

    If you are new to C#, to get a basic foundation for the concepts and syntax used in NinjaScript I would recommend this section of articles in our help guide first:
    https://ninjatrader.com/support/help...g_concepts.htm​​​
    <span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by NullPointStrategies, Today, 05:17 AM
    0 responses
    50 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    126 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    69 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    42 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    46 views
    0 likes
    Last Post TheRealMorford  
    Working...
    X