Ftse mib morning inversion strategy 30 min TF

Ftse mib morning inversion strategy 30 min TF

Dear all,

This is my first strategy posted, I have coded this strategy based on my empirical experience, the idea is that Italy 40 index tends to invert directionality in the morning at 09:00 CET. 09:00 is the time when the future starts trading and is also the time when the index bid offer spread shrinks from around 25ticks to 6/7 ticks.

The fliter I used are:

  1. the previous day bar has a well defined directionality, parametrized by the variable b in the code, set at 120.
  2. the market is volatile enough: ATR[50] >20

The code force open and close at 30 minutes distance, open at 09:00 and closes at 09:30

In the code I also added an accumulator of positions, ading up positions as long as the strategy is profitable.

You find the results in the picture named btVP.png.

I also tried to do a walk forward analysis, with constant positions, and the results are in backtestwg.png

There is one thing to note before trying to run the code.

In the example I used a 30 minutes time frame in order to capture the longest possible timeseries, but pls be warned that in real you should open a position slightly later than 09:00:00 because the bid offer tightnes only after few seconds after. Ideally 09:01:00 should be fine.

As far as I know Nicolas has done a 200, 000 backtest and it looks that the strategy has worked consistently well up to 2013.

Any comment, improvement will be greatly appreciated.

 

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. iramirez55 • 04/12/2017 #

     Hi, I do not understand why to do strategies for indexes with a slipage so high. I do not like to give my money to the brokers. In Spain IG gives us a slip for Italy of 15. We have the DAX with 1 point !!!.Thank you anyway

  2. Francesco78 • 04/12/2017 #

     HI Iramirez, 
    my personal view is that as is not easy at all to find patterns, even pay a bit of slippage is not a disaster on the long term. 
    It become insignificant on the long term if the backtest is solid.
    I appreciate your comment anyway.
    Ciao

  3. AleX • 04/12/2017 #

    Thanks

  4. Bandido • 04/12/2017 #

    Ciao e grazie per il codice.
    Avevo osservato la stessa cosa circa sette o otto anni fa, sempre con IG ma facendo trading manuale. Per un po’ è andata bene ma poi ho cominciato  a mangiare il gruzzoletto guadagnato, ed ho lasciato perdere. In effetti lo spread alto fa la differenza.
    Purtroppo!
    Perché è un pattern su cui si può fare affidamento.

    • Francesco78 • 04/12/2017 #

      Grazie a te per il commento, per quanto riguarda lo spread basta impostare l’entrata alle subito dopo le nove del mattino ora italiana. Mi fa piacere sapere che funzionava anche setto otto anni fa..:)
       

  5. Nacho • 04/12/2017 #

    Molto bene, ho voluto parlare di una cosa che sto trovando con questa strategia, ho girato su un conto demo per vedere come funziona e non soddisfa gli orari, le posizioni sono aperte alle 9 del mattino e devono chiudere a 9 30 e molti giorni non chiudere quella posizione, dando poi un errore e fermare la strategia si fa a sapere che è?Grazie mille.

  6. Francesco78 • 04/12/2017 #

    Ciao Nacho, grazie per il commento, onestamente  a me non e’ mai capitato, ma ho fatto solo in reale…
    Spero che qualcun altro possa aiutarti.
    Saluti!

  7. Pietro Ranzato • 04/12/2017 #

    ciao francesco grazie mille. pietro ranzato non riesco a contattarti sono interessato al tuo lavoro se mi puoi contattare su fb grazie.

avatar
Register or

Likes

avatar avatar avatar avatar avatar avatar avatar avatar
Related users ' posts
cdc.andersson Hello, I´m trying to paste the code and start testing but can´t get it to work in PRT. Shoul...
Lupo32 Thank You Aaron
superfalcio I'm having no more issue on the new Prorealtime release 11.1
Francesco78 Many thanks JR1976 for your improvement,  although results with your filter looks better th...
JR1976 HI Francesco, in  effect  3 consecutive lose  in May and today .... doesn't work well ,  ne...
Francesco78 Hi JR, yes indeed quite disappointing in may and today, but still within the max drawdown sh...

Top