Indicator to show unclosed gaps

Forums ProRealTime English forum General trading discussions Indicator to show unclosed gaps

Viewing 6 posts - 1 through 6 (of 6 total)
  • #20152

    Hi, so far I have written a little indicator to show Gaps. But I want already closed gaps not to be shown, only the gaps that are still open.

    Though I find it a bit complicated, anyone any algorithm idea? Thanks in advance, Chris

    #20154

    Hello,

    >> Please update your country flag in your profile. Thank you 🙂 <<

     

    #20162

    Hi Christine.

    There are some Gap screener code in the Screener library that could be useful.

    Perhaps you could share your indicator code- it would be more useful if any suggestion should be made.

    Cheers Kasper

    #20804

    Thanks for the feedback 😉

    Indicator to find open gaps:

    dx = 0.0001gap = 0
    IF Low > High[1] +dx Then
    gap = 1
    IF High <Low[1]+dx then
    gap = -1
    return gap AS “opengaps”

     

    I searched the screener library but I only found screeners that search open gaps, but no tests were made to see if the gap was closed.

    What is the condition for a closed upgap? UPgab between candle A und B. Check if a future candle has a low <high[A]?

    #20873

    Check if a future candle has a low<high[A]

    Yes, this could be a solution, but if a new upgap appears, the information about the old one will be erased and stored with this new gap. Is this a problem?

    #23703

    Thanks for the help!

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

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