Bonjour bonjour !
J’ai codé ce petit indicateur qui est sensé me colorer les méches de certaines bougies. Cela fonctionne mais je ne sais pas comment faire pour qu’il s’affiche sur mon graphique existant et non dans une fenetre séparée (comme l’est par exemple un indicateur type RSI)
if high > high[1] and close < high[1] then if open > close then
DRAWSEGMENT (barindex, open, barindex, high) coloured ("red")
endif
if open < close then
DRAWSEGMENT (barindex, close, barindex, high) coloured ("red")
endif
endif
if low < low[1] and close > low[1] then
if open > close then
DRAWSEGMENT (barindex, close, barindex, low) coloured ("green")
endif
if open < close then
DRAWSEGMENT (barindex, open, barindex, low) coloured ("green")
endif
endif
//DRAWCANDLE (open, high, low, close)
Return
Merci d’avance !
on clic sur le prix comme ci joint
Effectivement! Rapide et efficace merci 😀