Credits to Algotradern and Andre Stagge
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
//-------------------------------------------------------------------------
// Main code : Turnaround Tuesday
//-------------------------------------------------------------------------
//Turnaround Tuesday by Andre Stagge
//Published 2017-09-26
//Written by Algotradern 2021-06-14
//DAX 1H TimeFrame
DEFPARAM CUMULATEORDERS = False
TimeFrame (1 day , updateonclose )
MA34 = Average [ 34 ] (Close )
TimeFrame (default )
If DayOfWeek = 1 And Time = 170000 And Close < MA34 Then
Buy 1 contract at market
SET STOP %LOSS 1.6
EndIf
If DayOfWeek = 3 And Time = 090000 And OnMarket Then
Sell At Market
EndIf
I will update this thread with live results
1 user thanked author for this post.