Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Using ATM in Indicator

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

    Using ATM in Indicator

    Hi,

    is it possible to access values such as target, stop etc from the currently selected ATM from within my indicator?

    Thanks,
    Will.

    #2
    Hello dontpanic,

    It is not possible to get the stop or limit amounts of an active target or stop loss in an ATM Strategy that is being run with the ATM Strategy Methods.

    You can find out what price it fills with using GetAtmStrategyStopTargetOrderStatus() but you cannot get the limit or stop amounts.

    http://www.ninjatrader.com/support/h...gy_methods.htm
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Ok, thanks.

      Can you tell me how, on my range chart, to get the size of the range bars? For example if my chart is a 6 range, how do I get the 6 value?

      Thanks.

      Comment


        #4
        Hello dontpanic,

        Thank you for your response.

        You can use BarsPeriod.Value to pull the value of the BarsPeriod. For information on BarsPeriod please visit the following link: http://www.ninjatrader.com/support/h...barsperiod.htm

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

        Comment


          #5
          Thanks Patrick, that works.

          The help file may be in need of an update, it doesn't mention the parameter value for Range bars, but it does work.

          Will

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by argusthome, 03-08-2026, 10:06 AM
          0 responses
          83 views
          0 likes
          Last Post argusthome  
          Started by NabilKhattabi, 03-06-2026, 11:18 AM
          0 responses
          47 views
          0 likes
          Last Post NabilKhattabi  
          Started by Deep42, 03-06-2026, 12:28 AM
          0 responses
          29 views
          0 likes
          Last Post Deep42
          by Deep42
           
          Started by TheRealMorford, 03-05-2026, 06:15 PM
          0 responses
          32 views
          0 likes
          Last Post TheRealMorford  
          Started by Mindset, 02-28-2026, 06:16 AM
          0 responses
          66 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Working...
          X