Merci à toi ivan.
Je n’étais pas remonté aussi loin.
Je reposte le code . Merci à ceux qui l’ont créé, ils se reconnaitrons.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
timeframe (1hour )
C5 = close
O5 = open
H5 = high
L5 = low
If c5< o5 then
r= 255
g= 0
b= 0
else
r= 0
g= 0
b= 255
endif
timeframe (default )
If OpenMinute MOD 60 = 55 Then //plot only when the 15-minute bar closes
Drawrectangle (BarIndex - 12 ,O5,BarIndex ,C5) Coloured (r,g,b,180 )style (line ,2 )fillcolor(r,g,b,130 ) //Body /style Line 2 = Dicke
DrawRectangle (BarIndex - 6 ,max (O5,C5),BarIndex - 6 ,H5) Coloured (r,g,b,180 )style (line ,4 ) //Upper Wick
DrawRectangle (BarIndex - 6 ,min (O5,C5),BarIndex - 6 ,L5) Coloured (r,g,b,180 )style (line ,4 ) //Lower Wick
Endif
Return