Similarly, you can see a long position where price cuts above the and the plots below the price low. Using these values as the trailing stop levels, we can stay long into the trade until the trade is stopped out.
Find out optimal values by trying. May not produce accurate results in horizontal markets. Thank you.