Pathfinder Trading System

Viewing 15 posts - 166 through 180 (of 1,835 total)
  • Author
    Posts
  • #15788 quote
    miguel33
    Participant
    Senior

    I’ve also had the same problem and I have to manually run closing to follow faithfully pathfinder (lucky with best gain). however, the problem exists

    #15789 quote
    miguel33
    Participant
    Senior

    right, but I tried the code does not work

    #15794 quote
    wp01
    Participant
    Master

    @Reiner.

    In the version V4 where Miguel suggested “avoid reopen of intraday positions in same direction” the position closed normal this morning at 09.00 O’clock.

    Part of the changes made at that time:

     

    IF NOT SHORTONMARKET  AND ( (s1 AND f3) OR (s2 AND f1) ) AND not reduceShortInTradingWindow THEN // no cumulation for short trades #Miguel
    
    IF ( l1 OR l4 OR l2 OR (l3 AND f2) )AND not reduceLongIntradingWindow THEN  // cumulate orders for long trades #Miguel
    
    // save position before trading window is open #Miguel
    If Time < startTime then
    startPositionLong = COUNTOFLONGSHARES
    startPositionShort = COUNTOFSHORTSHARES

    Could this be part of the reason why the position didn’t close in the latest version?

    Regards,

    Patrick

    #15800 quote
    miguel33
    Participant
    Senior

    as I said earlier in the real version I closed manually (and was good idea) while demo let it go and see what happens. Who has not closed today suffers loss. Immediately understand what is happening and ‘important.
    good job

    #15803 quote
    flowsen123
    Participant
    Senior

    The same happened to me and I use a modified Version3 Programm.

    Maybe it happend due to the “Zeitumstellung”, because on Saturday the time changed from Summertime to Wintertime. But in the Backtest everthing worked fine.

    I wrote the technical support. You can reach it by “strg+M” or under “help” in the ProRealtime Program.

    #15804 quote
    wp01
    Participant
    Master

    @Reiner,

    for your information:

    I also had live the OMX mini with the same issue. A stop on the bar yesterday at 09.00 but the position didn’t close yesterday. But the position did close today at 09.00 with a day delay.

    Maybe it has indead something to do with what flowsen123 already said about the summer and wintertime.

    Regards,

    Patrick

    #15805 quote
    miguel33
    Participant
    Senior

    you probably is a problem with the LG server time Time London. I’m testing pathfindher with MT4 and these problems

    #15806 quote
    wp01
    Participant
    Master

    On the other hand V4 did stop in time yesterday. Than the hour difference doesn’t make sense. It should either both continue or both stop.

    #15807 quote
    miguel33
    Participant
    Senior

    in backtest works with time servers. only reason I see no alternative, and in fact ‘the problem I have on MT4

    wp01 thanked this post
    #15810 quote
    ALE
    Moderator
    Master

    The same for me, but i’ve stopped It in profit

    #15817 quote
    Reiner
    Participant
    Veteran

    Hi guys,

    the calculation of the maximum holding period for short trades in V5B2 is faulthy. Reason is the changed calculation of position profit. I thought that the following used code in V4 is wrong for short trades:

    posProfit = (((close - positionprice) * pointvalue) * countofposition) / pipsize

    but this assumption wasn’t correct because countofposition for short trades is of course negativ and therefore the V4 formular is right and the V5 formular is wrong. Here is correct code for the calculation of the maximum holding period:

    // stop and profit management
    posProfit = (((close - positionprice) * pointvalue) * countofposition) / pipsize
    
    m1 = posProfit > 0 AND (BarIndex - TradeIndex) >= maxCandlesLongWithProfit
    m2 = posProfit > 0 AND (BarIndex - TradeIndex) >= maxCandlesShortWithProfit
    m3 = posProfit < 0 AND (BarIndex - TradeIndex) >= maxCandlesLongWithoutProfit
    m4 = posProfit < 0 AND (BarIndex - TradeIndex) >= maxCandlesShortWithoutProfit
    
    IF LONGONMARKET AND (m1 OR m3) THEN
    SELL AT MARKET
    ENDIF
    IF SHORTONMARKET AND (m2 OR m4) THEN
    EXITSHORT AT MARKET
    ENDIF

    Sorry, for the confusion, Reiner

    H_kan, Cosmic1, reb and jamesgodfrey80 thanked this post
    #15833 quote
    MichiM
    Participant
    Senior

    Hallo Reiner,

    als Fan deiner Pathfinder Reihe muss ich dir jetzt doch mal schreiben. Ich hoffe, dass ich den Link für das Verständnis anhängen kann.

    Was ist passiert? (und nicht das erste Mal). Der Dax Pathfinder V4 ist gestern um 09:00 Uhr aus dem Short @ 10653 mit ca. 45.00€ Gewinn ausgestiegen. ABER im Live Trading ist das leider nicht passiert. Wie kann das sein ? Ist das ein Problem von PRT oder IG?? Hattest du das auch schon ein mal?

    https://picload.org/image/rdigciio/reiner4hv4.png

    https://picload.org/image/rdigciic/reiner4hv4teil2.png

    #15835 quote
    MichiM
    Participant
    Senior

    Ich glaube man kann die Screenshots im Internet anschauen.

    Letzte Woche ist mir das gleiche beim FTSE passiert. Laut Backtest war der 4h FTSE nicht mehr short, aber in Wirklichkeit hat er mir 142 £ gebracht. Ein liebes Dankeschön an dieser Stelle. Die Frage ist nun, bin ich der Einzige der dieses Problem hat? Ist der Backtest in der der PRT Version 10.2 nur ein Fake?? Oder hat es damit zu tun, dass ich in der Schweiz mit IG verbunden bin?? Die Daten, sollten ja die gleichen sein.

    #15849 quote
    miguel33
    Participant
    Senior

    Pathfinder in demo or real closed the position on November 1 at 13.00 while in backtest closed position 31 ottobre 17.00

    #15853 quote
    flowsen123
    Participant
    Senior

    Hey Reiner,

    thank you for looking into it. Maybe the code you changed is part of the problem, but I am running a program based on the version 3 which still has the “old” code for the max. number of candles and I had the same problem. And I think it is odd, that the backtest is showing the right results, but the live mode acted differently. Maybe the program is too complex for prorealtime and it needs more time calculate the positions 😉

Viewing 15 posts - 166 through 180 (of 1,835 total)
  • You must be logged in to reply to this topic.

Pathfinder Trading System


ProOrder support

New Reply
Author
author-avatar
Reiner @reiner Participant
Summary

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

Topic Details
Forum: ProOrder support
Language: English
Started: 09/22/2016
Status: Active
Attachments: 435 files
Logo Logo
Loading...