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 judysamnt7, 03-13-2023, 09:11 AM
            4 responses
            59 views
            0 likes
            Last Post DynamicTest  
            Started by ScottWalsh, Today, 06:52 PM
            4 responses
            36 views
            0 likes
            Last Post ScottWalsh  
            Started by olisav57, Today, 07:39 PM
            0 responses
            7 views
            0 likes
            Last Post olisav57  
            Started by trilliantrader, Today, 03:01 PM
            2 responses
            22 views
            0 likes
            Last Post helpwanted  
            Started by cre8able, Today, 07:24 PM
            0 responses
            10 views
            0 likes
            Last Post cre8able  
            Working...
            X