Error msg when calling user functions from screener

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #190016 quote
    avibenun
    Participant
    New

    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.

    PRTErrorMsg.docx
    #190019 quote
    robertogozzi
    Moderator
    Master

    When attaching pics, please use PNG or JPG files only.

    Use PDF files for formatted text and TXT files for plain unformatted  text.

    Thank you 🙂

    You should post the code, to be able to try identify the issue.

    #190028 quote
    avibenun
    Participant
    New

    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…

    robertogozzi thanked this post
Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.

Error msg when calling user functions from screener


ProScreener: Market Scanners & Detection

New Reply
Author
author-avatar
avibenun @avibenun Participant
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by avibenun
4 years ago.

Topic Details
Forum: ProScreener: Market Scanners & Detection
Language: English
Started: 03/15/2022
Status: Active
Attachments: 1 files
Logo Logo
Loading...