Bonjour, vous serais t’il possible de créer un indicateur entourant sous forme d’ellipse un bougie d’avalement.
L’avalement serait considéré à partir du moment ou les mèches débordent au dessus et en dessous de la bougie précédente, mise à part celle du dimanche.
Si cela vous est possible je vous en remercie.
Bonne journée à vous.
Bonjour, à tester en UT jour seulement:
if opendayofweek=1 then
back=3
else
back=2
endif
if opendayofweek<>1 then
prevO=open[1]
prevH=high[1]
prevL=low[1]
prevC=close[1]
endif
if opendayofweek<>0 then
if close>max(prevO,prevC) and open<min(prevO,prevC) and high>prevH and low<prevL then
DRAWELLIPSE(barindex[back], low-range/4, barindex+1, high+range/4) coloured(0,255,0)
endif
if close<min(prevO,prevC) and open>max(prevO,prevC) and high>prevH and low<prevL then
DRAWELLIPSE(barindex[back], low-range/4, barindex+1, high+range/4) coloured(255,0,0)
endif
endif
return
en l’ajoutant dans la fenêtre du prix: https://www.prorealcode.com/blog/video-tutorials/how-to-add-an-indicator-on-price-prorealtime/