Nom du pivot central

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #261786 quote
    Nightster
    Participant
    Junior

    Bonjour

    J’utilse le code des points pivots horaires et journaliers que j’ai trouvé sur ce site, donc je suis très satisfait

    à la fin de chaque pivot j’aimerais ajouter le texte qui correspond au pivot : PivotD et PivotH (comme sur les points pivots d’origine de PRT)

    Je n’utilise que le pivot central, pas les S/R

    Je n’arrive pas à utiliser Drawtext

    Qui peut m’aider ?

    mes codes


    Pivot jour

    // POINT PIVOT JOURNALIER

    IF dayofweek = 1 THEN

    dayhigh = DHigh(2)

    daylow = DLow(2)

    dayclose = DClose(2)

    ENDIF


    IF dayofweek >=2 and dayofweek < 6 THEN

    dayhigh = DHigh(1)

    daylow = DLow(1)

    dayclose = DClose(1)

    ENDIF


    PPDay = (dayhigh + daylow + dayclose) / 3

    RETURN PPDay COLOURED (“cyan”) as “Pivot Jour”


    Pivot horaire

    timeframe(1 hour)

    PivotH1 = (High[1] + Low[1] + Close[1] )/3

    return (PivotH1)


    Image-pivots.jpg Image-pivots.jpg
Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.

Nom du pivot central


ProBuilder : Indicateurs & Outils Personnalisés

New Reply
Author
author-avatar
Nightster @nightster Participant
Summary

This topic contains 1 voice and has 0 replies.

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