The “Little Turtle” strategy

The “Little Turtle” strategy

I had the idea of this little code, wishing to implement a strategy deviated from the famous “Turtle” strategy : a breakout above a last high on a certain period.

The code is very simple : we trade with the breakout of the 100 last days ; and so for the exit. Of course you can test with other parameters the value “100” days , but it seems to me profitable on most indices.  

Indeed , this code is performing very well on the CAC40 (83.3 % success , profit factor of 9.7 !), The DAX30, the S&P500, even the NIKKEI, etc.  

After weeks of very hard work, and with some other parameters, I did finally succeed to develop a very high-performance code on the Dax (5 times more profit than this code, with 2x less drawdown), which I use each day.

For now, I suggest you try this mini-code, which proves to be effective for long-term investment.

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. Nicolas • 04/01/2016 #

    Thank you for the contribution Doc. Even if a “buy and hold” strategy is more effective in profit, this one can reduce %drawdown.

    Buy and Hold curve is in pink color.

    • Stef • 04/01/2016 #

      Hi @Nicolas. How did you add the buy and hold to the chart?

    • Nicolas • 04/01/2016 #

      You can try this code for buy and hold curve line:
      capital = 10000
      mylot = 2

      i1 = capital+((pipvalue*Close)*mylot)

      RETURN i1
       

  2. Doctrading • 04/01/2016 #

    Yes, Buy & Hold is effective if the index is keeping growing… this is the case for the DAX, maybe not others…
    Thanks for your reply.

  3. Lepori Joël • 04/01/2016 #

    thank you so much for your great job, im very impatient to test your another strategy ” the turtle soup +1 “Jo

  4. zilliq • 04/01/2016 #

    Thanks Doc,
    But it will be more interesting to test on small unit of time (1 or 5 mn), for intraday trading, or daily for swinger, because I don’t know anyone who invest on very very long term?
    Have a nice day
    Zilliq

  5. soukenson • 04/01/2016 #

    Bonjour Nicolas,
    Je ne comprends pas où ajouter le code que tu as a donné dans le code initial. Pouvez m’aider svp ?
    Merci 🙂
    S

    • Nicolas • 04/01/2016 #

      Tu veux parler du code pour comparer avec le “buy and hold” ? Si oui, tu as tout ce qu’il faut ici: https://www.prorealcode.com/blog/learning/buy-hold-comparison-automated-trading-strategies/

avatar
Register or

Likes

avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar
Related users ' posts
Elsborgtrading No that is wrong :) 1st runs always- then only run 2nd if 1st is on market with positions(ar...
Elsborgtrading It can only be fully automated if IG change minimum SLto 7 at night on DAX multi timefra...
Elsborgtrading A small example. the strategy would have opened 3 position on Dec 4th 2016 and keept it for ...
Cosmic1
9 years ago
Cosmic1 @JadeDB What times are you putting in?
sincitytrader I tried this one out recently,  and wasn't profitable for me.
Cosmic1 Yes, not great lately. I stopped this live at the end of last year. Will wait to see when th...
Doctrading Hello, As I said, I didn't use spread for the screenshot as I don't trade Gold and I don't ...
smurfy Hi, I had been losing on gold and after I manually go through the 5min chart using IG and w...
eiffel Hi Smurfy, hope you are still there... I would like to help you to write and test the code.
Reiner
9 years ago
Nicolas You should join and read the forum thread about this strategy. There are plenty of different...
Reiner Hi djtaktik and welcome, I have answered your question in the related Pathfinder forum beca...
danver34 is this version the definitive one or from the original one have there been modifications to...
GraHal Ooops got that excited I sent that last one twice! ha (and can't delete it, sorry) I got it...
Eric n = 3  dont forget to allow 3 contract in proorder
UkCoopDownUnder Tried EURUSD GMT and GMT -1, as far back as I can go, Nov 2018 on 15mn Tf, 22% loss
hvluthy@sunrise.ch I'm very interested to try out your strategy, but as a bloody newbie I need some help regard...
Scalp Hola Adolfo, tengo una variante de tu estrategia, pero no se programar, me puedes ayudar al ...
ALZ Hi, I tested this strategy and that doesn't work.. strategy is losing.. Does anyone curr...
Doctrading Hello, Someone asked me something (his results seemed to be different) on my email, but it ...
Glen Marquis Not your best..So what is your best strategy? :)
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...
mamio Very nice indicator. Why doesn't it refresh as time passes?
Nicolas It should refresh on each bar.
mamio On my PC it doesn't refresh. I am using intraday tick bars (not minutes). Unfortunately I do...
Nicolas I would not recommend using this version of the linear regression channel, but this one inst...
Aragorna Hello, Is it possible to updated the indicator to the more updated versione of ProrealTime? ...
Nicolas Use that code instead: https://www.prorealcode.com/prorealtime-indicators/standard-deviation...
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 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...
EAxelsson Hi, shouldn´t it be or instead of and? if FiftyTwoWeekHigh = FiftyTwoWeekHigh[1] OR FiftyTwo...
qigley Line 4 has a redundant term "Close>EMA2." is not necessary as EMA2 will always be less t...
Mike.44 Thanks It a good job !
Nicolas
9 years ago
dave
9 years ago
Wolf Just for information: This calculate code is interesting, but it is not a Triangular Moving...
Dron Hola Lobo, soy nuevo en programación, pero me interesa ese indicador, en tu mensaje estas ha...
supertiti // TMA CENTER Channel by Dave modifié // parameters // HalfLength = 50 // AtrLength = 10...
211 Really nice indicator Nicolas! Well done!
supertiti Bonjour Nicolas comme j'avais l'impression qu'il en manque un bout j'ai fais ça : Peux...
Nicolas Merci supertiti ! C'est juste, encore un ptit bug quelquepart ! :|
Wisko But the BUY-trigger is below the High of the first two 15min-candels?
Nicolas That's right, because what we want is to enter the market quickly and not wait for the next ...
Wisko Then I don't understand the backtest data. Yesterday (28.9.) range was from ~ 4410,5 - 4450,...

Top