last works ...

This commit is contained in:
2024-05-22 13:15:20 +03:30
parent 23c989f083
commit 4a69e7edf8
17 changed files with 6815 additions and 78 deletions
+20
View File
@@ -385,6 +385,10 @@ public:
// OnTick Handler ...
virtual void OnTick()
{
//
// Draw ...
Draw();
//
// Check Trade Events ...
OnTrade();
@@ -528,6 +532,10 @@ public:
// TODO: Implement this ...
}
//
// Draw On Chart if anything is required ...
virtual void Draw() {}
//
// Check For any Guard Actions ...
virtual bool CheckForGuard(XGuard &guards[])
@@ -628,7 +636,19 @@ public:
string message = NULL;
if (executedSignalsCount == 0)
{
//
message = "(" + ToString(filteredSignalsCount) + ") Signals Execution Failed ...";
//
for (int j = 0; j < ArraySize(reasons); j++)
{
//
string iReason = ToString(reasons[j]);
//
// ToString(GetSpread(filteredSignals[j].symbol)) + ","
message += "\n" + ToString(j) + ": " + iReason;
}
}
else if (executedSignalsCount < filteredSignalsCount)
{