Gaps screener

Gaps screener

This handy little screener allows you to easily detect “gaps“.

Very useful especially on the stocks market, so you can scan a number of markets very quickly.

You are free to do what you want, depending on your strategy approach : continuation gap , attempt of gap filling, etc.  

Here is the code of the screener, to detect them .

Remember to select the desired market (eg “Euronext” ) and timeframe ( for example, ” Daily “).

Here is the code for the indicator :

You can set the green or red color for the bullish or bearish gap (as shown on the picture)

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?

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

  1. supertiti • 03/22/2016 #

    Hello Doc
    merci pour ce code qui peut nous rendre bien des services
    bonne journée

  2. supertiti • 03/22/2016 #

    une petite chose en plus , le code de l’indicateur aurait sa place dans la rubrique indicateur ?
    pour Nicolas : pour éviter 2 posts ne pourrait on pas mettre un bouton pour modifier un post ?
    bonne journée

    • Nicolas • 03/22/2016 #

      @supertiti
      Oui, cet indicateur pourrait également faire partie de la bibliothèque. Pour la modification des posts de la librairie, je suis le seul maître à bord 🙂 Chaque post de la bibliothèque est revu par moi même avant de figurer au public. Premièrement pour uniformiser la présentation et dans un deuxième temps : vérification du code, ajout du fichier ITF éventuel, traduction en anglais si besoin.

  3. Doctrading • 03/22/2016 #

    Bonjour,
    Je ne pense pas qu’il serait utile de faire à la fois un screener et un indicateur pour ce bout de code. L’important est plutôt le screener à mon sens.
    C’est pour cela que je ne l’ai pas posté en indicateur.
    Cordialement,
    PS : j’essaierai de rédiger en anglais pour éviter la fastidieuse tâche à notre modérateur 😉

  4. Madrosat • 03/22/2016 #

    Bonjour à tous
    Sur le graphique ci-dessus des segments qui me paraissent projetés vers l’avant sont tracés (en bleu) est ce un indicateur qui les a tracés??
    ou ont ils été tracés manuellement??
    Pour tout dire je recherche un indicateur de ce genre qui tracerait un segment oblique partant des deux ou trois  derniers plus haut (plus bas) et qui se prolongerait vers l’avant
    ça existe sur mt4 j’avais demandé la traduction en langage prorealtime mais le code  qui m’a été donné  me trace des segments horizontaux .
    Si ça vous inspire chers amis votre aide serait la  bienvenue.
    Si vous voulez je peux vous transmettre le code mt4  moi hélas j’ai déjà du mal  à bien comprendre  la programmation prorealtime  alors mt4 !!!
    Bonne journée
    Madrosat

  5. Doctrading • 03/22/2016 #

    Bonjour,
    Non, c’est juste un tracé manuel. Désolé…

  6. Madrosat • 03/22/2016 #

    Bonjour Doctrading
    Quel dommage j’en suis  également Désolé  .
    Pouvez vous me dire en toute clarté si on peut  oui ou non programmer un segment oblique avec prorealtime???
    Bon week end
    Madrosat
     

  7. Doctrading • 03/22/2016 #

    Bonjour,
    La version 10.3 de PRT (à venir bientôt !) permettra toutes sortes de créations graphiques. On ne va pas dire “artistique” quand même, mais je l’attends aussi avec impatience !

  8. Madrosat • 03/22/2016 #

    Bonjour Doctrading
    Voilà une bonne nouvelle  , attendons avec impatience .
    Bonne journée

  9. 8oUBw8Qio3 • 03/22/2016 #

    I would be really great if everyone stuck to English – I presume I’m not the only one who doesn’t speak French fluently. 

  10. Daniel da Costa • 03/22/2016 #

    Hi, i would like to code an indicator similar to this one but it must not take the ‘wicks’ of the candle into consideration. Is it possible to help?

  11. jbox • 03/22/2016 #

    Bonjour,
     
    Je souhaite affiché affiché les gap sur le graph des prix directement
    J’ai combinais votre code avec le mien mais n’arrive toujours pas au résultat souhaiter car l’indicateur ne garde pas le gap en mémoire jusqu’à ce qu’il soit comblé.
     
    Pensez vous que cela soit possible?
     
    Merci pour votre réponse
     
    c1 = close[1] - high > 0.0001
    c2 = low - close[1] > 0.0001

    if c1 then
    GapH = Close[1]
    GapL = high
    endif

    if c2 then
    GapH = Low
    GapL = Close[1]
    endif

    return GapH as \"GapH\", GapL as \"GapL\"

     
     

  12. owes29 • 03/22/2016 #

    Hi
    what do you find are the best settings for intraday trading
    regards
    Lee
     

  13. rille66 • 03/22/2016 #

    Hi doctrading. If you wan’t to change the screener to register the gap open in realtime so you se the gap in realtime at open. Please advise. Merci. Richard

