HI Funyoo,

Just wondering if you have code for a partial stoploss or % stoploss?

ie.
in the case of a losing trade.

when loss reaches -10 pips - close 10% of original lot size,
when loss reaches -20 pips - close 20% of original lot size,
when loss reaches -30 pips - close 30% of original lot size,
etc....
scaled to 100% stoploss.

thanks,

AR