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?

New! PRC is also now 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
Related users ' posts
Nicolas There is no specific file for MAC. Download the itf file and import it into your platform by...
jerome777 bonjour merci pour le partage !!!! je débute dans les codes , j ai une question je les l i...
Nicolas Il faut l'ajouter sur le prix avec l'icône de la clé situé en haut à gauche du graphique du ...
zilliq Thanks @Nicolas. I tried to use it as Trend in a proorder system, but don't know why, it doe...
Zoul68 Bonjour, Merci pour votre indicateur, il est très performant ! Si je ne me trompe pas : la ...
JOKAMAURICE Bizarre, j'ai importé l'indicateur et je n'ai aucun signal. PRT 11.1
Marius Zammit i tried to download this and set up but it didnt seem to work on my chart.
Nicolas c'est très complexe dans ProScreener et différent pour chaque code, peut être dans sa procha...
maxlys Bonjour Manu L, merci pur le code de ton screener. pour ma part j'ai 2 erreurs qui ressorten...
wtf_trading Hi Nicolas, I am new here, what language is the above code in, I want to try implementation...
Zigo
11 months ago
woktrade Superbe !
Vonasi An updated version with a bug fix can be found here: https://www.prorealcode.com/topic/dis...
snucke hey Vonasi is it possible you can help me get this indicator to show how much a market mo...
mohamed bonjour nicolas! j'aimerais pouvoir changer les couleurs des chandelier directement depuis ...
Nicolas remplacer les valeurs de coloured(0,255,0) par coloured(r,g,b) et ajouter ces noms de variab...
mohamed merci Nicolas!
Nicolas You should open a new topic to discuss about the strategy and its coding.
dvlukic Hello Nicolas, How could plot this indicator over the price series? Thanks Dave
Nicolas Just add it on the price series.
nfulcher Please could someone explain how the following code is calculated:- iDI = TEMA[3](DI[DI2]...
oakenstream Jan, I find sometimes that the priceexit variable is never set. It seems to happen when the ...
Matt66612 I do not understand the first time I launch the backtest I got the same result as you. but ...
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.
mmoren44 no esta el color azul (Fade //Blue), No aparece en las barras el color azul.
joobeng Sorry, I solved the problem. I have add the CBL indicator using the spanner icon on the pric...
Nicolas Adjust the price settings for the Y Axis to use the price only.
XXXXVII Hello Your indicator is interesting. However, I can't see the orange line. Do you have ...
Bard "Bacon with speed" is a new one on me, Apologies, the link was not working on my iphone ...
TAC Bolsa I already published it ... in prorealcode ... Next time ... request a change of programmi...
TAC Bolsa I already published it … in prorealcode … https://www.prorealcode.com/prorealtime-indicator...
Ass13 bonjour nicolas j'aime bcoup votre indicateur
bharatjai Script 'Adaptive ATR' has been saved line 24: no viable alternative at input 'lr' Gettin...
Nicolas download the itf file and import it into your platform.
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

Top