Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Daily ATR for intra day strategy

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

    Daily ATR for intra day strategy

    Hi:

    What is the easiest way to add a Daily ATR condition to an intraday strategy?

    #2
    Hello,

    Thanks for your forum post.

    Depends on a couple things as theres 2 ways to do this, what chart type will you be running this strategy on?

    Also, what data feed provider are you connected too?

    Have you done any Multi Time Frame Programming yet?

    I look forward to assisting you further.

    Comment


      #3
      1. I am using a 4 or 5 range chart
      2. Interactive Broker
      3. I messed around with the Multi Time Frame Programming but struggled.

      Comment


        #4
        561timw,

        Instead of going off of multi-time frame strategies, you can try grabbing the daily information by using something like PriorDayOHLC(). Using that on each old date and then calculating the ATR off of the information you gather should allow you to bypass the multi-time frame approach.
        Josh P.NinjaTrader Customer Service

        Comment


          #5
          I have used PriorDayOHLC() before but I am not sure I know how to use it in the manner you suggest. How would I tie PriorDayOHLC() to a specific date like 2 days ago or 3 days ago when trading off a range chart?

          Comment


            #6
            You would work with GetBar() to know how much bars to reference back to 'grab' the needed value from the previous days - http://www.ninjatrader.com/support/f...ad.php?t=19176
            BertrandNinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by Javierw.ok, Today, 04:12 PM
            0 responses
            4 views
            0 likes
            Last Post Javierw.ok  
            Started by timmbbo, Today, 08:59 AM
            2 responses
            10 views
            0 likes
            Last Post bltdavid  
            Started by alifarahani, Today, 09:40 AM
            6 responses
            40 views
            0 likes
            Last Post alifarahani  
            Started by Waxavi, Today, 02:10 AM
            1 response
            18 views
            0 likes
            Last Post NinjaTrader_LuisH  
            Started by Kaledus, Today, 01:29 PM
            5 responses
            15 views
            0 likes
            Last Post NinjaTrader_Jesse  
            Working...
            X