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.