Hi there,
You have introduced trailing SL in web and mobile. That is great feature if it is available in API also. I need to add one more option in Trailing SL feature. That is Lock Profit. What this feature does is it locks specified amount as profit if price went above the purchase price but it did not reach to trailing gap and it moves down. It will exit order at specified locked profit price.
I.e. If stock/option is bought at 250 with 230 Stop loss and trailing gap of 20. and lock profit with 253. if price moves above 253 it will lock profit at 253 and waits for price to reach 270 and more. if price did not reach to 270 and falls below 253 it will exit at 253. If price goes above 270 and Stop Loss crosses 253 then it will exit when SL is hit.