try to change your script and instead of using 55 periods on the current TF, use the previous highest/lowest day and/or weekly highest/lowest and monthly highest/lowest. it works as long as the entry points are not entries on small bounces in strong trend that eventually resume before the week is over and price reverses and slams into your BE point. so you would need to filter out those movements that are nothing more than weak bounces generated by profit take.