Creating a % based ATR to use as a volatility filter

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #174866 quote
    borderlineJim
    Participant
    Senior

    Hello members! Greetings to everyone

    I am here with another request due to my severely limited coding ability.  I am hoping someone can create a % based ATR that is based on the volatility as a percent of the price.  I hope to use this as a volatility filter across different asset classes.  The standard ATR calculation is not as suitable for this because it is not based on relative price values.

    Any takers?

    Thanks in advance

    Jim

    #174906 quote
    robertogozzi
    Moderator
    Master

    There you go:

    Atr  = AverageTrueRange[14](close)
    PerC = Atr * 100 /  close
    RETURN PerC AS "Atr %"
    borderlineJim thanked this post
    #174929 quote
    borderlineJim
    Participant
    Senior

    thank you Roberto! Greetings from Northern Ireland 🙂

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

Creating a % based ATR to use as a volatility filter


ProBuilder: Indicators & Custom Tools

New Reply
Author
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by borderlineJim
4 years, 6 months ago.

Topic Details
Forum: ProBuilder: Indicators & Custom Tools
Language: English
Started: 08/07/2021
Status: Active
Attachments: No files
Logo Logo
Loading...