Problem with CALL from Screener code

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #31862 quote
    GeesterGeester
    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
    jonboy3jonboy3
    Participant
    Junior

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

    #32096 quote
    NicolasNicolas
    Keymaster
    Legend

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

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 NicolasNicolas
9 years, 5 months ago.

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