last ...
This commit is contained in:
@@ -5134,6 +5134,34 @@ private:
|
|||||||
return;
|
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 ...
|
// Execute Supports ...
|
||||||
|
|||||||
Reference in New Issue
Block a user