How to add Day() filter to indicator?

 

Hi


I am using an indicator but would like to only get signals on certain days.


Can someone please help with that.

example


if (close1>high2 && Day()>=2) but the Day>=2 don't work. I don't get any arrows with the day filter but do get when I take that part out.

 
TimeDay(Time[iBar])
 
THANK YOU
Reason: