Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Linking with ATM strategy

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

    Linking with ATM strategy

    Hi everyone! I developed a strategy which works on open position, and now I need to somehow link it with ATM strategy. Every time my strategy opens position, ATM strategy creates stop loss and take profit for it.

    Please tell me how to do it.

    #2
    Hello AntonTymoshchuk.

    Thanks for your post.

    To have a strategy work with an ATM you will need to code your strategy using the special ninjascript ATM methods found here: https://ninjatrader.com/support/help...gy_methods.htm

    In addition, you can review the example strategy SampleATMstrategy in your NinjaTrader which uses and demonstrates these methods. The code is commented to further assist in understanding its use and is a good place to start.

    Please note that this does not work with Strategy Builder created strategies as there is no linkage between the strategy builder and ATM strategies. If you are using the strategy builder you could "unlock" the existing strategy builder strategy to then modify the code by adding in the ATM strategy methods, however once unlocked the strategy could no longer be opened in the strategy builder.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    90 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    137 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    68 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    120 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    71 views
    0 likes
    Last Post PaulMohn  
    Working...
    X