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
LancerX This catch my attention, tried to load in pro order but not coming through. What variables n...
macdopa Hello ALE. Is there any way to help us develop or program an algo-strategy for automatic tr...
Giuseppe68 Ciao, sono nuovo e poco esperto, volevo chiedere perchè il ProBacktest lo esegue correttamen...
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
7 years 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.
Madrosat Bonjour Nicolas la formule du stop loss est elle vraiment valable ?? il n'y a pas au depart ...
Nicolas Il y a peut-être un erreur en effet, essayer avec: set stop ploss (averagetruerange[14] * ...
Madrosat ok merci Nicolas c'est avec /pipsize que ça fonctionne
GraHal Please forgive the daft question, but why is 3-bars-trailing-stop-williams-3.itf included a...
Kris75 Hi, Seems great but what would be the code for a stock ? Thanks, Chirs
oakenstream Paul, what is the best way in your opinion to know if I have over optimized?
edocasa CIAO , SCUSA SE TI CONTATTO,VOLEVO SAPERE SE SEI UN PROGRAMMATORE,NELCASO SE SARESTI DI...
gabri Non sono un genio ma so fare qualcosa. Posso provare ad aiutarti ma se e' troppo complicato ...
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 ...
Francesco78 @snucke the results are not the same because the pictures refers to a few years ago. I am no...
snucke @Francesco78 i mean the results differ when i test on my own. so im curious of what the p...
sfl still working, using with filters like : trendFilterUp=close>average[190](close) tren...
jobswaps vaya eres increible
jobswaps sigue subiendo mas contenido
Brisvegas If it seems to good to be true it is . Any long only system started at multi year lows will...
teddy58 This system is the only one running on my PC, which i didn´t developed my myself. My forcast...
xpiga Hi! Is this system still working good? Anyone has it in the live account? It looks great. T...
Paul_Going Dutch Proformence will be beter with other starting hours and closing hours @Inertia
JanWd Tried the code, nice concept, seems to work quit well for US/EUR 2hrs, Other markets seems n...
JR1976 Simple and nice code , congrats !!! Seems work well with TIme frame 1 h
phanz Hi all, Sorry revisiting an old post. This algo is simple, and simplicity is the ultimate ...
jens_kittner Since 2018 this strategy leads to bankruptcy)))))))
Jan Wind You do not HAVE to run it
Brisvegas As an exersize in writing code its fine but as a tool to make money not so much . If you hap...
simoneb ciao Gabri, potresti il modo più efficace per selezionare il paniere di 20-30 titoli su cui ...
gabri Simoneb, puoi creare uno screener che cerchi i titoli con un modified sharpe index inferiore...
gabri Dimenticavo, i titoli che performano meglio sono quelli che crossano la linea dello zero (o ...
bertrandpinoy BONJOUR PAUL impossible de tenter le trading automatique, PRT me dis que l instruction "GRAP...
Paul Bonjour, supprimez les lignes avec un "graph"
bertrandpinoy merci. vous l utiliser actuellment sur quel instrument vous? et quel timeframe? Merci
JanWd Hi Francesco, nice algorithme, works with me on other markets as well !
Francesco78 thank you Janwd. Do you mind sharing where it works? happy new year!
Aaron Bennett Nice analysis, with the proposed tweak I'm seeing great performance since 2008/QE on the CAC...
juanj And the point of violation is the close of the candle that violates the line by generating a...
juanj For the latest version of the strategy or to follow updates and developments see the thread ...
phanz i backtested it with 10K units of EURUSD 1 hour i get an equity curve that is going one way ...
EchnatonX Hallo Im Demomodus bei IG habe ich das Problem, dass oft keine Orders ausgeführt werden kön...
Jan EchnatonX, nice late answer of me: Make the stop loss a percentage of the close, like 100/...
guleny Hello I made some optimization to make it better. But there are 5 transacttion which incr...
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...
Roberto Blázquez Hi David, I just saw your strategy and it's good!!! I'm going to try it from today in real a...
stratobast Good afternoon everyone. Thanks Doctrading for your work. I have an issue while using this ...
stratobast My bad guys. I understood what was the problem. The indicator uses highs and lows for the Re...
samwarduk Has anyone tried this on Bitcoin GBP1? The results look amazing but every time mine trie...

Top