Bug Date plateforme

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #254160 quote
    paulPRT
    Participant
    New

    Hello,

     

    Je rencontre un bug avec PRT. Mon backtest est censé s’exécuter sur une période allant du 18 septembre 2025, au 2 décembre 2025, mais il s’arrête constamment à la fin de la journée du 18 septembre 2025.

    J’ai testé avec d’autres codes et je rencontre le même problème. J’ai également tenté de changer la date et de copier-coller mon code sur une autre page vierge mais rien à faire.

    Une idée de comment corriger cela?

     

    Voici mon code si besoin:

     

    //Defparam flatafter = 173000
    //Defparam flatbefore = 090000
    DEFPARAM CUMULATEORDERS = FALSE
    NumberOfShare = 1
    
    
    
    //startTime = 090000
    //endTime = 173000
    //if openTime >= startTime and openTime <= endTime then
    
    IF close > open AND close > high[1] AND open[1] > close[1] AND low < low[1] THEN
       //If close[2]< open[2] and mm20/mm20[1] > 1.00009 then
       buy NumberOfShare share at market
       set stop loss CIBLE
       set target profit CIBLE
    ENDIF
    //endif
    
    
    IF close < open AND close < low[1] AND open[1] < close[1] AND high > high[1] THEN
       //If close[2]> open[2] and mm20[1]/mm20 > 1.00009 then
       sellshort NumberOfShare share at market
       set stop loss CIBLE
       set target profit CIBLE
    ENDIF
    //endif
    //endif
    #254163 quote
    JS
    Participant
    Senior

    J’ai testé ton code sur la période indiquée et je n’ai rencontré aucun problème…
    As-tu suffisamment d’unités dans ton graphique… ?
    Le nombre d’unités dans ton graphique constitue la base de ta période de backtest…

    Iván González thanked this post
    #254172 quote
    paulPRT
    Participant
    New

    Je suis censé avoir la version premium, donc suffisamment d’unités. Je pense demander plus d’infos à la plateforme.

     

    Merci beaucoup JS

    JS thanked this post
    #254193 quote
    Iván González
    Moderator
    Master

    Bonjour. Je l’ai également testé et il fonctionne correctement.
    J’ai essayé différentes temporalités sans aucun problème.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.

Bug Date plateforme


ProBuilder : Indicateurs & Outils Personnalisés

New Reply
Author
author-avatar
paulPRT @paulprt Participant
Summary

This topic contains 3 replies,
has 3 voices, and was last updated by Iván González
2 months ago.

Topic Details
Forum: ProBuilder : Indicateurs & Outils Personnalisés
Language: French
Started: 12/02/2025
Status: Active
Attachments: 2 files
Logo Logo
Loading...