Pathfinder Trading System

Viewing 15 posts - 796 through 810 (of 1,835 total)
  • Author
    Posts
  • #24291 quote
    dajvopdajvop
    Participant
    Master

    As far as I know, DAX v6 stops after 12 bars with no profit.

    #24292 quote
    CNCN
    Participant
    Senior

    Ah, thanks @dajvop, my bad.

    #24299 quote
    H_kanH_kan
    Participant
    Senior

    Right now we have DOW 4h v6 running since Feb 06 13.00. In backtest there is no order…

    Why?

    #24366 quote
    Gordon GekkoGordon Gekko
    Participant
    Average

    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?

    #24375 quote
    ReinerReiner
    Participant
    Veteran

    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

    #24379 quote
    Gordon GekkoGordon Gekko
    Participant
    Average

    Thanks again Reiner.

    #24444 quote
    CNCN
    Participant
    Senior

    Dax V6 closed with a loss from 11507.9 -> 11557,9

    14 bars as it should.

    #24468 quote
    dajvopdajvop
    Participant
    Master

    HS v6 long x 3 at 9am at 23505.2.

    Best regards, David

    #24488 quote
    dajvopdajvop
    Participant
    Master

    DOW v6 long x 2 closed at 1pm at 20078.9.

    #24601 quote
    CNCN
    Participant
    Senior

    Dow v6 just went long 20234.7

    Pfeiler and dajvop thanked this post
    #24876 quote
    SYSY
    Participant
    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?

    #24878 quote
    dajvopdajvop
    Participant
    Master

    @Wee Siew Yen

    I live in Shanghai but run PRT with GMT+1, it is just easier that way.

    Best regards, David

    #24881 quote
    SYSY
    Participant
    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. 🙂

    #24917 quote
    dajvopdajvop
    Participant
    Master

    Yes, all codes posted so far are based on GMT+1.

    #24919 quote
    dajvopdajvop
    Participant
    Master

    HS v6 closed long x 3 at 5am at 23673.1 and opened short x 1 at 23673.1.

    Pfeiler thanked this post
Viewing 15 posts - 796 through 810 (of 1,835 total)
  • You must be logged in to reply to this topic.
ProRealAI ProRealAI New

Stuck on this ProBuilder code?

Describe what this topic is trying to build, in plain English, and ProRealAI writes the ProRealTime™ indicator, screener or system for you.

Available in 7 languages
Try ProRealAI

Pathfinder Trading System


ProOrder: Automated Strategies & Backtesting

New Reply
Author
author-avatar
Reiner @reiner Participant
Summary

This topic contains 1,834 replies,
has 139 voices, and was last updated by CFD AutoTradingCFD AutoTrading
3 years, 2 months ago.

Topic Details
Forum: ProOrder: Automated Strategies & Backtesting
Language: English
Started: 09/22/2016
Status: Active
Attachments: 435 files
ProRealCode ProRealCode
Loading...