Gap trading Catcher V2

Gap trading Catcher V2

Hi all,

This is a modification to Gap trading Catcher.

It uses Mid-level day indicator and Williams’ 3 bar trailing stop.

Tested on AEX25, 2 minutes timeframe, 200k backtest, spread 0.1

Optimised p1 and p2 in range 1 to 7

Exit positions are made with the help of the Williams 3 bars trailing stop indicator found here:

https://www.prorealcode.com/prorealtime-indicators/williams-3-bar-trailing-stop/

If criteria are met it enters 9u am. Keeps positions overnight but closes at Friday 22u pm.

The strategy takes a while to load.

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. Nicolas • 11/13/2017 #

    Hi Paul, thank you for your code. There are not so many trading strategies for AEX25 around here 🙂
    The strategy takes a while to load because of all these unnecessary FOR/NEXT loops in your code, this could be optimized to a few lines and increase the speed of calculation.

  2. mrripley99 • 11/13/2017 #

    First impressions, looks great, backtests well across a number of markets, great on nikei. Only seems to take long trades, can’t see why?

  3. Paul • 11/13/2017 #

    thnx nicolas, will take that advise and see if I can improve the speed.
    mrripley99, set countofshortshares < 0 to 1. It can do both long and short same time, or do it separately.

  4. BiggestNoob • 11/13/2017 #

    Hi Paul, Thank you for your code. I have tested it on several pairs and noticed that it never opens short positions although there is code for it?

  5. ProContra • 11/13/2017 #

    It seems that after publishing it started drawdown.

  6. Kris75 • 11/13/2017 #

    Hi,
    Seems great but what would be the code for a stock ?
    Thanks,
    Chirs

  7. oakenstream • 11/13/2017 #

    Paul, what is the best way in your opinion to know if I have over optimized?

avatar
Register or

Likes

avatar avatar avatar avatar avatar avatar avatar
Related users ' posts
Nicolas Definition of CustomClose: https://www.prorealcode.com/documentation/customclose/ [2] means...
Bard Just wondered Nicolas, say you had set DEFPARAM CumulateOrders = True, is there anyway for t...
Bard Sorry pls ignore last image, try this - it actually has the Dev Stop indicator! https://www...
Geronima Ortiz okay bien estaré pendiente en esta pagina gracias
Domenec Aqui dejo colgado link del video para ver como funciona el indicador https://www.youtube....
Geronima Ortiz Gracias Domenec
Caribeengeek Bonjour j’avais vu que vous proposiez d’écrire des codes pour ceux qui s’y connaisse pas Mai...
Caribeengeek Les devises unité
Nicolas Merci d'utiliser le forum pour les demandes de programmation personnalisée
juanj
6 years ago
jebus89 Big thanks for sharing this :) Seems to work as expected, good stuff.
dertopen @gabri hi Gabri i get the same error: define highlow and highhigh whic are the good numbe...
luigiR ciao gabri complimenti per il tuo lavoro, ti chiedo una cortesia cosa devo scrivere nel codi...
Violet Abz, the arrows and circles are only the *first part* of a trade setup. If certain conditio...
gabri Violet, you did an excellent job. I attached here https://www.prorealcode.com/prorealtim...
fab.ub HI GABRI, if the cirled arrow is the intermediate point in which You can define your entry a...
Matt B RolanBay, L'ellipse apparaît-elle à la bougie notifiée et reste ?
gianlucapegaso scusa Gagry ma il programm da copiare è quello con tutte le modifiche di cui ho letto nei va...
Valentinocorse bonjour a tous , superbe travail j'aimerai si possible une indication pour modifier l'indic...
Al Ok grazie Gabri
Paul thnx for posting. Combine it with Williams’ 3 bar trailing stop to create strategy!
gabri Paul, he uses the best day of the week to trade (he figured out the best day to enter, exit...
Steven Bahia Hi Nicolas - great indicator - is there a way to place a alert when the Oscillator crosses ...
Nicolas Alerts can't be programmed, you have to set them yourself with the Alert tool of the platfor...
Steven Bahia just to add to this would there be a way to establish a entry price from the Oscillator
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
Mr_Balagan Bonjour, j'ai quelques questions concernant cette combinaison d'indicateurs qui à l'air inté...
larouedegann STE : Fonction statistique "erreur standard" de séries temporelles de N périodes pour le pri...
Mr_Balagan Merci pour ces informations précieuses larouedegann. J'y vois plus clair. Encore joli boulot
Kris75 Hi Gabri I launched a very simple strategy based on the 3 bars trailing stop that you cre...
TimDeCat Hi. Has anyone coded a version that you could alter it to say 5 bar trailing stop? ie make ...
Nicolas Please open a new topic in forums so we can code it there, thanks.
Nicolas Rien, il faut l'appliquer sur la charte. Soit le mettre sur le graphique du prix, à l'aide d...
signorini Merci pour votre réponse. Je l'applique sur la charte, j'utilise la petite clé pour effacer ...
signorini Je vous remercie, Nicolas. C'est fixé. Très bon week-end.
Nicolas
7 years ago
Haos Visual
Haos Visual
8
Indicators
Lyny @Nicolas, how can i put this code in ProOder when for example i want to buy 1 share with con...
Nicolas Please open a new topic on forums for coding requests, I'll help you there. 
Johan Swarts Lyny / Nicolas Please advise whether you proceded with the code in ProOrder and if so where...
Guibourse Hi ! I am asking once again for your help : would it be possible to use the ATR as a "take p...
Tradingrob Many thanks for the indicator, however if the price is below the indicator, then the indicat...
aldtrading Merci pour ton travail ! J'ai de bons résultats en utilisant cet indicateur

Top