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.
Have you tried it without the comma (i.e. with a space)?
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/