FTSE Italian index MIB goes on at night

FTSE Italian index MIB goes on at night

This system is really simple:
if it is 17:30 (closing market) buy at market, sell next day at 9:15 (shortly after it opened) :

It should be tested with calculated overnight fees though, for a better comparison with real time trades.

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. Andres • 04/15/2016 #

    What original and simple idea. I like it!
    Thanks for sharing.
    Andrés.
     

  2. gianlox • 04/15/2016 #

    This system is just a basic idea, it should be implemented with filters, I’m sure you can improve ! 

  3. Andres • 04/15/2016 #

    Yes, of course, but many times we are thinking in complicated indicators and it’s wonderfull to see simple ideas that works. 
    Six code lines. Great.

  4. gianpiero • 04/15/2016 #

    I tried the system but does not work, it does not open positions, in any market
    so I tried to change it so, for testint it only on the US market
    // Condizioni per entrata long
    IF NOT OnMarket and time>210000 THEN
    BUY 1 CONTRACTS AT MARKET
    ENDIF

    // Condizioni per uscire da posizioni long
    If LongOnMarket AND time>091500 THEN
    SELL 1 CONTRACT AT MARKET
    ENDIF

    set target pprofit 40

    the result is that the system open positions only on Sunday to close on Monday …. I use IG account, and i do not understand what the problem is

    • Nicolas • 04/15/2016 #

      Because the system must test time of the present candle, this strategy needs to be traded on intraday timeframe. So i believe you have tested it in daily one maybe?

  5. gianlox • 04/15/2016 #

    you must have a subscription to view intraday bars, then you put it with graphics of 15min
    entry time to be 17:30 (not 21:00), remove the target profit.

  6. gianpiero • 04/15/2016 #

    ok thanks to both, now works fine…

  7. giulomb • 04/15/2016 #

    Bravo Andrea Unger

  8. gianlox • 04/15/2016 #

    Questa è un idea che ho trovato su un articolo in una rivista e l’ho condivisa scrivendola con PRT. Spero che se hai qualcosa di interessante anche tu possa condivederlo in questo forum. 

  9. giulomb • 04/15/2016 #

    Quanto e’ l’ average trade di questa strategia ? Se metti commissioni e slippage vai in perdita .
     

  10. gianlox • 04/15/2016 #

    ciao giulomb,
    leggi il mio  primo commento in alto.

  11. Doctrading • 04/15/2016 #

    This nice strategy seems regularly profitable before 2010 ; see picture : 
    http://www.doctrading.fr/wp-content/uploads/2016/05/test-FTSE-MIB-night.png
    Strange that it isn’t before.

  12. Doctrading • 04/15/2016 #

    The spread is 20 points by IG markets : 
    http://www.ig.com/fr/conditions-indices
    With this spread, the results are awful :
    http://www.doctrading.fr/wp-content/uploads/2016/05/test-FTSE-MIB-avec-Spread.png
     
    Am I wrong ?

  13. gianlox • 04/15/2016 #

     
    You’re right, it is not good considering the spread… the cfd are too expensive, better to use mini futures I write this is just a starting point for a system.
    But look  the picture, I sent to you by email, is the same motor with my personal filters, i put 15 points of spreads.

  14. Doctrading • 04/15/2016 #

    Yes, nice improvement !
    You should test it with 20 points spread (common spread on IG Markets).What is the filter code ?

  15. bandido • 04/15/2016 #

    Ho provato questa strategia anche sul dax, a causa dell’elevato spread IG sul ftse mib.
    Con un giusto stop loss e take profit sembra essere profittevole, anche se non eccezionale. 
    La testerò su altri indici

  16. gianlox • 04/15/2016 #

    con quale timeframe hai provato sul dax ?

avatar
Register or

Likes

