last works ...

This commit is contained in:
2024-06-11 18:54:39 +03:30
parent 53cfae7f99
commit 79b12c390d
5 changed files with 1443 additions and 134 deletions
+28
View File
@@ -2719,6 +2719,34 @@ public:
.ByIndex(index);
}
//
bool GetLastDeal(
XDeal &result // Hold's Result
)
{
//
bool mResult = false;
//
mResult = HistorySelect(0, TimeCurrent());
if (!mResult)
{
return mResult;
}
//
int lastDealIndex = HistoryDealsTotal() - 1;
//
mResult = GetDeal(
lastDealIndex,
result //
);
//
return mResult;
}
//
// Retrieve Specified Deal's History ...
int GetDealsHistory(