last ...
This commit is contained in:
@@ -267,8 +267,8 @@ struct X121SMCStrategyConditions
|
||||
//
|
||||
double sl;
|
||||
double tp;
|
||||
double target;
|
||||
string provider;
|
||||
double targets[];
|
||||
ENUM_X_DIRECTION signalDir;
|
||||
|
||||
//
|
||||
@@ -286,9 +286,9 @@ struct X121SMCStrategyConditions
|
||||
void Clean()
|
||||
{
|
||||
//
|
||||
time = NULL;
|
||||
symbol = NULL;
|
||||
period = NULL;
|
||||
time = NULL;
|
||||
|
||||
//
|
||||
sl = 0;
|
||||
@@ -296,6 +296,9 @@ struct X121SMCStrategyConditions
|
||||
provider = NULL;
|
||||
signalDir = X_DIRECTION_NONE;
|
||||
|
||||
//
|
||||
Clean(targets);
|
||||
|
||||
//
|
||||
ZeroMemory(this);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user