This commit is contained in:
2024-06-21 06:45:33 +03:30
parent e9e313fa58
commit a5cb716d0b
7 changed files with 1268 additions and 761 deletions
+13 -10
View File
@@ -1099,16 +1099,16 @@ protected:
//
// Check At Least One Support Positions Open For Hedging ...
XPosition supports[];
int supportsCount = ExtractSupports(
positions,
supports //
);
result = IsValidSize(supportsCount);
if (!result)
{
return result;
}
// XPosition supports[];
// int supportsCount = ExtractSupports(
// positions,
// supports //
// );
// result = IsValidSize(supportsCount);
// if (!result)
// {
// return result;
// }
//
double profits = SpecifiedCalculatePositionsProfit(positions);
@@ -1139,6 +1139,9 @@ protected:
return result;
}
//
SyncSupports();
//
string message = XEQMSupportToken + " Hedge: " + ToString(profits) + " ...";