This commit is contained in:
2024-06-24 10:41:40 +03:30
parent 56335244a3
commit 679c426cfd
+28
View File
@@ -5134,6 +5134,34 @@ private:
return;
}
//
bool isMarginPassed = IsMarginPassed();
if (!isMarginPassed)
{
//
string message = "No Margin For Execute Signals ...";
//
Alert(message);
//
return;
}
//
bool isNumberOfPositionsPassed = IsNumberOfPositionsPassed();
if (!isNumberOfPositionsPassed)
{
//
string message = "Max Allowed Signals Reached ...";
//
Alert(message);
//
return;
}
//
//
// Execute Supports ...