If 1:00 candle closes in H1, this is equivalent to 1:30 candle in M30, 1:45 candle in M15 & 1:55 candle in M5, based on this,
When H1 candle closes,
1. Pop-up alert & Up Arrow at Bottom = when H1 (1:00), M30 (1:30), M15 (1:45) and/or M5 (1:55) is BEAR or DOJI candle
2. Pop-up alert & Down Arrow at Top = when H1 (1:00), M30 (1:30), M15 (1:45) and/or M5 (1:55) is BULL or DOJI candle
M5 is optional or in Input, M5 can be set as True/False.
Thanks in advance.