Blue Monday DAX

Blue Monday DAX

Hi guys,

here is another DAX trading idea. It is very simple and generates only few trades but it seems very profitable if it happens.
Have fun
Reiner

 

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 • 05/22/2016 #

    I only have 1 trade for this backtest… where is the bug ?
    Anyway, thanks for sharing.

  2. Doctrading • 05/22/2016 #

     
    Oh, sorry, it works fine !
    Few signals, but very performing since 2015.
    For end 2013 and 2014, no gain.
    It’s an interesting concept.

  3. Andres • 05/22/2016 #

    Very, very interesting and simple strategy. Many times it’s only neccesary see what happened day by day on the markets instead search and search complicated indicators.
    Thanks for share.
    Andrés.

  4. CKW • 05/22/2016 #

    Hi Reiner,
    Thanks for sharing! I have seen this trend quite often on blue Monday as your strategy, and also the next day (Tuesday) on same time very often goes opposite!!!
    So, I did some modification based on your code:

    Decrease CloseDiff to increase entry %
    Shorten the exit time
    Add in similar strategy on Tuesday but Sellshort

    Results is not bad too
    // MonTue DAX 5m

    // Code-Parameter
    DEFPARAM FlatAfter = 095500

    // trading window
    ONCE BuyTime = 085500
    ONCE SellTime = 093500

    ONCE UCloseDiff = 30
    ONCE DCloseDiff = 0

    ONCE PositionSize = 5
    ONCE sl = 50

    // Long all in, if it\'s Monday and the market is 30 points higher
    IF Not LongOnMarket AND Time = BuyTime AND (CurrentDayOfWeek = 1) THEN
    Diff = close - DClose(1)
    IF Diff > UCloseDiff THEN
    Buy PositionSize CONTRACT AT MARKET
    ENDIF
    ENDIF

    // Short all in, if it\'s Tuesday and the market is 30 points lower
    IF Not ShortOnMarket AND Time = BuyTime AND (CurrentDayOfWeek = 2) THEN
    Diff = close - DClose(1)
    IF Diff < DCloseDiff THEN
    Sellshort PositionSize CONTRACT AT MARKET
    ENDIF
    ENDIF

    // exit position
    IF LongOnMarket AND Time = SellTime THEN
    SELL AT MARKET
    ENDIF

    IF ShortOnMarket AND Time = SellTime THEN
    exitshort AT MARKET
    ENDIF

    // stop
    SET STOP pLOSS sl

     
     
     
     

    • Reiner • 05/22/2016 #

      Hi CKW,
      Thanks for your feedback. I have observed this behavior as well. The best rules are so simple.
      regards
      Reiner

  5. Bandido • 05/22/2016 #

    It seems very good also with cac40, and quite good with ftse100.
    Thank you!

  6. Kenneth Kvistad • 05/22/2016 #

    Any new updates or news about this strategy?

    • Reiner • 05/22/2016 #

      Hi Kenneth,
      Sorry for the late answer.
      I have tested this little strategy with 200.000 candles and updated the parameters. I know some crazy guys trading this little beauty and make a lot money last week. Please find the code below:
      // Blue Monday DAX

      // Code-Parameter
      DEFPARAM FlatAfter = 093500

      // trading window
      ONCE BuyTime = 85500
      ONCE SellTime = 93500

      ONCE CloseDiff = 50

      ONCE PositionSize = 25
      ONCE sl = 50

      // Long all in, if it\'s Monday and the market is 50 points higher
      IF Not LongOnMarket AND Time = BuyTime AND (CurrentDayOfWeek = 1) THEN
      Diff = close - DClose(1) // with Sunday quotes
      IF Diff > CloseDiff THEN
      BUY PositionSize CONTRACT AT MARKET
      ENDIF
      ENDIF

      // exit position
      IF LongOnMarket AND Time = SellTime THEN
      SELL AT MARKET
      ENDIF

      // stop
      SET STOP pLOSS sl

      best, Reiner

  7. mamio • 05/22/2016 #

    Hi,
    I only have one trade:
    25 contracts @10505,3 on 5th december 2016.
    What I am doing wrong?
    Regards!
     

    • Reiner • 05/22/2016 #

      Hi mamio,
      Sorry for the late answer.
      This strategy provides only few but very profitable trades. To see all trades you have to extend the number of 5M candles to the maximum possible value 100.000 or 200.000 for PRT premium.
      Best, Reiner

  8. morgan89 • 05/22/2016 #

    Bonjour Reiner,
    Merci pour la stratégie. Les résultats sont vraiment bons.Pour un compte de 10 000€, la taille de position est de 25. J’imagine que c’est un mini lot donc 25€/pips. Ce n’est pas trop ?Bonne journée

    • Reiner • 05/22/2016 #

      Bonjour morgan89,
      You can trade this idea with every size that fit to your account size. This signal isn’t very frequent but when it happens the probability to make money with it is very high. I agree 10k is to small for a full contract.
      Best, Reiner

  9. morgan89 • 05/22/2016 #

    Bonjour,
    Je voudrai savoir comment réinvestir les gains avec cette stratégie svp ?
    J’ai essayé  ONCE PositionSize = 25 + strategyprofit
    Mais ca ne fonctionne pas 🙂
    Merci de votre aide

    • Reiner • 05/22/2016 #

      // smart position sizing
      Capital = 10000
      Risk = 0.1
      StopCoefficient = 75
      equity = Capital + StrategyProfit
      maxrisk = round(equity * Risk)
      PositionSize = MAX(10, abs(round((maxrisk / StopCoefficient) / PointValue)))

       

  10. morgan89 • 05/22/2016 #

    Merci Reiner,Ca fonctionne parfaitement.Je ne comprends pas à quoi correspond StopCoefficient
    De même,  MAX(10,........
    Cela multiplie par 10 la valeur de abs()  ?

    • Reiner • 05/22/2016 #

      you’ll find more details here:
      https://www.prorealcode.com/blog/learning/money-management-prorealtime-code/
      With the MAX-statement you can determine a minimum position size in that example the size is always 10 as long the money management algo delivers a higher value then 10
       

  11. morgan89 • 05/22/2016 #

    La formule est légèrement différente.
    C’est normal ?
    StopLoss = 10 // Could be our variable X
    PositionSize = abs(round((maxrisk/StopLoss)/PointValue)*pipsize)

  12. danver34 • 05/22/2016 #

    is the Monday strategy based on some kind of trade gap strategy ?
     

  13. ALZ • 05/22/2016 #

    Hi Everybody
    Sure.. this strategy works too with CAC40 for example,
    Just necessary to adapt time, diff, & days which are specifics for each market..

    About this strategy, i’m puzzled because i think there is maybe another possibility to the code concerning the exit position.. i’m currently checking ..

avatar
Register or

Likes

avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar
Related users ' posts
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...
zilliq I think the "best"  method to backtest is  to do a simplier Walk forward backtest (and we ho...
volpiemanuele Hi, I have modified and optimized the strategy on FTSE 100 CASH Eur 1 on IG demo account. B...
Doctrading Defparam cumulateorders = false n=1 // Plus le "ratio" monte, moins il y a de positions ...
Malloc Bonjour :) Je sais que cette stratégie a été partagée il y a de ça plusieurs années mais ...
lilo789 Hi guys! Do you know if it is possible to set the buy size to a relative % of the available...
JR1976 Sembra performare molto bene   
giulomb E' tanto tempo che non lo guardo , non so neanche se il trading system soffre di iperottimiz...
giulomb E' tanto tempo che non lo guardo , non so neanche se il trading system soffre di iperottimiz...
luigiR Hallo doc, thank again for your strategy but can you suggest me  an example of the optimizat...
Wilko Do NOT take this system live! The backtest results will never be repeated live due to a shor...
mrripley99 So I've played around with this just recently and have achieved some good results in an IG d...
TradSuz C'est étrange, je note donc à nouveau les deux horaires achat et vente =9H/17H, le iRSI de l...
TradSuz Merci à Doctrading pour cette trame de code super et qui marche sur d'autres supports aussi....
Bibi83 Bonsoir à tous Juste pour vous informer que j'ai enlever les conditions short et que cela ...
Doctrading Yes, nice improvement ! You should test it with 20 points spread (common spread on IG Marke...
bandido Ho provato questa strategia anche sul dax, a causa dell'elevato spread IG sul ftse mib. Con...
gianlox con quale timeframe hai provato sul dax ?
Doctrading Maybe you can also change the hourly beginning of the day (not 23PM but 12AM, OOH in french)...
Duccio Hi Doctrading,there is a way to control the max loss of the positions in this code? For exa...
Doctrading Hello, Yes, there is a command I think, but I don't know it. Nicolas knows it. You can als...
verdi55 Strategies for sale usually are not worth their money, 'cause if they were, the author would...
triss1965@gmail.com Thats not cool at all.
demha sak Hello, I improved your algorithm by adding long positions: ``` DEFPARAM CumulateOrders = ...
giulomb Non capisco dove sta la strategia reversal
gianlox L'allegato Reversal-AUDNZD-4H.itf lo vedi ? Comunque la strategia è la stessa che vedi nel l...
entony salve qualcuno l ha provata in reale come sta andando??? bel lavoro comunque grazie  
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 RSI is an oscillator made for price centering. This strategy bet on mean reverting phenomena...
air Good start. Works decently during stock runaway bull market. I have tested it over 80 year p...
TheHovisTrader Hi - the way Larry trades it does not work - discovered that over 10 years ago! BUT If you ...
Nicolas You can try this code for buy and hold curve line: capital = 10000 mylot = 2 i1 = capi...
soukenson Bonjour Nicolas, Je ne comprends pas où ajouter le code que tu as a donné dans le code initi...
Nicolas Tu veux parler du code pour comparer avec le "buy and hold" ? Si oui, tu as tout ce qu'il fa...
phili711 Bonjour Si la moyenne 100 est au dessus de la moyenne 20 le trend est baissier zlors pourqu...
Nicolas La comparaison se fait entre la valeur de la moyenne actuelle et telle qu'elle était il y a ...
Thomas007 we should definitely open a new thread for intraday trading - can we post the link once it's...
Glen Marquis I wonder how this fairs on 5 or 15 mins. Maybe 21 or 25 instead of 14 .
Doctrading Hello, you can test it. It's not my best strategy... but I think someone can improve it.
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...
Nicolas Aucune immobilisation du capital. Quel est le drawdown du buy & hold ? Je ne l'ai pas ca...
jctrader ok pour le codage mais le choix "indice" n'est pas le bon : moins de 5%/an pour le meilleur ...
Thomas Hi Nicloas nice one i do understand :D im trying to put in MA200 as a criteria so it only go...
DonDollar ...and I do not see any opened positions...strange...
DonDollar I found the answer by myself for the second question. But still no idea about the False and ...
Nicolas The line 12 of the code is the answer of your question. Before launching a new trade, the co...

Top