Here you get a script with the rules for "Glory Hole"-Strategy from Linda Raschke.
In Addition, I choose the SMA - not the EMA for this script.
MY RECOMMONDATION: If you get a trade Signal, then set an sell- oder buy-order on the high or low. If the next bar doesn't touch into the trade, then delete your order.