SUPPORT RESISTANCE BICOLORE

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #206574 quote
    supertitisupertiti
    Participant
    Master

    Bonjour à tous,

    Serait-il possible afin de refléter les changements de polarités de créer une ligne horizontale qui changerait de couleur (verte/rouge) selon que les prix

    cassent à la hausse où à la baisse cette même ligne.

    je joins une image illustrant mon idée.

    Bonnes fêtes

    SR-BICOLORE.jpg SR-BICOLORE.jpg
    #206582 quote
    fifi743fifi743
    Participant
    Master

    meilleur voeux @supertiti

    voici le code fait avec le pivot journalier

     

     

    // 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
    Pivot = (dayhigh + daylow + dayclose) / 3
    
    if close>pivot then
    r=0
    v=150
    b=0
    endif
    if close<pivot then
    r=250
    v=0
    b=0
    endif
    
    
    return pivot coloured(r,v,b)
    Capture-decran-528.png Capture-decran-528.png
    #206584 quote
    supertitisupertiti
    Participant
    Master

    Merci Fifi pour ta proposition mais mon souhait serait d’avoir une ligne horizontale que l’on trace à une hauteur choisie qui change de couleur selon

    que les prix soient au dessus/dessous de cette ligne.

    une bonne année et surtout de bons trades à tous grâce à cette communauté

    #206588 quote
    fifi743fifi743
    Participant
    Master

    a la place de pivot tu rentre le prix pour tracer la ligne et suivant si le prix est au dessus ou dessous la ligne changera de couleur

    Capture-decran-532.png Capture-decran-532.png
    #206605 quote
    supertitisupertiti
    Participant
    Master

    Ca parait si simple quand on sait le faire ! là c’est bien ce que je souhaitais …

    Merci beaucoup Fifi pour le retour

    J’ai une autre idée dans les tuyaux, je ferai un nouveau post dès que j’ai un peu de temps.

    #206607 quote
    supertitisupertiti
    Participant
    Master
Viewing 6 posts - 1 through 6 (of 6 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

SUPPORT RESISTANCE BICOLORE


ProBuilder : Indicateurs & Outils Personnalisés

New Reply
Author
author-avatar
supertiti @supertiti Participant
Summary

This topic contains 5 replies,
has 2 voices, and was last updated by supertitisupertiti
3 years, 8 months ago.

Topic Details
Forum: ProBuilder : Indicateurs & Outils Personnalisés
Language: French
Started: 12/31/2022
Status: Active
Attachments: 4 files
ProRealCode ProRealCode
Loading...