So i was trying to add a stop trailing stop loss from something someone else posted, to the "Equity Long-Short" that was posted a while ago and is the first model posted on the main long-short thread. Could anyone one helps me out here. Would be extremely appreciated. Clearly the backtest didn't work so check out the source code.
My Regards,
Colin