Bonjour,
lorsque je place mon indicateur en bas des prix, il est capé a 1 et au dessus il laisse de la place disponible, ce qui fait perdre de la place d’affichage. (voir photo jointe)
Comment remédier a cela dans le code ?
merci
//Indicateur tendance
MM50=average[50](close)
MM200=average[200](close)
C1 =(Close > MM50) and (MM50 > MM200)
If c1 then
Indicateur=1
R= 0
G= 150
B= 0
Endif
C2 =(MM50>Close) and (Close > MM200)
If c2 then
Indicateur=1
R= 800
G= 250
B= 0
Endif
C3 =(MM50 > MM200) and (MM200>Close)
If c3 then
Indicateur=1
R= 253
G= 108
B= 158
Endif
C4 =(MM200 > MM50) and (MM50>Close)
If c4 then
Indicateur=1
R= 255
G= 0
B= 0
Endif
//Recovery : SMA 200D > Cours > SMA 50D Bleu
C5 =(MM200 > close) and (close>MM50)
If c5 then
Indicateur=1
R= 0
G= 0
B= 255
Endif
C6 =(close > MM200) and (MM200>MM50)
If c6 then
Indicateur=1
R= 102
G= 0
B= 153
Endif
RETURN indicateur coloured(r,g,b)style(histogram)
Bonjour!. Mettez ceci sur la dernière ligne :
RETURN indicateur coloured(r,g,b)style(histogram), 0
Merci pour la réponse, cela fonctionne.