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 rtwave, 04-12-2024, 09:30 AM
          4 responses
          29 views
          0 likes
          Last Post rtwave
          by rtwave
           
          Started by yertle, Yesterday, 08:38 AM
          7 responses
          28 views
          0 likes
          Last Post yertle
          by yertle
           
          Started by bmartz, 03-12-2024, 06:12 AM
          2 responses
          21 views
          0 likes
          Last Post bmartz
          by bmartz
           
          Started by funk10101, Today, 12:02 AM
          0 responses
          6 views
          0 likes
          Last Post funk10101  
          Started by gravdigaz6, Yesterday, 11:40 PM
          1 response
          9 views
          0 likes
          Last Post NinjaTrader_Manfred  
          Working...
          X