14 period ATR Envelope on Price

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #203071 quote
    Mary
    Participant
    Average

    Hello,

    How would you create an indicator on Price Chart  where you want an Envelope to surround your price candles that reflect ATR( 14 period) vertical shift of ATR 10%  Envelope + (10% shift) and Envelope- (10% shift)?

    I want to plot the ATR Indicator you see below in  picture onto Price Chart as an Envelope that shows  calculated value of ATR 10% up and  ATR 10% down.

    In the picture below, the Average True Range is represented (14 period) is represented by dark blue line, Envelop+  is 10%  is orange line and Envelope – 10 % is green line.

    Thank you in advance.

    #203074 quote
    JS
    Participant
    Senior

    Hi @Mary

    Try this:

     

    ATRUp = Close + AverageTrueRange[14](close) * 1.1
    ATRDown = Close - AverageTrueRange[14](Close) * 1.1
    
    Return ATRUP as "AtrUp" Coloured(255,0,0) , ATRDown as "ATRDown" Coloured(0,255,0)
    
    #203107 quote
    Mary
    Participant
    Average

    Thank you so much! It works!

    JS thanked this post
    #203112 quote
    Zigo
    Participant
    Master

    Envelope-ATR exist already in the library.

    Envelope-ATR

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

14 period ATR Envelope on Price


ProBuilder: Indicators & Custom Tools

New Reply
Author
author-avatar
Mary @mila Participant
Summary

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

Topic Details
Forum: ProBuilder: Indicators & Custom Tools
Language: English
Started: 10/26/2022
Status: Active
Attachments: 2 files
Logo Logo
Loading...