1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
DEFPARAM Preloadbars = 200
DEFPARAM CumulateOrders = False
Positionsize = 1
c2 = time = 090000
c4 = time = 100000
c5 = time = 110000
c6 = time = 120000
c7 = time = 130000
c8 = time = 140000
c8 = time = 150000
IF c2 or c4 or c5 or c6 or c7 or c8 THEN
BUY Positionsize SHARES AT MARKET
ENDIF
exit2 = time = 100000
exit3 = time = 110000
exit4 = time = 120000
exit5 = time = 130000
exit6 = time = 140000
exit7 = time = 150000
exit8 = time = 160000
If exit2 or exit3 or exit4 or exit5 or exit6 or exit7 or exit8 THEN
sell at market
ENDIF
Hallo,
ich wollte mit diesen Code testen in welcher Stunde am meisten Bewegung drin ist.
leider werden nur Trades von 09 – 10 Uhr gemacht. Ich hatte schon if not long onmarket rausgenommen.
Warum werden die zeiten nach 10 Uhr nicht gehandelt?
Das selbe wollte ich noch auf dem 5 Minuten Chart machen für 5 Minuten Kerzen
Danke und gruß