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
// Blue Monday DAX
// Code-Parameter
DEFPARAM FlatAfter = 095500
// trading window
ONCE BuyTime = 85500
ONCE SellTime = 95500
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)
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
You must be logged in to post a comment.
Any new updates or news about this strategy?
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
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:
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
Oh, sorry, it works fine !
Few signals, but very performing since 2015.
For end 2013 and 2014, no gain.
It's an interesting concept.
I only have 1 trade for this backtest... where is the bug ?
Anyway, thanks for sharing.
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 ..