Indicator to show unclosed gaps

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #20152 quote
    Christine ŌwadaChristine Ō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_BywanJC_Bywan
    Moderator
    Master
    Hello,

    >> Please update your country flag in your profile. Thank you šŸ™‚ <<

    #20162 quote
    ElsborgtradingElsborgtrading
    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 ŌwadaChristine Ō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
    NicolasNicolas
    Keymaster
    Legend
    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 ŌwadaChristine Ō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.
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

Indicator to show unclosed gaps


General Trading: Market Analysis & Manual Trading

New Reply
Summary

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

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