The “Keep It Simple and Stupid” strategy

The “Keep It Simple and Stupid” strategy

Hello everyone,

I wanted to test a strategy that I used manually in Day Trading on the DAX in graphs 5 minutes.

The problem is that it is not always easy to backtest a manual strategy, particularly it is difficult to determine the slope of the moving averages, the levels of supports / resistances, etc.

So I slightly adapted the parameters for automatic trading.

We have a profit factor of 1.25 (spread included in the backtest) ; in manual trading I am rather at a profit factor of 1.5 (but exit rules are slightly different, on a trailing stop that is difficult to adapt) . I’m quite happy with my backtest that looks pretty close to reality. The strategy is very simple, it is the “KISS”, Keep It Simple and Stupid strategy. It uses only three moving averages, we trade with the trend.

Note that the test is positive in M5 timeframe (but I can only test it on 2,5 years), it is much worse on the upper timeframes.

 

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/28/2016 #

    Simple and interesting code, Doc! I have a lot of fear of strategies below 15min TF  🙂 , I will trie this.
    What about in other index? Is it still positive?
    Thanks.
    Andrés.

  2. Doctrading • 04/28/2016 #

    Hello,
    I didn’t test it on other indexes. It was just like the way I traded manually the Dax.

  3. Andres • 04/28/2016 #

    Hi,
    Without optimize variables and only in the last year:
    Bad in Spain & France.
    Good in Italy.
    😉

  4. Andres • 04/28/2016 #

    Uffff, I didn’t adjust the different index spreads. With the heavy spread of Italy It’s negative too.

  5. davidp13 • 04/28/2016 #

    Good day. I know this was posted such a long time ago, but I though rebuilding the system on another platform might just seem worth the while. Testing it on multiple FX pairs, mostly USDJPY, USDCHF, USDCAD, GBPUSD and AUDUSD. Seem to have promise and this is over 5yrs data using 5m, 15m and 1hr timeframe. I did however add a position tracking mechanism. Again I did not write it on PRT.

  6. davidp13 • 04/28/2016 #

    Also to note that the one position in my code does not close the other, which as far as I know PRT does not allow hedging or maybe this was just IG stopping hedging. 
     

avatar
Register or

Likes

avatar avatar avatar
Related users ' posts
TraderFelix
2 months ago
tradingpro salve io faccio spread trading e volevo sapere come impostare un profitto da chiudere in a...
Nicolas Per favore non fare domande generali, non correlate al post. Usa invece il forum.
Nicolas Thank you Xusto. Thank you a lot for your contribution :) Since your code is a Pathfinder'...
Xusto Hello, Fully Agree, I will update it with your advice. Btw Can would you like share you co...
Petersson Kristian Hi when I do back test I get 0 results, what do I do wrong? Trade Well Chris
JohnScher Yes i did before, see library/strategys/repulse and dpo https://www.prorealcode.com/proreal...
JohnScher Don't know what you're doing wrong. Import ITF and observe time zone settings. This should...
osupero https://www.screencast.com/t/QmSXRbBR
osupero https://www.screencast.com/t/2fCW8fkGsOeZ....solo posiciones largas por ahora
osupero https://www.screencast.com/t/MIaSZ2PRg
Daniel da Costa Thanks Doc! Where can you find a service for Dax with a 1 point spread?
Doctrading Hello. I suggest you : ProRealTime CFD, or IG. Best regards,
JanWd Hey Doctrading, I tried your code, optimising the A and V and the RSI period, see below. ...
vlongobardo67 Ciao Fulvio, ho scaricato ed importato il file. m,a se lo faccio girare sul miniDax non ...
FULVIO09 Attualmente non c'è sufficiente volatilità : la condizione "C0 = AverageTrueRange[1500](Clos...
vlongobardo67 Ma io intendevo in backtest ! Scusa non l’ho menzionato.
Dominik // Stops und Targets SET STOP pLOSS 0 SET STOP PTRAILING 45 SET TARGET pPROFIT 55
beeb Hallo Dominik, das mit dem deutsch schreiben kommt mir sehr gelegen. Komme auch aus Deutschl...
vlongobardo67 hi Beeb, I imported the file in my platform but is does open any order. What is wrong , wha...
Yannick TradingDayLong = dayofweek = 1 or dayofweek = 2 or dayofweek = 3 or dayofweek = 4 or dayof...
Marlon Hey JohnScher, your code works fine, but my results aren't as good as yours. Even if I use ...
DarioMazza Bha... this code dont work. gg
ALE
9 months ago
ALE P01 , it’s the first patner of the indicator, I hope to add others in future.
ALE We can discuss about the strategy here: https://www.prorealcode.com/topic/scalping-indicator/
settival CIAO ALE CREDO DI AVER SETTATO PER BENINO LO SCALPING INDICATOR MA NON VISUALIZZO I SEGNALI ...
Yannick Hello There is a mistake in trailing stop code, I think that this should fix the problem s...
Paul About the trailing-stop the way it's coded. That works for backtesting only, just look at th...
Jonny sorry paul, but system says that is not possible to put many stop order combined...what have...
BC
10 months ago
TempusFugit Thanks Bin, nice code, I can use several ideas of the way you build it
DarioMazza Thanks Bin, great concentration, i understand the first idea, but may u indicate me the asse...
Bin Hi Mazza This robot is optimized for DAX30.
Onetime Bonjour je viens d'essayer votre indicateur sauf que moi j'ai pas les signaux ( les flèches ...
Onetime Pardon non enfait ils sont bien la merci
GianfrancoCeck Salve Nicolas. Ho provato ad inserire anche questo suo indicatore, ma sulla T3 ho sempre la...
Toto le Heros Tx Nicolas. Looks very interresting. No text display on my charts. Any specific option to ti...
Nicolas Be sure to have these settings set with these values: //edblHigh1 = 0.04 //edblLow1 = -0....
Toto le Heros Ok, got it ! Great ! Tx
TempusFugit Masala, thanks for your contribution. I don´t like the offmarket spreads neither ;) I unders...
Uveus Tempus, me da un error al validar el codigo, sobre la variable N. Al crear el indicador me ...
TempusFugit Hi Uveus, I am guessing you inserted the code of the indicator into the system code, is ...
Paul Thanks for posting. I was currently searching how to improve day-trading based on support an...
Jessar Könntest du im Forum etwas öffnen und später darüber zu sprechen?
arahussein Hi All, I am new to trading and i find this indicator very logicail! Hence my (dumb?) quest...
tecknozic Bonjour Inertia, cette sais-tu si cette stratégie fonctionne sur un compte IG à "risque limi...
Inertia Bonjour tecknozic.... Je ne sais pas... Désolé. Bonne chance ;)
teddy58 This system is the only one running on my PC, which i didn´t developed my myself. My forcast...
JM David, Thanks a lot and next week I begin the test of this strategy in real... You have ot...
rejo007 hello david, i'll try it could you tell me wich strategy do you use in real? thanks
David Somogyi Hello, I have a couple of DAX strategies of breakout and mean reversion. I'll try to post...

Top