You can define a custom objective as follows.

Code:
var objective()
{
	return ((var)(NumWinLong+NumWinShort))/(NumLossLong+NumLossShort);
}



Source: http://www.financial-hacker.com/binary-options-scam-or-opportunity/