Problem with CALL from Screener code

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #31862 quote
    Geester
    Participant
    Junior

    Hi there,

    I have added my own %B indicator called “PercentBollinger” that accepts two parameters, “period” and “stdev”. I am trying to CALL PercentBollinger with my Bollinger values but, the compiler complains when attempting to run the screener.

    First way:

    pb = CALL “PercentBollinger”[20, 2]

    Result:

    It says the parenthesis “()” should be used in place of the square brackets. If I then change it to:

    Second Way:

    pb = CALL “PercentBollinger”(20, 2)

    Result:

    ProceScreener complains about character ’32’, line ‘1’ which, is the comma “,” separating the two arguments.

    Any ideas how to call this indicator?

    Thanks.

    #31985 quote
    jonboy3
    Participant
    Junior

    Have you tried it without the comma (i.e. with a space)?

    #32096 quote
    Nicolas
    Keymaster
    Master

    Please take a look at CALL keyword explanation in our online documentation to see how you can resolve your issue: https://www.prorealcode.com/documentation/call/

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

Problem with CALL from Screener code


ProBuilder: Indicators & Custom Tools

New Reply
Author
author-avatar
Geester @geester Participant
Summary

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

Topic Details
Forum: ProBuilder: Indicators & Custom Tools
Language: English
Started: 04/12/2017
Status: Active
Attachments: No files
Logo Logo
Loading...