Your bar period is not a day, in case you wanted daily bars.

I'm not sure what entry condition you need, but your script sets an entry stop, not an entry limit. Aside from that, the entry looks ok.

The exit makes no sense to me. Is this supposed to be some sort of profit target? When do you want your trade to exit?