EMA value discrepancy between preset indicator and code

Forums ProRealTime English forum ProOrder support EMA value discrepancy between preset indicator and code

Currently, there are 0 users and 1 guest visiting this topic.
View all attachments
Viewing 2 posts - 1 through 2 (of 2 total)
  • #192047 Report

    Please help to solve the issue.

    I use the following code to graph EMA12, EMA144 and EMA169, it shows that the value of EMA12 is exactly the value with the default indicator in the PRT system (as shown in the attached jpg). However, there are discrepancy for EMA 144 and EMA169, so which one is the correct one?

     

    Attachments:
    #192049 Report

    I think it’s a rounding issue between ProOrder and ProBuilder; the longer the periods, the (slightly) higher the difference.

    Bear in mind that prices are plotted with only 1 decimal digit, while EMAs show more; if you only consider one decimal digit then they are identical.

    Such slightly differences do not usually affect operations.

     

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