Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

ATM from script

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

    ATM from script

    Hi Ninja
    I am trying to initiate an ATM strategy from a script without any luck. Below is the code for the action after a long condition is met. The action does not execute. Is there something wrong with this code? There is an ATM template called "ES scale out". I am not sure what the "GetATMStrategyUniqueId()" is. Do I have to put something in there? I have studied the help section on the "Get ATM Strategy" topic but it is lacking in detail. I would really appreciate some help.

    Thanks

    Richard Neal





    AtmStrategyCreate(Action.Buy, OrderType.Limit, 0, 0,
    TimeInForce.Day, GetAtmStrategyUniqueId(), "ES scale out",
    GetAtmStrategyUniqueId());

    #2
    Hi Richard,

    Please see the pre-installed reference sample titled SampleAtmStrategy for an example of how to get it working.
    Josh P.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    108 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    156 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    74 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    125 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    79 views
    0 likes
    Last Post PaulMohn  
    Working...
    X