conditional sum based on time,HELP

 

hi, i am writing a custom indicator, i need it to sum the closing price based on specific time for x times 

for example, sum all the closing price happened at 1100 pm only for last 10 days on a hourly chart(because it may miscalculate on other time frame)

assume today is jan 30, the indicator will return total value of all closing price at 1100pm only and ignore other hourly closing price for last 10 days (day 29,28,27,26....so on)

 
What have you got so far?
 
ck_123:

hi, i am writing a custom indicator, i need it to sum the closing price based on specific time for x times 

for example, sum all closing price on 1100 pm for 10 days on a hourly chart

I have absolutely no idea what that means???
 
Keith Watford:
I have absolutely no idea what that means???
Sum all the Close prices for each H1 candle starting at 23:00 for the last 10 days. I suppose.
 

Or is it the sum of the 23:00 H1 close prices for the last 10 days? 

 
honest_knave:

Or is it the sum of the 23:00 H1 close prices for the last 10 days? 

yeah,exactly
 
So, back to my initial question... what do you have so far?