Crossover vs Greater

Forums ProRealTime English forum ProBuilder support Crossover vs Greater

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

    Can someone explain why am I getting different results? There are other conditions too but they should not affect this result.

    • First picture is based on if k crosses over d.
    • Second picture is based on  if k > d.
    #55313

    A crosses over or under implies that the crosses is done (previous bar, the indicator k was below d and current bar k is over d), while k>d is only a simple comparison on the same bar of these 2 values.

    #55323

    I know but this does not explain this particular case. Plz read the question again and look at the pictures. The second strategy must buy at exactly the same bar as first strategy. (If k has crossed over d it means k > d)

    #55325

    Without checking the code, I can’t help more sorry 😐 Did you check all other conditions? Did you made GRAPH of k and d variables to check if they are exactly the same as the 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