display a signal on the last (5) days

 
Hello, I have an ea which allows me to detect a setup and display signs (arrows) on the graph. 
now I would like that when I run it it can detect me the signals of the last 5 days (a bit like an indicator) but I don't know how to go about it, is it possible?