0

I just want to know how I can mark a candle that opened on a specific time.

For example:

We have a 3:45am candle that's marked with a diamond.

Appreciate the help :)

I have tried on my own and tried finding a solution but I'm new to pinescript (and coding in general) so I'm kind of lost.

1 Answers1

0

You can use the hour and minute built-in variables.

is_345 = (hour == 3) and (minute == 45)
plotshape(is_345, style=shape.diamond)
vitruvius
  • 15,740
  • 3
  • 16
  • 26