EA to buy/sell yesterday's hi/lo

 

I'm looking for an EA that will calculate yesterdays high & low and the buy or sell that today with a preset take-profit. I'm presuming something so simple must already have been coded - can someone point me in the right direction ?

Reason: