Day Function for an indicator

 


I am looking for a function that will paint the high of a price bar, but onlyon certain days of the week. Or even easier a way to exclude certain days. I have this figured this out for the EA but the day function doesn;t work for the indi?

Thanks