Creating a % based ATR to use as a volatility filter

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #174866 quote
    borderlineJimborderlineJim
    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
    robertogozzirobertogozzi
    Moderator
    Legend

    There you go:

    Atr  = AverageTrueRange[14](close)
    PerC = Atr * 100 /  close
    RETURN PerC AS "Atr %"
    borderlineJim thanked this post
    #174929 quote
    borderlineJimborderlineJim
    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.
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

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 borderlineJimborderlineJim
5 years, 2 months ago.

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