Candle Stick Range Indicator

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #112796 quote
    RiaanvN
    Participant
    Average

    Hello, I need some assistance please?

    I wish to use a candle stick range indicator instead of ATR. See attached.

    AverageRange=average[r][Range]
    
    return Averagerange as "Average Candle Range"

    Very basic, very simple. However I keep on receiving attached error message. What am I doing wrong?

    Cheers, Riaan

    Error-msg.png Error-msg.png
    #112803 quote
    robertogozzi
    Moderator
    Master

    Becaus r has no value. Either add a line before line 1 reading:

    r = 10   //or whatever integer nunber > 0

    or add it as a variable of the indicator (so that it appears in its properties).

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

Candle Stick Range Indicator


ProBuilder: Indicators & Custom Tools

New Reply
Author
author-avatar
RiaanvN @riaanvn Participant
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by robertogozzi
6 years, 3 months ago.

Topic Details
Forum: ProBuilder: Indicators & Custom Tools
Language: English
Started: 11/14/2019
Status: Active
Attachments: 1 files
Logo Logo
Loading...