avatar avatar avatar avatar avatar avatar avatar avatar
Related users ' posts
Andres Yo apenas llevo un mes aprendiendo por lo que no soy quien de recomendar nada, pero estoy vi...
pablito Muchas gracias Andres. Habra que estudiarlo a fondo para saber si en realidad funciona bien ...
Frankiesc Gracias por compartir!!! Lo voy a mirar para dejar algún comentario!!!
Adolfo Onrubia Ups! Sorry. Variable "S" is to set an specific Spread if needed. Could be "0", or the distan...
GraHal Hi Adolfo, big thank you for your code, but I am a bit confused. Spread is the difference b...
Meta Signals Pro Hi, For me there is a mistake here L32 maxriesgo = round(equity*riesgo) => round(equ...
zilliq I think the "best"  method to backtest is  to do a simplier Walk forward backtest (and we ho...
volpiemanuele Hi, I have modified and optimized the strategy on FTSE 100 CASH Eur 1 on IG demo account. B...
Doctrading Defparam cumulateorders = false n=1 // Plus le "ratio" monte, moins il y a de positions ...
Malloc Bonjour :) Je sais que cette stratégie a été partagée il y a de ça plusieurs années mais ...
lilo789 Hi guys! Do you know if it is possible to set the buy size to a relative % of the available...
JR1976 Sembra performare molto bene   
giulomb E' tanto tempo che non lo guardo , non so neanche se il trading system soffre di iperottimiz...
giulomb E' tanto tempo che non lo guardo , non so neanche se il trading system soffre di iperottimiz...
luigiR Hallo doc, thank again for your strategy but can you suggest me  an example of the optimizat...
Wilko Do NOT take this system live! The backtest results will never be repeated live due to a shor...
mrripley99 So I've played around with this just recently and have achieved some good results in an IG d...
TradSuz C'est étrange, je note donc à nouveau les deux horaires achat et vente =9H/17H, le iRSI de l...
TradSuz Merci à Doctrading pour cette trame de code super et qui marche sur d'autres supports aussi....
Bibi83 Bonsoir à tous Juste pour vous informer que j'ai enlever les conditions short et que cela ...
Doctrading Maybe you can also change the hourly beginning of the day (not 23PM but 12AM, OOH in french)...
Duccio Hi Doctrading,there is a way to control the max loss of the positions in this code? For exa...
Doctrading Hello, Yes, there is a command I think, but I don't know it. Nicolas knows it. You can als...
verdi55 Strategies for sale usually are not worth their money, 'cause if they were, the author would...
triss1965@gmail.com Thats not cool at all.
demha sak Hello, I improved your algorithm by adding long positions: ``` DEFPARAM CumulateOrders = ...
giulomb Non capisco dove sta la strategia reversal
gianlox L'allegato Reversal-AUDNZD-4H.itf lo vedi ? Comunque la strategia è la stessa che vedi nel l...
entony salve qualcuno l ha provata in reale come sta andando??? bel lavoro comunque grazie  
Dave Hi, I'm new to coding and have been trying to modify the code a little to backtest an idea I...
Nicolas Better use the forums for coding assistance please. You'll get more results there for sure.
Dave Apologies - only just learning the site layout. Maybe you could delete the post?
Pierreee That a realy great strategy !!!  It's realy profitable in daily trade. I'm gonna put some ...
entony hello timeframe on what works best and how couples ??grazie
111111dw i am running this on the cac 5m time frame but the results are very different from the backt...
Nicolas RSI is an oscillator made for price centering. This strategy bet on mean reverting phenomena...
air Good start. Works decently during stock runaway bull market. I have tested it over 80 year p...
TheHovisTrader Hi - the way Larry trades it does not work - discovered that over 10 years ago! BUT If you ...
Nicolas You can try this code for buy and hold curve line: capital = 10000 mylot = 2 i1 = capi...
soukenson Bonjour Nicolas, Je ne comprends pas où ajouter le code que tu as a donné dans le code initi...
Nicolas Tu veux parler du code pour comparer avec le "buy and hold" ? Si oui, tu as tout ce qu'il fa...
phili711 Bonjour Si la moyenne 100 est au dessus de la moyenne 20 le trend est baissier zlors pourqu...
Nicolas La comparaison se fait entre la valeur de la moyenne actuelle et telle qu'elle était il y a ...
Thomas007 we should definitely open a new thread for intraday trading - can we post the link once it's...
Glen Marquis I wonder how this fairs on 5 or 15 mins. Maybe 21 or 25 instead of 14 .
Doctrading Hello, you can test it. It's not my best strategy... but I think someone can improve it.
Nicolas FR/Bonjour Steftonio, non pas de frais overnight calculé sur la durée du backtest, c'est une...
avatar
Anonymous Any reason why in 2016 this system is doing very bad respect the previous years?
Nicolas "very bad" is relative to the account equity. I do not forward test this strategy since I po...
Nicolas Aucune immobilisation du capital. Quel est le drawdown du buy & hold ? Je ne l'ai pas ca...
jctrader ok pour le codage mais le choix "indice" n'est pas le bon : moins de 5%/an pour le meilleur ...
Thomas Hi Nicloas nice one i do understand :D im trying to put in MA200 as a criteria so it only go...
DonDollar ...and I do not see any opened positions...strange...
DonDollar I found the answer by myself for the second question. But still no idea about the False and ...
Nicolas The line 12 of the code is the answer of your question. Before launching a new trade, the co...

Top