Not defined in code MA,AT and SP

Forums ProRealTime English forum ProBuilder support Not defined in code MA,AT and SP

Viewing 5 posts - 1 through 5 (of 5 total)
  • #215395

    Hi,

     

    I found this post online.https://www.prorealcode.com/prorealtime-indicators/moving-average-angle-stochastic/

    I wanted to implemented the code but got the message that Moving Average Period, Angle Threshold, Sample Period (period used to calculate the signal line) are not defined.

    What do i need to change in code to make it work?

    Thanks

     

    gr Marco

    #215396

    Comment out lines 3-5?

    #215398

    Sorry, i do not understand

     

    #215406

    Line 3-5 without backslash.

    #215453

    Small hint for a next time : Commenting-out means that the code is deactivated by means of making a comment of it. Thus in this PRT case : preceding the code lines with two slashes (not backslashes).

    So what is meant is that those three lines must be activated. Not that that is “commenting-in” that I know of … 🙂
    Remove the slashes.

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

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