Indicator to show unclosed gaps

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #20152 quote
    Christine Ōwada
    Participant
    New

    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 quote
    JC_Bywan
    Moderator
    Master
    Hello,

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

    #20162 quote
    Elsborgtrading
    Participant
    Veteran
    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 quote
    Christine Ōwada
    Participant
    New
    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 quote
    Nicolas
    Keymaster
    Master
    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 quote
    Christine Ōwada
    Participant
    New
    Thanks for the help!
Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.

Indicator to show unclosed gaps


General Trading: Market Analysis & Manual Trading

New Reply
Author
Summary

This topic contains 5 replies,
has 4 voices, and was last updated by Christine Ōwada
9 years ago.

Topic Details
Forum: General Trading: Market Analysis & Manual Trading
Language: English
Started: 01/08/2017
Status: Active
Attachments: No files
Logo Logo
Loading...