Exponential average error in indicator?

Forums ProRealTime English forum ProBuilder support Exponential average error in indicator?

This topic contains 14 replies, has 4 voices, and was last updated by avatar Vonasi 3 seconds ago.

View all attachments
Viewing 15 posts - 1 through 15 (of 15 total)
  • #111612

    Hi all,

    I took this indicator from a purchased book, but unfortunately in compiling it gives me an error .. I tried various ways to solve the error, but I can’t understand what’s wrong with this code.

    In particular I think I have identified the error in the ExponentialAverage.. I tried to pass “nn” after a Round function thinking it could be a problem with the format of the numbers, but nothing.

    The code according to the author of the book must work, he also inserted several examples of graphs with this indicator .. but it doesn’t go..

     

     

    #111626

    Use more meaningful titles when creating a new topic. Thank you 🙂

    What error is reported? you can attach a picture of the error message.

    #111630

    Use pp = 20 (default value for STD) and the Indicator appears to work, but appears to follow Price profile??

    Attachments:
    #111633

    PP must be defined or assigned a value, as suggested by GraHal.

    You should use the value recommended in the book where you read it.

    1 user thanked author for this post.
    #111636

    PP is an exterval value set to 17,

    however now I have done other tests by setting both internal and external PP, even at 20, but it continues to always give me the same error

     

    Attachments:
    #111638

    Use pp = 20 (default value for STD) and the Indicator appears to work, but appears to follow Price profile??

    SigmaSignal = STD[20](Signal)
    SigmaNoise = STD[20](Noise)

    Hi, I set it directly in the function, but I have the same error..

    Prorealtime v.11.1 – 1.8.0_45

    #111641

    I have not used v11 so far. I don’t know what that error is.

    #111642

    Do you know if Nicolas is using the v 11? Maybe he knows this problem ..

    #111645

    Are you using (17) or correctly [17] … square brackets are needed??

    #111646

    [17]..

    this is the last tested with the same error

     

    #111648

    Above code works fine on v10.3 … I just ran it on my Platform

    #111649

    strange.. can you send me a picture with it attached to  micro SP500 future.. around last 50 bars? I need of it for testing reason.. this is a step of a more complex indicator.

    on M1 (minute) time frame..

    Thanks

    #111650

    I cant see micro SP500 future. as an option, but is this any good?

    Attached is what I see as Options for SPTRD

    Attachments:
    #111653

    US500 (50$) dec19 is fine for me if you can..

    #111654

    Line 14 means that you could be looking for an average with a period of zero which will give an error. Change it to:

     

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

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