As far as I know, DAX v6 stops after 12 bars with no profit.
CNParticipant
Senior
Ah, thanks @dajvop, my bad.
Right now we have DOW 4h v6 running since Feb 06 13.00. In backtest there is no order…
Why?
Thank you Reiner and everybody else for all the work on Pathfinder.
I would like to test the system with only long positions.
But with my poor coding knowledge i only get error when trying.
Maby someone can help me with this?
Hi Gordon Gekko and welcome,
Simply replace the two SELLSHORT instructions with SELL AT MARKET and remove all EXITSHORT instructions – that’s it.
// short entry without order cumulation
IF NOT SHORTONMARKET AND ( (s1 AND f3) OR (s2 AND f1) ) AND NOT alreadyReducedShortPosition THEN
// check saisonal booster setup and max position size
IF saisonalPatternMultiplier < 0 THEN
IF (COUNTOFPOSITION + (positionSize * ABS(saisonalPatternMultiplier))) <= maxPositionSizeShort THEN
//SELLSHORT positionSize * ABS(saisonalPatternMultiplier) CONTRACT AT MARKET
SELL AT MARKET
ENDIF
ELSIF saisonalPatternMultiplier <> 0 THEN
IF (COUNTOFPOSITION + positionSize) <= maxPositionSizeLong THEN
//SELLSHORT positionSize CONTRACT AT MARKET
SELL AT MARKET
ENDIF
ENDIF
IF SHORTONMARKET AND (m2 OR m4) THEN
//EXITSHORT AT MARKET
ENDIF
Best, Reiner
CNParticipant
Senior
Dax V6 closed with a loss from 11507.9 -> 11557,9
14 bars as it should.
HS v6 long x 3 at 9am at 23505.2.
Best regards, David
DOW v6 long x 2 closed at 1pm at 20078.9.
CNParticipant
Senior
Dow v6 just went long 20234.7
SYParticipant
New
Hi, I am testing NIKKEI, DOW and DAX on PRT. I noticed that the code runs only for specific hours of the day. My PRT is running in GMT +8 (Singapore), do I have to change to the GMT +8 time settings?
@Wee Siew Yen
I live in Shanghai but run PRT with GMT+1, it is just easier that way.
Best regards, David
SYParticipant
New
Thanks David. So I assume all the codes (even for Hang seng, NIKKEI, DOW) posted are coded based on GMT +1 ?
Btw I’m based in Shanghai too. 🙂
Yes, all codes posted so far are based on GMT+1.
HS v6 closed long x 3 at 5am at 23673.1 and opened short x 1 at 23673.1.