hiding code in indicator Error message,

Forums ProRealTime English forum ProBuilder support hiding code in indicator Error message,

Viewing 2 posts - 1 through 2 (of 2 total)
  • #135590

    hello all, i haven’t touched on indicators at all so i am not totally familiar with the format,   i am just using it to hide parts of my code,/fixed strategy values, and using the call function to request variables, everything i want to share i have listed

    a=1

    b=2

    and then also put after RETURN a,b,c,d ect

    i keep getting a error message on the indicator when clicking add indicator to chart

    “a positive integer field is expected with []” anytime i have used [] within in the code in my indicator, it has a positive integer inside of it,

    also

    then i go to back test my strategy i get a error “the function “x” called from “x” is called with 20 parameters(s) instead of 0 expected.

    is there and examples posted for a simple call/indicator format example, is there a limit of parameters per indicator?

    sorry i am not sharing the code but that would defeat the point of it lol,

    many thanks

    #135613

    https://www.prorealcode.com/documentation/call/

    If you don’t call your indicator with any parameters in the [ ] then you need to at minimum call it with (close) as a parameter.

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

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