add guard for protecting Margin ...

This commit is contained in:
2024-06-30 13:11:44 +03:30
parent 821e97d1d7
commit 493820dd41
2 changed files with 41 additions and 1 deletions
+4
View File
@@ -154,6 +154,10 @@ int OnInit()
return INIT_PARAMETERS_INCORRECT;
}
//
double call = x121EA.mTrader.mAccount.GetMarginCall();
double stopout = x121EA.mTrader.mAccount.GetMarginStopOut();
//
// Init Succeed ...
return INIT_SUCCEEDED;