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 NullPointStrategies, 03-13-2026, 05:17 AM
    0 responses
    93 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    152 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    80 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    53 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    64 views
    0 likes
    Last Post TheRealMorford  
    Working...
    X