Candle Stick Range Indicator

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

    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.
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

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 robertogozzirobertogozzi
6 years, 10 months ago.

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