Bug Date plateforme

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

    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
    JSJS
    Participant
    Master

    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
    Scherm­afbeelding-2025-12-02-om-15.36.50.png Scherm­afbeelding-2025-12-02-om-15.36.50.png
    #254172 quote
    paulPRTpaulPRT
    Participant
    Junior

    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álezIván González
    Moderator
    Legend

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

    2025-12-03_11-04.png 2025-12-03_11-04.png
Viewing 4 posts - 1 through 4 (of 4 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

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álezIván González
9 months, 2 weeks ago.

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