discordance indicateur hebdo et journalier

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #203939 quote
    bobo
    Participant
    Average

    Bonjours à tous et en particulier à Nicolas.

    Voici mon problème:

    J’ai créer un indicateur que j’affiche en hebdo et daily.

    Sur une même période il affiche constamment le valeur 7.66 en hebdo , alors qu’en daily il affiche successivement 7.66 , 9.35 , 8.50 , 7.95.

    Je ne comprend pas pourquoi . Merci par avance pour la solution.

    Le code de mon indicateur:

    timeframe(weekly)
    a=low[1]
    c1=low>=low[1] and low[1]<=low[2]
    if (c1) then
    result= a[0]
    endif
    return result
    BAC-2022_11_10-06h50.png BAC-2022_11_10-06h50.png
    #203941 quote
    Nicolas
    Keymaster
    Master

    C’est logique, puisque tu affiches la valeur temps réel du weekly dans ton graphique daily. Durant toute la semaine, la valeur de “result” va changer jusqu’à se fixer à la clôture de la bougie hebdo.

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

discordance indicateur hebdo et journalier


ProBuilder : Indicateurs & Outils Personnalisés

New Reply
Author
author-avatar
bobo @bobo Participant
Summary

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

Topic Details
Forum: ProBuilder : Indicateurs & Outils Personnalisés
Language: French
Started: 11/10/2022
Status: Active
Attachments: 1 files
Logo Logo
Loading...