Would someone kindly have a look at the attached script and see if they could change it to close 50 percent of profitable positions and put a 1 SL on every as well. At this time the script will shut all profitable positions completely that have a 1 pip value. It would be excellent for traders using scaling (like myself) to close half the profitable contracts, then allow the other half to run while a SL secures the remaining lots at 1.

I hope this makes sense, if not I will try to give a better example.

Thanks Beforehand,