Hi I would like to receive some basic help. How can I draw the candle of fridays using a diferrent colour ( on daily TF)
I don’t mind using a mark a line or whatever, some sign that shows me in a daily tf that the candle plotted represents the close of friday session.
I do know It´s something ridiculous but don’t know how to do it.
Thnaks you so much in advance. Luigi
An example of code if wanting just a simple vertical black line:
IF opendayofweek=5 THEN
DRAWVLINE(barindex)
ENDIF
RETURN
Or, another example if wanting to draw a candle highlighted by its color, let’s say blue if close at least equal to open, and yellow if close below open (assuming these 2 colors are not the main ones on your chart, like green&red, or white&black…)
IF opendayofweek=5 THEN
if close>=open THEN
DRAWCANDLE(open, high, low, close) coloured("blue")
ELSE
DRAWCANDLE(open, high, low, close) coloured("yellow")
ENDIF
ENDIF
RETURN
Other things can be done such as drawing arrows above or below or both, etc…
Thank you so much JC , that’s what I was expecting….. very visual.
Kind regards, Guille