problème de calcul annoncé a l’ouverture

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #196645 quote
    kats
    Participant
    Junior

    bonjour,
    j’ai créé un multipivot que j affiche sur le 1h. affiche le pivot daily , le pivot 4h et le pivot 1h qui est le time frame par defaut.
    lorsque je mets en route le matin , un message m’affiche qu’il y a un problème de calcul pour l’indicateur alors que après avoir dit abandonné et ouvert la plateforme sans l’indic je peux le mettre comme indicateur sans qu’il y est le moindre problème de calcul.
    pour moi c’est incompréhensible car si il y avait réellement un problème de calcul dans l’indicateur il ne serait pas possible de le charger sans erreur ensuite lorsque la plateforme est lancée.
    ci apres le code
    y a t il un probleme

    timeframe (DAILY,updateonclose)
    pivotD=((high[0]+low[0]+close[0]+open[0]))/4
    
    
    
    
    timeframe (4HOUR,updateonclose)
    pivot4H=((high[0]+low[0]+close[0]+open[0]))/4
    
    
    
    timeframe (1HOUR,updateonclose)
    pivot1H=((high[0]+low[0]+close[0]+open[0]))/4
    
    
    
    
    IF PIVOT1H >PIVOT4H THEN//AND PIVOT5>PIVOT15 then
    backgroundcolor (176,242,182)
    elsif pivot1H<pivot4H THEN//and pivot5<pivot15 then
    backgroundcolor (254,191,210)
    else
    backgroundcolor (250,250,250)
    endif
    
    
    //BACKGROUNDCOLOR(r,g,blue)
     
    RETURN pivot4H,pivot1H,PIVOTD
    
    #196726 quote
    Nicolas
    Keymaster
    Master

    En effet, “problème de calcul”, c’est un peu une erreur générique.

    As-tu fait une demande de support via la plateforme stp ? Ce sera plus simple pour la correction, car ici, selon moi, c’est sans doute une erreur interne qu’on ne peut pas résoudre par le code.

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

problème de calcul annoncé a l’ouverture


ProBuilder : Indicateurs & Outils Personnalisés

New Reply
Author
author-avatar
kats @kats Participant
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by Nicolas
3 years, 8 months ago.

Topic Details
Forum: ProBuilder : Indicateurs & Outils Personnalisés
Language: French
Started: 07/03/2022
Status: Active
Attachments: No files
Logo Logo
Loading...