Colorer entre deux ligne avancées(ichimoku)

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #153756 quote
    Lurubu
    Participant
    Senior

    Bonjour, pour des raisons personnelles j’ai reconstruit Ichimoku.

    Pas bien difficile.

    Mais je voudrais coloriser le nuage, et là,c’est plus dur.

    Les Senkou A et B n’apparaissent pas dans la configuration du fait de leur construction.

    Y a-t il un solution ?

    Merci

    // Les lignes
    
    Tenkan = (Highest[9](High) + Lowest[9](Low))/2
    Kijun = (Highest[26](High) + Lowest[26](Low))/2
    
    If BarIndex > 27 then
    DrawSegment(BarIndex - 26,Close,BarIndex - 27,Close[1]) coloured(0,0,0)
    endif
    
    SenkouA = (Tenkan + Kijun)/2
    If BarIndex > 1 then
    DrawSegment(BarIndex + 26,SenkouA,BarIndex + 25,SenkouA[1]) coloured(200,100,50)
    endif
    
    SenkouB = (Highest[52](High) + Lowest[52](Low))/2
    If BarIndex > 1 then
    DrawSegment(BarIndex + 26,SenkouB,BarIndex + 25,SenkouB[1]) coloured(200,100,50)
    endif
    
    
    return Tenkan coloured(200,0,0) style(line,1) as "Tenkan",Kijun coloured(0,0,180) style(line,1) as "Kijun"
    
    #153759 quote
    fifi743
    Participant
    Master

    et avec drawcandle ,tu as essayé

    #153805 quote
    Nicolas
    Keymaster
    Master

    en V11 on peut colorier des zones avec des objets graphiques, voir exemples dans ce sujet: https://www.prorealcode.com/topic/array-variables-availability-in-prorealtime/#post-118818

    (en attendant l’instruction qui le permettra automatiquement, prévue).

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

Colorer entre deux ligne avancées(ichimoku)


ProBuilder : Indicateurs & Outils Personnalisés

New Reply
Author
author-avatar
Lurubu @lurubu Participant
Summary

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

Topic Details
Forum: ProBuilder : Indicateurs & Outils Personnalisés
Language: French
Started: 12/14/2020
Status: Active
Attachments: No files
Logo Logo
Loading...