Anybody got the same problem? demo account orders delayed

Viewing 7 posts - 16 through 22 (of 22 total)
  • Author
    Posts
  • #63949 quote
    Ulrike
    Moderator
    Senior

    Hi JohnScher,

    Since you have a direct account (not an IG account sponsored by ProRealTime), IG will analyze the support request you sent via the platform and may contact IT-Finance (editor of the ProRealTime Software) to check the behavior of your code.

    If you send me your IG account number by email to contact@prorealtime.com I can contact my colleagues at IT-Finance in this matter.

    Best,

    Ulrike

    #63958 quote
    JohnScher
    Participant
    Veteran

    @Grahal

     

    No Problem

     

    //-------------------------------------------------------------------------
    // Hauptcode : DailyOpenLong
    //-------------------------------------------------------------------------
    //-------------------------------------------------------------------------
    // Hauptcode : EA01 nur Long % pf
    //-------------------------------------------------------------------------
    
    //defparam flatafter = 210000
    defparam cumulateorders = false
    
    ONCE January1 = 3 //0 risk(3)
    ONCE January2 = 0 //3 ok
    ONCE February1 = 3 //3 ok
    ONCE February2 = 3 //0 risk(3)
    ONCE March1 = 3 //0 risk(3)
    ONCE March2 = 2 //3 ok
    ONCE April1 = 3 //3 ok
    ONCE April2 = 3 //3 ok
    ONCE May1 = 1 //0 risk(1)
    ONCE May2 = 1 //0 risk(1)
    ONCE June1 = 1 //1 ok 2
    ONCE June2 = 2 //3 ok
    ONCE July1 = 3 //1 chance
    ONCE July2 = 2 //3 ok
    ONCE August1 = 2 //1 chance 1
    ONCE August2 = 3 //3 ok
    ONCE September1 = 3 //0 risk(3)
    ONCE September2 = 0 //0 ok
    ONCE October1 = 3 //0 risk(3)
    ONCE October2 = 2 //3 ok
    ONCE November1 = 1 //1 ok
    ONCE November2 = 3 //3 ok
    ONCE December1 = 3 // 1 chance
    ONCE December2 = 2 //3 ok
    
    
    // set saisonal multiplier
    currentDayOfTheMonth = Day
    midOfMonth = 15
    IF CurrentMonth = 1 THEN
    IF currentDayOfTheMonth <= midOfMonth THEN
    saisonalPatternMultiplier = January1
    ELSE
    saisonalPatternMultiplier = January2
    ENDIF
    ELSIF CurrentMonth = 2 THEN
    IF currentDayOfTheMonth <= midOfMonth THEN
    saisonalPatternMultiplier = February1
    ELSE
    saisonalPatternMultiplier = February2
    ENDIF
    ELSIF CurrentMonth = 3 THEN
    IF currentDayOfTheMonth <= midOfMonth THEN
    saisonalPatternMultiplier = March1
    ELSE
    saisonalPatternMultiplier = March2
    ENDIF
    ELSIF CurrentMonth = 4 THEN
    IF currentDayOfTheMonth <= midOfMonth THEN
    saisonalPatternMultiplier = April1
    ELSE
    saisonalPatternMultiplier = April2
    ENDIF
    ELSIF CurrentMonth = 5 THEN
    IF currentDayOfTheMonth <= midOfMonth THEN
    saisonalPatternMultiplier = May1
    ELSE
    saisonalPatternMultiplier = May2
    ENDIF
    ELSIF CurrentMonth = 6 THEN
    IF currentDayOfTheMonth <= midOfMonth THEN
    saisonalPatternMultiplier = June1
    ELSE
    saisonalPatternMultiplier = June2
    ENDIF
    ELSIF CurrentMonth = 7 THEN
    IF currentDayOfTheMonth <= midOfMonth THEN
    saisonalPatternMultiplier = July1
    ELSE
    saisonalPatternMultiplier = July2
    ENDIF
    ELSIF CurrentMonth = 8 THEN
    IF currentDayOfTheMonth <= midOfMonth THEN
    saisonalPatternMultiplier = August1
    ELSE
    saisonalPatternMultiplier = August2
    ENDIF
    ELSIF CurrentMonth = 9 THEN
    IF currentDayOfTheMonth <= midOfMonth THEN
    saisonalPatternMultiplier = September1
    ELSE
    saisonalPatternMultiplier = September2
    ENDIF
    ELSIF CurrentMonth = 10 THEN
    IF currentDayOfTheMonth <= midOfMonth THEN
    saisonalPatternMultiplier = October1
    ELSE
    saisonalPatternMultiplier = October2
    ENDIF
    ELSIF CurrentMonth = 11 THEN
    IF currentDayOfTheMonth <= midOfMonth THEN
    saisonalPatternMultiplier = November1
    ELSE
    saisonalPatternMultiplier = November2
    ENDIF
    ELSIF CurrentMonth = 12 THEN
    IF currentDayOfTheMonth <= midOfMonth THEN
    saisonalPatternMultiplier = December1
    ELSE
    saisonalPatternMultiplier = December2
    ENDIF
    Endif
    
    
    //-------------------------------------------------------------------------
    // Hauptcode : EA01 nur Long %
    //-------------------------------------------------------------------------
    //-------------------------------------------------------------------------
    // Hauptcode : H4 live
    //-------------------------------------------------------------------------
    
    
    position = 1
    //-------------------------------------------------------------------------
    // Hauptcode : EA01 nur Long %
    //-------------------------------------------------------------------------
    //-------------------------------------------------------------------------
    // Hauptcode : H4 Live
    //-------------------------------------------------------------------------
    
    
    //cx = CALL "NR7"
    //cx1 = cci[11]<80
    //cx2 = cci[21]>-90
    //cx3 = Momentum[6](close)>0
    //cx4 = ADX[11] >35
    //cx5 = MoneyFlow[11](close)>0
    cx6 = TR(close) >25
    //cx7 = PVT(close)>-1
    //cx8 = EaseOfMovement[14]<95
    //cx9 = SmoothedStochastic[14,3](close)<95
    //cx10 = PriceOscillator[5,25](close)<0.5
    //cx11 = LinearRegressionSlope[10](close)>-14
    //cx12 = AccumDistr(close)>-0.1
    //cx13 = Chandle [51](close)>-95
    //cx14 = Chandle [51] (close)<95
    //cx15 = STD[6](close)>-99
    cx15 = repulse [3] (close) >0.3
    
    
    
    //TradingDayShort = dayofweek = 1 or dayofweek = 2 or dayofweek = 3 or dayofweek = 4 or dayofweek = 5
    TradingDayLong =  dayofweek =1 or dayofweek = 2 or dayofweek = 3 or  dayofweek = 4 or dayofweek = 5
    
    //TradingTimeShort = time = 090000 or time = 130000 or time = 170000
    TradingtimeLong =    time = 090000 //or time = 130000 // or time = 170000
    
    
    
    IF  TradingDayLong and TradingTimeLong Then
    IF  cx6 and   cx15 Then
    IF TEMA   [4] (close)  >  ExponentialAverage   [4] (close) THEN
    buy position*saisonalPatternMultiplier CONTRACT AT MARKET
    ENDIF
    Endif
    Endif
    
    
    IF repulse [3] (close) <-0.3 then
    sell at market
    Endif
    
    //Set Stop %Loss 0.75
    Set Target %Profit 2.6
    

     

     

    and this code works delayed too

    //-------------------------------------------------------------------------
    // Hauptcode : EA01 nur Short % pf
    //-------------------------------------------------------------------------
    defparam flatafter = 210000
    
    
    ONCE January1 = 3 //0 risk(3)
    ONCE January2 = 0 //3 ok
    ONCE February1 = 3 //3 ok
    ONCE February2 = 3 //0 risk(3)
    ONCE March1 = 3 //0 risk(3)
    ONCE March2 = 2 //3 ok
    ONCE April1 = 3 //3 ok
    ONCE April2 = 3 //3 ok
    ONCE May1 = 1 //0 risk(1)
    ONCE May2 = 1 //0 risk(1)
    ONCE June1 = 1 //1 ok 2
    ONCE June2 = 2 //3 ok
    ONCE July1 = 3 //1 chance
    ONCE July2 = 2 //3 ok
    ONCE August1 = 2 //1 chance 1
    ONCE August2 = 3 //3 ok
    ONCE September1 = 3 //0 risk(3)
    ONCE September2 = 0 //0 ok
    ONCE October1 = 3 //0 risk(3)
    ONCE October2 = 2 //3 ok
    ONCE November1 = 1 //1 ok
    ONCE November2 = 3 //3 ok
    ONCE December1 = 3 // 1 chance
    ONCE December2 = 2 //3 ok
    
    
    // set saisonal multiplier
    currentDayOfTheMonth = Day
    midOfMonth = 15
    IF CurrentMonth = 1 THEN
    IF currentDayOfTheMonth <= midOfMonth THEN
    saisonalPatternMultiplier = January1
    ELSE
    saisonalPatternMultiplier = January2
    ENDIF
    ELSIF CurrentMonth = 2 THEN
    IF currentDayOfTheMonth <= midOfMonth THEN
    saisonalPatternMultiplier = February1
    ELSE
    saisonalPatternMultiplier = February2
    ENDIF
    ELSIF CurrentMonth = 3 THEN
    IF currentDayOfTheMonth <= midOfMonth THEN
    saisonalPatternMultiplier = March1
    ELSE
    saisonalPatternMultiplier = March2
    ENDIF
    ELSIF CurrentMonth = 4 THEN
    IF currentDayOfTheMonth <= midOfMonth THEN
    saisonalPatternMultiplier = April1
    ELSE
    saisonalPatternMultiplier = April2
    ENDIF
    ELSIF CurrentMonth = 5 THEN
    IF currentDayOfTheMonth <= midOfMonth THEN
    saisonalPatternMultiplier = May1
    ELSE
    saisonalPatternMultiplier = May2
    ENDIF
    ELSIF CurrentMonth = 6 THEN
    IF currentDayOfTheMonth <= midOfMonth THEN
    saisonalPatternMultiplier = June1
    ELSE
    saisonalPatternMultiplier = June2
    ENDIF
    ELSIF CurrentMonth = 7 THEN
    IF currentDayOfTheMonth <= midOfMonth THEN
    saisonalPatternMultiplier = July1
    ELSE
    saisonalPatternMultiplier = July2
    ENDIF
    ELSIF CurrentMonth = 8 THEN
    IF currentDayOfTheMonth <= midOfMonth THEN
    saisonalPatternMultiplier = August1
    ELSE
    saisonalPatternMultiplier = August2
    ENDIF
    ELSIF CurrentMonth = 9 THEN
    IF currentDayOfTheMonth <= midOfMonth THEN
    saisonalPatternMultiplier = September1
    ELSE
    saisonalPatternMultiplier = September2
    ENDIF
    ELSIF CurrentMonth = 10 THEN
    IF currentDayOfTheMonth <= midOfMonth THEN
    saisonalPatternMultiplier = October1
    ELSE
    saisonalPatternMultiplier = October2
    ENDIF
    ELSIF CurrentMonth = 11 THEN
    IF currentDayOfTheMonth <= midOfMonth THEN
    saisonalPatternMultiplier = November1
    ELSE
    saisonalPatternMultiplier = November2
    ENDIF
    ELSIF CurrentMonth = 12 THEN
    IF currentDayOfTheMonth <= midOfMonth THEN
    saisonalPatternMultiplier = December1
    ELSE
    saisonalPatternMultiplier = December2
    ENDIF
    Endif
    
    
    //-------------------------------------------------------------------------
    // Hauptcode : EA01 nur Short %
    //-------------------------------------------------------------------------
    //-------------------------------------------------------------------------
    // Hauptcode : H4 live
    //-------------------------------------------------------------------------
    
    
    position = 1
    
    
    cx = CALL "NR7"  // see below
    cx1 = cci[11]<90
    cx2 = cci[21]>-90
    cx3 = Momentum[14](close)<100
    cx4 = ADX[11] >15
    // cx5 = MoneyFlow[11](close)<0
    //cx6 = TR(close) >25
    //cx7 = PVT(close)<1
    cx8 = EaseOfMovement[14]<95
    cx9 = SmoothedStochastic[14,3](close)<95
    cx10 = PriceOscillator[5,25](close)<0.5
    //cx11 = LinearRegressionSlope[14](close)>-1
    cx12 = AccumDistr(close)>-0.1
    cx13 = Chandle [21](close)>-51
    //cx14 = Chandle [6] (close)<51
    cx15 = STD[6](close)<90
    
    
    TradingDayShort = dayofweek = 1  or dayofweek = 2 or dayofweek = 3 or dayofweek = 4 or dayofweek = 5
    //TradingDayLong = dayofweek = 1 or dayofweek = 2 or dayofweek = 3  or  dayofweek = 4 or dayofweek = 5
    
    TradingTimeShort =  time = 090000 or time = 130000 or time = 170000
    //TradingtimeLong = time = 090000 or Time = 130000 or time = 170000
    
    IF  TradingDayShort and TradingTimeShort Then
    IF not cx  Then
    IF cx1 and cx2 and cx3 and cx4  and cx8 and  cx9 and cx10 and cx12  and cx13  and cx15  Then
    IF ExponentialAverage [1] (close) < ExponentialAverage [8] (close) THEN
    sellshort position*saisonalPatternMultiplier CONTRACTS AT MARKET
    ENDIF
    Endif
    Endif
    Endif
    
    
    
    
    Set Stop %Loss 1
    Set Target %profit 2.4
    
    
    //-------------------------------------------------------------------------
    // funktion : idnr7 = cx
    //-------------------------------------------------------------------------
    
    
    //cx= Range<Range[1] and Range<Range[2] and Range<Range[3] and Range<Range[4] and Range<Range[5] and Range<Range[6] and Range<Range[7]
    
    //RETURN C1
    
    #63959 quote
    JohnScher
    Participant
    Veteran

    @ulrike

     

    pls check your mails at     support@prorealtime.com

    I answered your mail

    ty

    #64632 quote
    GraHal
    Participant
    Master

    Hi John

    I’ve had one of the versions above running since 26 Feb on 4 H and 1H to check for the 15 min delay, but neither TFs have opened a trade yet sorry.

    I recall other version said I needed an Indicator (NR7 ? ) so I didn’t set that running.

    Cheers
    GraHal

    #64724 quote
    JohnScher
    Participant
    Veteran

    what a miracle?
    This morning 09:00 a. m., just now, one of the programs triggered the order correct on time.
    Until 9 p. m. yesterday evening, the programs started the orders late.
    Sea attached… delayed until yesterday

    #64816 quote
    JohnScher
    Participant
    Veteran

    The position opened this morning was a new program that was launched for the first time.
    Existing programs will continue to be delayed.
    See attached.

    Now I have stopped one of the existing programs and then restarted it, maybe this will help.

    #64902 quote
    JohnScher
    Participant
    Veteran

    The problem is solved.

    Cause: Installation of an update provided by PRT on my computer.
    Effect: Orders were executed 15 minutes later than programmed, i. e. 09:15 instead of 09:00.
    Solution: stop the programs in the ProOrder with the red “Stop” and then restart the programs with the green “Start”.
    After restarting the programs, the orders are executed again correctly.
    The order statistics of the individual programs are retained.

    Translated with http://www.DeepL.com/Translator

    GraHal thanked this post
Viewing 7 posts - 16 through 22 (of 22 total)
  • You must be logged in to reply to this topic.

Anybody got the same problem? demo account orders delayed


ProRealTime platform support

New Reply
Author
author-avatar
JohnScher @johnscher Participant
Summary

This topic contains 21 replies,
has 6 voices, and was last updated by JohnScher
7 years, 10 months ago.

Topic Details
Forum: ProRealTime platform support
Language: English
Started: 02/13/2018
Status: Active
Attachments: 11 files
Logo Logo
Loading...