Trading strategy reversal mini sp500

Trading strategy reversal mini sp500

Here is a simple and educational trading system based on moving averages logically mean reverting on the mini S&P500 US index.

 

 

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. Doctrading • 04/19/2016 #

    Hello,
    Nice strategy, indeed ! Thanks for sharing.
    Buy I don’t understand why it is not profitable before 1994.Do you have an idea ?
    Thanks

    • Nicolas • 04/19/2016 #

      Market were not mean reverting before this date (no real normal distribution), but it were also the end of generations of trend followers. Before electronic computer trading & internet generation, market were slow and with less volumes IMO. But perhaps giulomb has another opinion about this 🙂 

    • giulomb • 04/19/2016 #

      Questa e’ una ottimizzazione di lungo periodo , non esiste la taratura che funzione sempre perchè i mercati cambiamo 

    • giulomb • 04/19/2016 #

      Per Nicolas , non sono uno statistico , mi sembra funzionare e questo mi basta 

  2. giulomb • 04/19/2016 #

    Questa e’ una ottimizzazione di lungo periodo , non esiste la taratura che funzione sempre perchè i mercati cambiamo 

    • Nicolas • 04/19/2016 #

      I saw you have optimized the moving average period for this period. That’s a better explanation for Doctrading’s question, it’s equity curve-fitted sadly.

  3. gianlox • 04/19/2016 #

    good the basic idea, although I do not agree on optimization of the moving average because I think it overfitting, to improve the system  work better on other factors 

  4. giulomb • 04/19/2016 #

    Per valutare se c’ è overfitting , provare valori attorno a quelli inseriti

  5. Etta • 04/19/2016 #

    Hallo
    I am very new at this hole proreal software.  Also with trading strategy. I test this one it looks good.
    Is this only for uptrend? All the trades show long.
    I am trading the South Africa cash 40 witch is the same as the sp500.
    Do you have more strategies that I can test?
    Thanks Ettienne
     

  6. giulomb • 04/19/2016 #

    Ci sono anche trade short
     

  7. miguel33 • 04/19/2016 #

    Giulomb sono tre medie mobili semplici ? Grazie. Mig

  8. giulomb • 04/19/2016 #

    Si
     

  9. JR1976 • 04/19/2016 #

    HI giulomb 
    could you try to  manage the order with  buy at high/low stop instead  ‘At the market’
    EX:
    BUY 1 CONTRACTS AT  HIGH STOP
    SELLSHORT   1  CONTRACT at  LOW-3 STOP 
    It’s seems  better ??
     

  10. JR1976 • 04/19/2016 #

    It seems perform also very Well 
     

  11. JR1976 • 04/19/2016 #

    Sembra performare molto bene 
     

    • giulomb • 04/19/2016 #

      E’ tanto tempo che non lo guardo , non so neanche se il trading system soffre di iperottimizzazione  , come lo scriveresti il listato ?
       

  12. giulomb • 04/19/2016 #

    E’ tanto tempo che non lo guardo , non so neanche se il trading system soffre di iperottimizzazione  , come lo scriveresti il listato ?
     
     
     
     
     

avatar
Register or

Likes

