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 CarlTrading, 03-31-2026, 09:41 PM
    1 response
    43 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    20 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    29 views
    1 like
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    46 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    38 views
    0 likes
    Last Post CarlTrading  
    Working...
    X