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 AaronKoRn, Today, 09:49 PM
          0 responses
          6 views
          0 likes
          Last Post AaronKoRn  
          Started by carnitron, Today, 08:42 PM
          0 responses
          9 views
          0 likes
          Last Post carnitron  
          Started by strategist007, Today, 07:51 PM
          0 responses
          10 views
          0 likes
          Last Post strategist007  
          Started by StockTrader88, 03-06-2021, 08:58 AM
          44 responses
          3,977 views
          3 likes
          Last Post jhudas88  
          Started by rbeckmann05, Today, 06:48 PM
          0 responses
          9 views
          0 likes
          Last Post rbeckmann05  
          Working...
          X