avatar
Register or

Likes

avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar

+6 more likes

Related users ' posts
YvesRobert Hello daviddelaferla. Ok, but to optimize period and mode, filter1 and filter2 must be 0 or ...
davidelaferla Hello YvesRobert! To optimize period and mode, filter1 and filter2 must be 0
Germano77 hello, thx for sharing, but wich broker do you use? At IG I got the notification "automatic...
Ciccarelli Franco Hai ragione, mi dava valori alti perchè usavo questo loss "SET STP LOSS 1xAverageTrueRange{1...
YvesRobert Hello davidelaferla, how do you put a stop loss and where exactly ? the moment you enter on ...
Hypersimo Buongiorno Davide a quale distanza inserire stop loss e tp nella strategia? grazie
Gabriel_HO Hello, thank you for your indicator, it indicates well the gaps area, I am happy with it as...
luxrun Hi Josè I can't load the itf calculated tool. The platform gives me an error "incorrect form...
Stanley
10 months ago
Amazon / Alibaba
Amazon / Alibaba
0
Calculated instruments
Nicolas
10 months ago
emism12 Looks great, personally I don't use automated trading for single stocks, but is definitely o...
adconsulting Ciao, I look that the strategy (backtest 50 k), works very good wiht US 500 CASH 1 EURO in...
Kev Monaghan The equity curve looks to follow the stock price almost perfectly, Have you tested on stock ...
Zigo
4 years ago
fredfilm Hi Nicolas, how could we add a price screen to this? eg stock prices between $1 to $3 etc
Despair What do you mean by “German extra stocks”?
odin i mean german xetra stocks :-)
Despair Ok! Thanks.
Mully Bonjour, est ce que quelqu'un sait comment ajouter les niveaux de résistances / supports su...
Nicolas Il s'agit de l'indicateur "volume par niveau de prix" disponible par défaut dans la plateforme.
juanj
6 years ago
Actabi Thank you ! Have you realised your "next step" ?
Jessar guten Tag, gibt es bereits die Aktualisierte Datei?
Per Inge Gents - An update - I have been studying various trading approaches, as this one that is bas...
Gianluca thank you very nice screener
Vonasi An interesting idea that was easily turned into a strategy on a shorter time frame that appe...
Stenozar Hi Vonasi, is it possible for you to share your code here? thanks in advance
Vonasi Sorry Stenozar. I have only really spent an hour or so on this strategy so far and it is far...
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
oakenstream Paul, what is the best way in your opinion to know if I have over optimized?
bertrandpinoy BONJOUR PAUL impossible de tenter le trading automatique, PRT me dis que l instruction "GRAP...
Paul Bonjour, supprimez les lignes avec un "graph"
bertrandpinoy merci. vous l utiliser actuellment sur quel instrument vous? et quel timeframe? Merci
Doctrading Hello, Higher timeframes are better. I suggest D1 or H4.Best regards,
Pinkybouh hello, I propose to add another conditions: ie: haussier: close > open and close >...
TheHovisTrader I'd be interested in the actual profit of this - in the example the stop range is at least 2...

Top