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 GLFX005, Today, 03:23 AM
            0 responses
            1 view
            0 likes
            Last Post GLFX005
            by GLFX005
             
            Started by XXtrader, Yesterday, 11:30 PM
            2 responses
            11 views
            0 likes
            Last Post XXtrader  
            Started by Waxavi, Today, 02:10 AM
            0 responses
            6 views
            0 likes
            Last Post Waxavi
            by Waxavi
             
            Started by TradeForge, Today, 02:09 AM
            0 responses
            12 views
            0 likes
            Last Post TradeForge  
            Started by Waxavi, Today, 02:00 AM
            0 responses
            2 views
            0 likes
            Last Post Waxavi
            by Waxavi
             
            Working...
            X