Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Get Stop and Target from ATM

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

    Get Stop and Target from ATM

    Hi,
    I have an ATM with 10 target and 16 stop but they constantly change to 12-18 or 11-17 on a daily basis.
    Is it possible to get the target and stop from code within the indicator?

    #2
    Hello PWillard,

    Thank you for the post.

    Could you provide more context about the problem and what you are trying to do here?

    You mentioned that you have an ATM but the targets change, are you using an ATM template which has a stop template applied? ATM's have a lot of functionality which relates to moving the targets later after they were submitted. You may just need to adjust the ATM template if you are having difficulty with the targets being priced correctly.

    Using an Indicator you could observe the orders on an account or make changes to orders however if your ATM is controlling those orders then it would not make sense to try and make a separate script to "fight" against the ATM changes. The ATM template should be edited to correct the targets. The alternative would be to use a script to place trades rather than using ATM's, that would let you place orders in whatever way you wanted and apply any logic you wanted to the orders.

    I look forward to being of further assistance.

    Comment


      #3
      I click edit atm every day and set target and stop.
      I would like to know if its possible to read target/stop values from code within the indicator!

      Comment


        #4
        Hello,

        You cannot read the template values but you could observe orders that were submitted from an indicator: https://ninjatrader.com/support/help...ount_class.htm

        Please let me know if I may be of further assistance.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        633 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        364 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        105 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        567 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        568 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X