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 Touch-Ups, Today, 10:36 AM
          0 responses
          5 views
          0 likes
          Last Post Touch-Ups  
          Started by geddyisodin, 04-25-2024, 05:20 AM
          8 responses
          61 views
          0 likes
          Last Post NinjaTrader_Gaby  
          Started by jxs_xrj, 01-12-2020, 09:49 AM
          4 responses
          3,289 views
          1 like
          Last Post jgualdronc  
          Started by Option Whisperer, Today, 09:55 AM
          0 responses
          5 views
          0 likes
          Last Post Option Whisperer  
          Started by halgo_boulder, 04-20-2024, 08:44 AM
          2 responses
          24 views
          0 likes
          Last Post halgo_boulder  
          Working...
          X