ATR as a percentage of the close price

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #215922 quote
    marco7630marco7630
    Participant
    New

    Hello,

     

    I would like to see the ATR as a percentage of the close price. Is that possible as an indicator?

     

    gr Marco

    #215924 quote
    JC_BywanJC_Bywan
    Moderator
    Master

    Hi,

    myatr=AverageTrueRange[14](close)

    myatrpct=myatr/close*100

    return myatrpct

    #215925 quote
    marco7630marco7630
    Participant
    New

    Thanks. And how do i add this as an indicator?

    #215926 quote
    marco7630marco7630
    Participant
    New

    found it already

Viewing 4 posts - 1 through 4 (of 4 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

ATR as a percentage of the close price


ProBuilder: Indicators & Custom Tools

New Reply
Author
author-avatar
marco7630 @marco7630 Participant
Summary

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

Topic Details
Forum: ProBuilder: Indicators & Custom Tools
Language: English
Started: 06/09/2023
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...