I haven't posted code for a long time. Here is a Zen 9.5 Haduo, take profit 10.5, stop loss 9.2. Just a trial, for reference only!