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?

  2. Doctrading • 04/28/2016 #

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

  3. Andres • 04/28/2016 #

    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. 

Register or


avatar avatar avatar
Related users ' posts
tba69 I think I got excited too fast ... will IG go to version 11 soon?
Nicolas @tba69 That's ok, the strategy is good IMO, thanks again for sharing :)
Nicolas Once beta is over, they should be able to upgrade to v11. I'm confident that it will happen ...
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?
winnie37 yes. "No ground breaking math here, but I am finding very useful and some algo based on it i...
Jan Wind Also interesting to know what does not work, which set up you use, saves me investigating ! ...
winnie37 i just set the proorder like this: buy when 50/100/200 phase >0 and sell when under 0, go...
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...
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....
hartgeld Hallo Atxeel, sehr interessanter Code, habe das installiert und funktioniert. Danke! Kannst ...
atxeel Hallo hartgeld, die Ziele sind schlicht, bspw. die Range beträgt 10 Punkte, dann ist das Zie...
Paul in ProOrder support, at the bottom
Maik2404 wie kann ich den Code bekommen Paul?
jens_kittner Works with US Crude at 1h as well!
Stenozar Thanks Leo!
Madrosat Hi Leo something is missing in the strategy above because it does not work at all as it is
Leo I don't know, I just copy paste the strategy. The optimisation of the values I wrote them in...
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...
12 months ago
Bebbo Thank you for your contribution. I have tested your system on some instruments and I like i...
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...
Niklas johansson hägglund do you now if it's possible to use this strategy with this code in tradingview also?
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
JohnScher Don't know what you're doing wrong. Import ITF and observe time zone settings. This should...
osupero posiciones largas por ahora