Daily ATR on an hourly chart

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #204267 quote
    TimHTimH
    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
    GraHalGraHal
    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
    TimHTimH
    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.
ProRealAI ProRealAI New

Stuck on this ProBuilder code?

Describe what this topic is trying to build, in plain English, and ProRealAI writes the ProRealTime™ indicator, screener or system for you.

Available in 7 languages
Try ProRealAI

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 TimHTimH
3 years, 10 months ago.

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