Crossover vs Greater

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #55305 quote
    MansoorMansoor
    Participant
    Average

    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.
    S-2017-12-11-at-15.29.46-.png S-2017-12-11-at-15.29.46-.png S-2017-12-11-at-15.30.17-.png S-2017-12-11-at-15.30.17-.png
    #55313 quote
    NicolasNicolas
    Keymaster
    Legend

    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 quote
    MansoorMansoor
    Participant
    Average

    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 quote
    NicolasNicolas
    Keymaster
    Legend

    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)
  • You must be logged in to reply to this topic.
ProRealAI ProRealAI New

Stuck on this ProBuilder code?

Describe what this topic is trying to build, in plain English, and ProRealAI writes the ProRealTimeā„¢ indicator, screener or system for you.

Available in 7 languages
Try ProRealAI

Crossover vs Greater


ProBuilder: Indicators & Custom Tools

New Reply
Author
author-avatar
Mansoor @mansoor Participant
Summary

This topic contains 3 replies,
has 2 voices, and was last updated by NicolasNicolas
8 years, 9 months ago.

Topic Details
Forum: ProBuilder: Indicators & Custom Tools
Language: English
Started: 12/11/2017
Status: Active
Attachments: 2 files
ProRealCode ProRealCode
Loading...