Daily ATR on an hourly chart

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #204267 quote
    TimH
    Participant
    New

    Hi,
    Is there a way I can get Average True Range to operate on a different period to the chart?

    I am coding a system that will run on an hourly chart but want the daily ATR for my position size calculations.

    Thanks, Tim.

    #204269 quote
    GraHal
    Participant
    Master

    Does it work if you use …

    Timeframe (Daily, updateonclose)

    myATR = AverageTrueRange[14](close)

    Timeframe (1 Hour, updateonclose)

    If myATR > xx and C1 Then
    Buy at Market
    Endif

    #204270 quote
    TimH
    Participant
    New

    Yes, I think that’s worked! Thank you so much.

    GraHal thanked this post
Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.

Daily ATR on an hourly chart


ProOrder: Automated Strategies & Backtesting

New Reply
Author
author-avatar
TimH @timh Participant
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by TimH
3 years, 3 months ago.

Topic Details
Forum: ProOrder: Automated Strategies & Backtesting
Language: English
Started: 11/16/2022
Status: Active
Attachments: No files
Logo Logo
Loading...