Problem with CALL from Screener code

Forums ProRealTime English forum ProBuilder support Problem with CALL from Screener code

Viewing 3 posts - 1 through 3 (of 3 total)
  • #31862

    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

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

    #32096

    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)

Create your free account now and post your request to benefit from the help of the community
Register or Login