When I call a user defined function (indicator) from the screener builder and execute the screener I get the message:
“The function “functionx” called from “ScreenerY” must be called with an expressin between parentheses (see “customerclose’ in help for more information).”
(See attached print screen.)
What does this message mean? It appears only for some functions, but I could not find the logic which ones.
Thanks for the guidelines, I will remember it for next time.
Meantime I think I found the issue: When calling a function that uses the constant “Close”, the screener sometime requires that the the function should be called like “Call functionx (Close)”, this is to cater for the various customclose possibilities.
I wish the explanation would be available somewhere, too me quite time to find out…
To help us continually offer you the best experience on ProRealCode, we use cookies. By clicking on "Continue" you are agreeing to our use of them. You can also check our "privacy policy" page for more information.Continue