problème affichage couleur sens kijun

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

    Bonjour,

    j’ai créé ce code pour avoir le sens de la kijun en 5 min. j’ai constaté dans le résultat que le sens achat est validé (vert) mais le sens vente (rouge) reste affiché.

    désolé je n’ai pas trouvé le bouton “insert prt code”

    pourquoi ?

    timeframe (5minutes)
    kj5=KijunSen[9,26,52]
    tk5=tenkansen[9,26,52]

    if kj5>kj5[1]then
    kj5h=2
    kj5b=0
    endif
    if kj5h[1]and kj5=kj5[1]then
    kj5h=2
    endif
    if kj5<kj5[1]then
    kj5b=1
    kj5h=0
    endif
    if kj5b[1]and kj5=kj5 then
    kj5b=1
    endif

    return kj5h coloured(0,153,0),kj5b coloured(255,0,51)

    [attachment file=”Capture.JPG”]

    #186154 quote
    fifi743fifi743
    Participant
    Master
    timeframe (5minutes)
    kj5=KijunSen[9,26,52]
    tk5=tenkansen[9,26,52]
    
    if kj5>kj5[1]then
    R=0
    V=153
    B=0
    endif
    
    if kj5<kj5[1]then
    R=255
    V=0
    B=51
    endif
    
    
    return kj5 coloured(r,v,b)

    voici le code pour la kijun

    #186169 quote
    olivierolivier
    Participant
    Junior

    merci ça fonctionne.

    pourquoi dans mon code la couleur rouge reste affiché alors que le vert s’affiche

    [attachment file=”186170″]

    Capture.jpg Capture.jpg
    #186242 quote
    fifi743fifi743
    Participant
    Master
    timeframe (5minutes)
    kj5=KijunSen[9,26,52]
    tk5=tenkansen[9,26,52]
     
    if kj5>kj5[1]then
    R=0
    V=153
    B=0
    endif
     
    if kj5<kj5[1]then
    R=255
    V=0
    B=51
    endif
     
     
    return 1 coloured(r,v,b) STYLE (HISTOGRAM)

    sur le dax en 5 minute

    Capture-decran-4730.png Capture-decran-4730.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

problème affichage couleur sens kijun


ProBuilder : Indicateurs & Outils Personnalisés

New Reply
Author
author-avatar
olivier @olivier Participant
Summary

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

Topic Details
Forum: ProBuilder : Indicateurs & Outils Personnalisés
Language: French
Started: 01/21/2022
Status: Active
Attachments: 2 files
ProRealCode ProRealCode
Loading...