last works on Force State Management ...
This commit is contained in:
@@ -4181,6 +4181,32 @@ bool IsSupport(string value)
|
||||
return result;
|
||||
}
|
||||
|
||||
//
|
||||
ulong ExtractParentTicket(string value)
|
||||
{
|
||||
//
|
||||
ulong result = 0;
|
||||
|
||||
//
|
||||
if (!IsSupport(value))
|
||||
{
|
||||
return result;
|
||||
}
|
||||
|
||||
//
|
||||
result = ExtractSupportedTicket(value);
|
||||
if (result > 0)
|
||||
{
|
||||
return result;
|
||||
}
|
||||
|
||||
//
|
||||
result = ExtractEQMSupportedTicket(value);
|
||||
|
||||
//
|
||||
return result;
|
||||
}
|
||||
|
||||
//
|
||||
// SL Trails ...
|
||||
|
||||
@@ -4482,14 +4508,14 @@ void CountPositions(
|
||||
//
|
||||
longs++;
|
||||
longProfits += iPosition.profit;
|
||||
longVolumes = iPosition.volume;
|
||||
longVolumes += iPosition.volume;
|
||||
}
|
||||
else
|
||||
{
|
||||
//
|
||||
shorts++;
|
||||
shortProfits += iPosition.profit;
|
||||
shortVolumes = iPosition.volume;
|
||||
shortVolumes += iPosition.volume;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user