Is there a code line to trigger a trailing stop for the total position size? Right now, only understand how to code the trailing stop upon entry. Looking to code something similar to the ATM when the price of the instrument passes the average position price +# of ticks to begin the trailing stop.
Thank you!
Comment