Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How to make limit order ATM strategy?

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

    How to make limit order ATM strategy?

    Hi there,

    How to make it from code. Can you give me some example please?

    Thanks

    #2
    Hello Revazi123,

    Thanks for your post.

    In your Ninjatrader is an example strategy that demonstrates the code needed to attach an ATM template to a Ninjascript Strategy. The Strategy will find an entry and place an engtry order, when the entry order fills, the control is passed to the selected ATM template and the stops and targets are then controlled by the ATM. You can move the ATM orders while the strategy is running if you wish allowing manual interaction. Once the stop or profit are filled, the ATM is closed and control returns back to the startegy to find the next entry.

    The example strategy is named Sample ATM strategy. You will need to open it in the Ninjascript editor to view its code and read the comments/instructions on how to use/test the sample.

    In addition, you will want to review the ATM methods in the hell guide here: https://ninjatrader.com/support/help...gy_methods.htm

    Please note that an ATM cannot be backtested.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CarlTrading, 03-31-2026, 09:41 PM
    1 response
    81 views
    1 like
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    42 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    64 views
    2 likes
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    66 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    54 views
    0 likes
    Last Post CarlTrading  
    Working...
    X