Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Chart Trader ATM order vs NinjaScript order - is there a difference?

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

    Chart Trader ATM order vs NinjaScript order - is there a difference?

    Is there a difference in how NinjaTrader sends orders in through the feed provider when an order is entered, say, via a ninjascript strategy, and when one is entered with a Chart Trader buy/sell with an ATM attached?
    Reason I ask is because when I run strategies that use EnterLong() or short for example, I never see issues.

    However if I'm on-demand entering orders with Buy Mkt/Sell Mkt with an ATM selected (take profit and stop loss), that's the only condition when I see errors or performance issues, such as the lines going orange and bugging out, and unable to close trades from NT and the provider, etc.

    So is there an actual technical difference that could mean the difference in performance? Like is a different path taken by the software when a Strategy enters, versus when the trader manually enters via Chart Trader? is there any possible way that strategy/coded entry could be superior in performance and reliability?

    Click image for larger version  Name:	BuyMktvsEnterLong.png Views:	1 Size:	3.1 KB ID:	1275215

    #2
    Hello MatthewLesko,

    Thanks for your post.

    EnterLong() in NinjaScript would be used to submit a buy market order to enter a long position. This is similar to pressing the 'Buy Mkt' button in Chart Trader.

    Similarly, EnterShort() in NinjaScript would be used to submit a sell market order to enter a short position. This is similar to pressing the 'Sell Mkt' button in Chart Trader.

    When using the Managed Approach in a custom NinjaScript strategy, this approach offers you order methods that are wrapped with an invisible convenience layer that allows you to focus on your system's trading rules leaving the underlying mechanics of order management and the relationships between entry and exit orders and positions to NinjaTrader. The cost for having the convenience layer is that there are order handling rules that must be followed to prevent order errors.

    See this help guide page for more information about Managed Approach: https://ninjatrader.com/support/help...ach.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 argusthome, 03-08-2026, 10:06 AM
    0 responses
    85 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    47 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    29 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    32 views
    0 likes
    Last Post TheRealMorford  
    Started by Mindset, 02-28-2026, 06:16 AM
    0 responses
    67 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X