Min qty return

Viewing 4 posts - 1 through 4 (of 4 total)
  • #159801

    Hello – I created a new screener using the assisted ‘Simplified Creation’ and upon running the screener I received a message indicating that my screener returned 4 results but the code entered requires 5. Can anyone help identify the part of the code that defines the qty to return. I’d like to change this to 1.

    #159807

    You should post the code.

     

    #159813

    Sorry, new user and first post. Code below

    • CALL “Pro-Tradingsystem-v3.9″[1, 1, 1.5, 3, 6, 0.35, 1, 1.5, 0, 1, 5000, 1, 0, 1, 1, 1, 1, 1, 0, 0] CROSSES OVER CALL “Pro-Tradingsystem-v3.9″[1, 1, 1.5, 3, 6, 0.35, 1, 1.5, 0, 1, 5000, 1, 0, 1, 1, 1, 1, 1, 0, 0]
    #159815

    CALL cannot be use this way, it can only be used to assign returned values (if any) to variables, it should be:

    but there are three issues:

    1. both lines use the same parameters, hence a crossover will never occur (nothing can cross over itself)
    2. there are so many parameters, make sure they are the correct number required by the indicator (it’s the number of variables used by that indicator)
    3. the two lines above assume one value is returned, but the correct number is those of the values following the instruction RETURN (can be 0 or N).

    Can you post a link to that indicator?

     

     

Viewing 4 posts - 1 through 4 (of 4 total)

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