Bonjour,
Est-ce-que quelqu’un saurait comment faire pour prolonger l’affichage de cet indicateur vers la droite, en d’autres termes : étirer le rectangle d’imbalance vers la droite de l’écran pour bien voir la zone (voir photo ci-jointe où on voit les rectangles jaunes d’imbalance, que j’aimerais étirer vers la droite)
Merci beaucoup !
Voici le code :
TopImbalance = low[2] <= open[1] and high[0] >= close[1]
TopImbalancesize = low[2] – high[0]
if TopImbalance and TopImbalancesize > 0 then
drawcandle(low[2], low[2], high[0], high[0]) coloured(255,255,0)
endif
BottomInbalance = high[2] >= open[1] and low[0] <= close[1]
BottomInbalancesize = low[0] – high[2]
if BottomInbalance and BottomInbalancesize > 0 then
drawcandle(low[0], low[0], high[2], high[2]) coloured(255,255,0)
endif
return