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 NullPointStrategies, Today, 05:17 AM
    0 responses
    52 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    130 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    70 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    43 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    47 views
    0 likes
    Last Post TheRealMorford  
    Working...
    X