last works ...
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user