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.
    BrettNinjaTrader Product Management

    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

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by charlesugo_1, 05-26-2026, 05:03 PM
            0 responses
            64 views
            0 likes
            Last Post charlesugo_1  
            Started by DannyP96, 05-18-2026, 02:38 PM
            1 response
            149 views
            0 likes
            Last Post NinjaTrader_ChelseaB  
            Started by CarlTrading, 05-11-2026, 05:56 AM
            0 responses
            162 views
            0 likes
            Last Post CarlTrading  
            Started by CarlTrading, 05-10-2026, 08:12 PM
            0 responses
            99 views
            0 likes
            Last Post CarlTrading  
            Started by Hwop38, 05-04-2026, 07:02 PM
            0 responses
            286 views
            0 likes
            Last Post Hwop38
            by Hwop38
             
            Working...
            X