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 Jonafare, 12-06-2012, 03:48 PM
          5 responses
          3,986 views
          0 likes
          Last Post rene69851  
          Started by Fitspressorest, Today, 01:38 PM
          0 responses
          2 views
          0 likes
          Last Post Fitspressorest  
          Started by Jonker, Today, 01:19 PM
          0 responses
          2 views
          0 likes
          Last Post Jonker
          by Jonker
           
          Started by futtrader, Today, 01:16 PM
          0 responses
          8 views
          0 likes
          Last Post futtrader  
          Started by Segwin, 05-07-2018, 02:15 PM
          14 responses
          1,792 views
          0 likes
          Last Post aligator  
          Working...
          X