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?

New! PRC is also now 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.

  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

    // Condizioni per uscire da posizioni long
    If LongOnMarket AND time>091500 THEN

    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 : 
    Strange that it isn’t before.

  12. Doctrading • 04/15/2016 #

    The spread is 20 points by IG markets : 
    With this spread, the results are awful :
    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 ?

Register or


avatar avatar avatar avatar avatar avatar avatar avatar
Related users ' posts
Gregg Hi Roberto, thanks for this new strategy but I don't understand why I can't backtest it with...
robertogozzi There must be an issue with candlestick data from March 7th through March 12th. which causes...
robertogozzi There must be an issue with candlestick data from March 7th through March 12th. which causes...
GraHal Is there a switch to start / stop the Trailing SL / TP as when I GRAPH SL & TP neither a...
robertogozzi No GraHal, there's no topic open. It would be great if you could start one and post that lin...
GraHal Discussion Topic started here ... https://www.prorealcode.com/topic/discussion-re-auto-sy...
Littefrido Immagini https://ibb.co/52sBK5j https://ibb.co/0DTVjcB https://ibb.co/02HKRs0
snucke have anyone tested this live? and how does it perform?
Gubben I liked the idea so much I put it early into live and it took 19 straight losses before hitt...
luigiR hi, can you explane how to try to launch with pro order? good job
ricky1028 hI, I'm a beginner of ProRealTime, when i try to launch automatic trading, it pops up the me...
Gubben Apparently there is no support for partial closing. If you want to modify to be viable, remo...
TempusFugit Interesting idea and with a lot of room for improvement.... maybe a trailing stop? Thanks fo...
xpiga I don't know I suppose you can attach the picture... Any new ideas to improve the code are ...
TempusFugit Sorry but I don´t see any option to attach the picture here... not sure but I think that´s...
rama Trailing stop wont work, will keep moving with price
Alberto Aguilera Hi! Thanks for your strategy Anyone can check it with 200 bars?
Jan Wind
4 months ago
allanrobinson Hi Thank you for this. I have replaced the S, M, L and cm with backtested figures in prepar...
gabri Hi, I would recommend to try some other entry criteria: 1) chikou crossing over max(spanA,sp...
693579 As Allanrobison pointed out..... After setting Variable, "summation" from pro builder needs ...
Jan Wind fatcat, sorry to hear. Today I did run the code for 100.000 bars (from 17 dec 2017 till 31 ...
GraHal I confirm that I get almost exactly the same (+7 days difference now) results as Jan states ...
Jan Wind A discussion Topic is opened, and can be found at https://www.prorealcode.com/topic/di-tem...
sharksteven Hi BALMORA, looks like a good compliment algorithm. I tried to test it on the EUR USD but it...
kompiuter Hello, how did you optimized all these variable? If I try to optimize only two variables it...
rrenaud_ig Great work ! My only concern is about risk management. Your results are based on 10k. Max lo...
Tony87 on 200k test in the red untill 2017 then strong green
LancerX Please indicate the trade stat to show ave gain against average lost..
Jan Wind Thanks for sharing the strategy !. Did you do an Out of Sample run when testing on the 100k...
Gaby333 super this what I was looking for from Monday I will put this in real time to see what can d...
PastaPesto Hi Gubben, It would be interesting to know what changes you have done and also your backtes...
Gubben @PastaPesto, for GBP USD mainly inspired by Paul it was 2% stoploss and 45 take profit, also...
Francesco78 derschnee spiace a me che non riesci a replicarla. Prima di esprimere giudizi pensaci 2 volte.
unkown ;-) sfido chiunque a riuscirci!
unkown infatti basta leggere i post degli altri....
Nicolas Multicharts? why? Our website is dedicated to programming for ProRealTime: https://www.prore...
bloglo110 Hi Nicolas, great and thanks for letting me know. :)
Jan Wind Thanks for the strategy. I have tried your strategy on the DAX for a time frame of 10 mi...
juanj @zebra would you be so kind as to post your latest 4H USD/JPY results here: https://www.pror...
Holy Grail Thank you juanj for sharing this code, Backtests looks great in USDJPY and Crude Oil Is a...
juanj @Holy Grail, glad you like it. Would you perhaps mind sharing your results here: https://www...
juanj DId some tests using MACD validations on higher timeframes using MTF functionality and unfor...
FREDNC Hi Francesco I tried with :
FREDNC adx[14]>adxmin and adx[14] > adxr[14] and adx[14]>adxmin and adx[14] DIminus[3](clo...
Maik2404 wie kann ich den Code bekommen Paul?
jens_kittner Works with US Crude at 1h as well!
Jean-Claude REGIS Je préconise de regarder les graphiques H1 et M15 pour visualiser la tendance de fond et d'...
Maik2404 es sind leider nur long Positionen und keine Short zu erkennen.
Maik2404 Vytautas: es bleibt aber nur bei long Auslösungen
ullle73 this one is not a winner, have backtested it on almost all pairs, does not have an edge
eugenio buongiorno paolo , volevo farti i complimenti x il lavoro fatto , funziona molto bene sul 3 ...
Modes68 muy buena estrategia, gracias por compartirla thank yoy for your estrategy, I like me
xpiga Good morning! How do we adjust the code to the different timeframes? You said something ab...
David Somogyi Hi, One year trades since Alpha running. https://imgur.com/a/TCK4kJH Hopefully it w...
Nicolas Thanks for the update David!
sublime06 quelle parametre utilisé vous pour obtenir ces resultat ? merci