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.
    JesseNinjaTrader Customer Service

    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.
        JesseNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Mubeen Haider, Today, 08:11 AM
        0 responses
        4 views
        0 likes
        Last Post Mubeen Haider  
        Started by lismartin, Yesterday, 03:30 PM
        3 responses
        17 views
        0 likes
        Last Post NinjaTrader_Jim  
        Started by RT001, Yesterday, 03:47 PM
        4 responses
        26 views
        0 likes
        Last Post RT001
        by RT001
         
        Started by johnMoss, Yesterday, 10:40 PM
        1 response
        10 views
        0 likes
        Last Post NinjaTrader_Jesse  
        Started by torch2k, Today, 06:24 AM
        2 responses
        11 views
        0 likes
        Last Post torch2k
        by torch2k
         
        Working...
        X