3in1 Gap Meter

3in1 Gap Meter

This indicator provides a way to track 3 different types of Gaps along with actively tracking how far away the price is from closing them. Open gaps to the upside are represented as positive bars and gaps to the downside as negative bars.

The Gap types are as follow:

  1. Daily Gaps – Unclosed range between market closing price and market open price
  2. Intraday Gaps – Unclosed range between the top and bottom shadows of two consecutive candles
  3. Brooks Gaps – Unclosed range between the top and bottom of every second candle

The gap type can be manually switched using the GapType parameter.

The code looks as follow:

Share this

Risk disclosure:

No information on this site is investment advice or a solicitation to buy or sell any financial instrument. Past performance is not indicative of future results. Trading may expose you to risk of loss greater than your deposits and is only suitable for experienced investors who have sufficient financial means to bear such risk.

ProRealTime ITF files and other attachments : How to import ITF files into ProRealTime platform?

New! PRC is also now on YouTube, subscribe to our channel for exclusive content and tutorials

Register or


avatar avatar avatar avatar
Related users ' posts
ckat55 Thank you Nicolas, is there any way that an alert can be set for when the dot appears?
Nicolas yes, change the last line with: RETURN wrb,qh and set an alarm with the alert tool for ea...
ckat55 Thank you Nicolas, I will try it.
ProContra It seems that after publishing it started drawdown.
GraHal Please forgive the daft question, but why is 3-bars-trailing-stop-williams-3.itf included a...
Kris75 Hi, Seems great but what would be the code for a stock ? Thanks, Chirs
Frank Another thing - have you also tried to go short?
Paul try activate Williams 3 bar trailing stop to exit when profits are i.e. above x% with a stop...
Kris75 Hi Paul, Thanks for sharing but I cannot reproduce any profit on Heineken on 5mn ; Best, C
century hi, can we have more explanations please ? about parameters and time unit ? thanks
Nicolas Line 10: Volume of current candlestick must be at least 1.5 higher than the previous one and...
3 years ago
Gaps screener
Gaps screener
Daniel da Costa Hi, i would like to code an indicator similar to this one but it must not take the 'wicks' o...
jbox Bonjour,   Je souhaite affiché affiché les gap sur le graph des prix directement J'a...
owes29 Hi what do you find are the best settings for intraday trading regards Lee  
3 years ago
Blai5 CazaGaps
Blai5 CazaGaps