avatar avatar avatar avatar avatar
Related users ' posts
Francesco78 I did a little bit of work on that and now the results looks better and more stable. Please...
Francesco78 I did a little bit of work on that and now the results looks better and more stable. Please...
Khaled Hi Francesco , thank you for sharing your hard work. Any idea why all orders are executed at...
JanWd Thank you for the coding, it seems promising. FTSE gives for the short term (5 min) promis...
Jan Wind 21.04.2019: I retested the strategy for the DAX 5 minutes , it works fine for 10.000 bars, b...
bertrandpinoy hello Francesco, are you still working on this strategy?
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...
Wilko And not only readable.... makes it much easier to iterate different entry/exit-conditions, d...
IGOSNELL Hi Interesting strategy, when I used $ M-R Dif EURUSD M15 Long if does not enter any positi...
ilvillans HI, I modified the system, from good results but from this error: Replace the variables wit...
avatar
bjoern With the same parameters? For me the results are negative
avatar
bjoern Oh ok, with the initial posted parameters it is positive
victormork yes! It's not like you want to put it on live but when I for example take the version I have...
victormork Hi, I would just like to share my own take on this strategy. I'm using 30 min on EURUSD but ...
mckubik Thanks. I will run a Test. 
poonsl2828 Hi! bjoern May i know what timing should i change for time zone (Singapore (GMT +8:00) ...
Samitha Prasanna Hi ALE, would you be able to provide the values for the below part of the code (time >=1...
Player Bonjour, J'ai testé cette stratégie sur EurUSD en 1 heures sur 10000 unités et le résultat ...
Player Vue du rapport du Backtest https://ibb.co/8BMrBz6
Nacho Molto bene, ho voluto parlare di una cosa che sto trovando con questa strategia, ho girato s...
Francesco78 Ciao Nacho, grazie per il commento, onestamente  a me non e' mai capitato, ma ho fatto solo ...
Pietro Ranzato ciao francesco grazie mille. pietro ranzato non riesco a contattarti sono interessato al tuo...
Nicolas Restart your platform in order to be sure to use the last version, there was a version rollb...
bertrandpinoy bonjour voud pouvez m envoyer le code modifier par vous?
Nicolas Désolé , je ne comprends pas votre question.
rama LOWEST[15(close[0]) also gives the same
TempusFugit Ok, but you are missing the 120 lookback period
Globalmarkets79 Hello, I tried to run the code but i had an syntax error that "This variable is not used in ...
DEIO Hi sublime06, I tank you for the compliments, but first of all I STRONGLY want to warn yo...
bertrandpinoy Bonjour Deio excusez moi je ne comprend pas le principe du SL et du TP sur votre strategie.....
bertrandpinoy bonjour avez vous un TP et SL pour cette strategie? merci
Derek Nice strategy. Have you tried adding a stop loss since there are a few sharp drawdowns? I ...
Piston_Broke Non so .... da qui la mia domanda iniziale :-)
Piston_Broke Hi Derek. I have tried many different ways to apply SL's to this and similar versions of th...
Nicolas Indeed, if you are not willing to loose, you will always win. Averaging down losers can carr...
David You're always safer going Long especially with averaging down on an index as the probability...
Oskar Bergvall  I noted Davids and Nicolas remarks. Could it be possible to make an indicator for contraria...
Nicolas si il n'y a pas de stoploss définit dans le code, alors c'est normal :)
bertrandpinoy bonjour merci pour la réponse. Oui b sur ... est il possible que le SL soit coder sous une a...
Nicolas ok mais pourquoi poser la question ici ? Pour des questions non spécifique à cette article, ...
David Somogyi Hello, This is merely a filter indicator for measuring high fractality, which helps to av...
bertrandpinoy bonjour ce code fonctionne toujours?
Nicolas Faites un backtest, vous aurez des réponses.
Jessar Hi friends, is there any way to program the system to close the position when you have a lon...
Pring00 Hello @Nicolas, thanks for this code! Just what i was looking for. I'm fairly new to this...
Nicolas Needs custom coding, ask for a mod in a dedicated topic, in the appropriate forum please.
Lotar
8 years ago
Nicolas You can send it to contact@prorealcode.com and I'll attach it here. Thanks for your sharing!
Francesco78 Hi Lotar, which variables would you choose to recalibrate it to the present market condition...
Degardin Arnaud unfortunatly in today's market it's not working at all...
Derek Clarification: Automatic rollover will be into the nearest forward but I prefer the farthes...
gatowman Hallo Derek, ich bin neu hier, wo finde ich die beiden Indikatoren? kansst du sie als itf p...
bertrandpinoy BONSOIR j ai tenté votre modification mais PRT ne l accepte pas "erreur de syntax" pouvez vo...
Nicolas it is based on seasonality of DAX.
Luciano Santiago Juárez Hello I am new here I am trying to understand this code IF monthlyMultiplierLong > 0 ...
Luciano Santiago Juárez Sorry the code copied bad the line I dont understand is: ELSIF monthlyMultiplierLong 0 THEN
GabrielVP Hola. ¿Has probado a incorporar compras en el mismo sistema? o ¿sería posible? disculpa mi i...

Top