I'm sure I'm overlooking something quite simple and obvious, but I'm wondering if there is an easy/elegant way to determine if a lower timeframe's candle close time is also the closing time of a specified higher timeframe's candle.
For example, lets say I'm viewing an indicator on the m5 and the candle closes at 15:00. What I'm trying to accomplish is this:
if (Time[0] == IsAlsoH3CloseTime()) { [COLOR="DarkGreen"]// Do Something[/COLOR] }
Anyone have a better solution?
Comment