last ...
This commit is contained in:
@@ -399,6 +399,9 @@ struct XTick
|
||||
volume = 0;
|
||||
time = NULL;
|
||||
symbol = NULL;
|
||||
|
||||
//
|
||||
ZeroMemory(this);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -514,6 +517,9 @@ struct XBarRemainsTime
|
||||
hours = 0;
|
||||
minutes = 0;
|
||||
seconds = 0;
|
||||
|
||||
//
|
||||
ZeroMemory(this);
|
||||
}
|
||||
|
||||
//
|
||||
@@ -805,6 +811,9 @@ struct XOHCL
|
||||
time = NULL;
|
||||
symbol = NULL;
|
||||
period = NULL;
|
||||
|
||||
//
|
||||
ZeroMemory(this);
|
||||
}
|
||||
|
||||
//
|
||||
@@ -1915,6 +1924,9 @@ struct XTimeTracker
|
||||
xMinute = -1;
|
||||
xDayOfWeek = -1;
|
||||
xForWeekDay = -1;
|
||||
|
||||
//
|
||||
ZeroMemory(this);
|
||||
}
|
||||
|
||||
//
|
||||
@@ -2186,6 +2198,9 @@ struct XBarTracker
|
||||
//
|
||||
symbol = NormalizeSymbol(NULL);
|
||||
period = NormalizePeriod(NULL);
|
||||
|
||||
//
|
||||
ZeroMemory(this);
|
||||
}
|
||||
|
||||
//
|
||||
@@ -2430,6 +2445,9 @@ struct XMarketCycle
|
||||
//
|
||||
remains.Clean();
|
||||
barTracker.Clean();
|
||||
|
||||
//
|
||||
ZeroMemory(this);
|
||||
}
|
||||
|
||||
//
|
||||
|
||||
@@ -136,6 +136,9 @@ struct XDrawSpecifications
|
||||
labelFont = "Arial";
|
||||
labelFontSize = 20;
|
||||
labelAnchor = ANCHOR_LEFT_UPPER;
|
||||
|
||||
//
|
||||
ZeroMemory(this);
|
||||
}
|
||||
|
||||
//
|
||||
@@ -198,6 +201,9 @@ struct XOHCLDrawSpecification
|
||||
openStyle.Clean();
|
||||
highStyle.Clean();
|
||||
closeStyle.Clean();
|
||||
|
||||
//
|
||||
ZeroMemory(this);
|
||||
}
|
||||
|
||||
//
|
||||
|
||||
@@ -3618,6 +3618,9 @@ struct XPOIState
|
||||
Clean(bearishOrderBlocks);
|
||||
Clean(bullishFairValueGaps);
|
||||
Clean(bearishFairValueGaps);
|
||||
|
||||
//
|
||||
ZeroMemory(this);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -4162,6 +4165,9 @@ struct XPVPivot
|
||||
|
||||
//
|
||||
state.Clean();
|
||||
|
||||
//
|
||||
ZeroMemory(this);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -4575,6 +4581,9 @@ struct XPVPivotPoint
|
||||
time = NULL;
|
||||
repetition = 0;
|
||||
type = XPV_NONE;
|
||||
|
||||
//
|
||||
ZeroMemory(this);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -4840,6 +4849,9 @@ struct XConsolidationZone
|
||||
initTime = NULL;
|
||||
breakerBar.Clean();
|
||||
breakDirection = X_DIRECTION_NONE;
|
||||
|
||||
//
|
||||
ZeroMemory(this);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -5182,6 +5194,9 @@ struct XValueChange
|
||||
before = 0;
|
||||
time = NULL;
|
||||
dir = X_DIRECTION_NONE;
|
||||
|
||||
//
|
||||
ZeroMemory(this);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -5297,6 +5312,9 @@ struct XPriceZones
|
||||
supportZone = NULL;
|
||||
fairValueGap = NULL;
|
||||
resistanceZone = NULL;
|
||||
|
||||
//
|
||||
ZeroMemory(this);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -6024,6 +6042,9 @@ struct XMarketStructure
|
||||
highestPeakBar.Clean();
|
||||
peakBelowHighestPeakValeBar.Clean();
|
||||
highestPeakValeBreakeDownBar.Clean();
|
||||
|
||||
//
|
||||
ZeroMemory(this);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -6156,6 +6177,9 @@ struct XStateZones
|
||||
Clean(bearishOrderBlocks);
|
||||
Clean(bullishFairValueGaps);
|
||||
Clean(bearishFairValueGaps);
|
||||
|
||||
//
|
||||
ZeroMemory(this);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -6316,6 +6340,9 @@ struct XFVGOrderBlock
|
||||
//
|
||||
orderBlock = NULL;
|
||||
fairValueGap = NULL;
|
||||
|
||||
//
|
||||
ZeroMemory(this);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -6525,6 +6552,9 @@ struct XBoxZone
|
||||
symbol = NULL;
|
||||
period = NULL;
|
||||
dir = X_DIRECTION_NONE;
|
||||
|
||||
//
|
||||
ZeroMemory(this);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -472,6 +472,9 @@ struct XPosition
|
||||
symbol = NULL;
|
||||
comment = NULL;
|
||||
provider = NULL;
|
||||
|
||||
//
|
||||
ZeroMemory(this);
|
||||
}
|
||||
|
||||
//
|
||||
@@ -1507,6 +1510,9 @@ struct XSignal
|
||||
|
||||
//
|
||||
Clean(supports);
|
||||
|
||||
//
|
||||
ZeroMemory(this);
|
||||
}
|
||||
|
||||
//
|
||||
@@ -2054,6 +2060,9 @@ struct XOrder
|
||||
period = NULL;
|
||||
filling = NULL;
|
||||
lifetime = NULL;
|
||||
|
||||
//
|
||||
ZeroMemory(this);
|
||||
}
|
||||
|
||||
//
|
||||
@@ -2411,6 +2420,9 @@ struct XDeal
|
||||
entry = NULL;
|
||||
period = NULL;
|
||||
reason = NULL;
|
||||
|
||||
//
|
||||
ZeroMemory(this);
|
||||
}
|
||||
|
||||
//
|
||||
@@ -2617,6 +2629,9 @@ struct XOnTradeHandlerState
|
||||
newOrders = 0;
|
||||
newPositions = 0;
|
||||
newHistoryOrders = 0;
|
||||
|
||||
//
|
||||
ZeroMemory(this);
|
||||
}
|
||||
|
||||
//
|
||||
@@ -2743,6 +2758,9 @@ struct XGuard
|
||||
//
|
||||
strPayload = NULL;
|
||||
dblPayLoad = EMPTY_VALUE;
|
||||
|
||||
//
|
||||
ZeroMemory(this);
|
||||
}
|
||||
|
||||
//
|
||||
@@ -2809,6 +2827,9 @@ struct XPositionPack
|
||||
//
|
||||
Clean(supportOrders);
|
||||
Clean(supportPositions);
|
||||
|
||||
//
|
||||
ZeroMemory(this);
|
||||
}
|
||||
|
||||
//
|
||||
@@ -2956,6 +2977,9 @@ struct XTrail
|
||||
before = 0;
|
||||
after = 0;
|
||||
level = 0;
|
||||
|
||||
//
|
||||
ZeroMemory(this);
|
||||
}
|
||||
|
||||
//
|
||||
@@ -3203,6 +3227,9 @@ struct XSymbolPositions
|
||||
Clean(longs);
|
||||
Clean(shorts);
|
||||
Clean(positions);
|
||||
|
||||
//
|
||||
ZeroMemory(this);
|
||||
}
|
||||
|
||||
//
|
||||
@@ -3608,6 +3635,9 @@ struct XSymbolLastPosition
|
||||
time = NULL;
|
||||
symbol = NULL;
|
||||
provider = NULL;
|
||||
|
||||
//
|
||||
ZeroMemory(this);
|
||||
}
|
||||
};
|
||||
|
||||
@@ -3780,6 +3810,9 @@ struct XTradeData
|
||||
//
|
||||
ResetTrail();
|
||||
ResetRecovery();
|
||||
|
||||
//
|
||||
ZeroMemory(this);
|
||||
}
|
||||
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user