@peter_hoang Ok. Let's begin with the input parameters. I suggest these ones:
SL distance in pips for all trades (same for all). TP distance in pips for all trades (same for all). Distance in pips in profit at which trailing stop is activated.Would you need another one? Are those correct for your strategy?