last ...
This commit is contained in:
@@ -543,10 +543,8 @@ class XCXOM1EAExpert : public XCBase
|
|||||||
eaTradeManager.SetSymbolConfigurations(eaSymbolConfiguration);
|
eaTradeManager.SetSymbolConfigurations(eaSymbolConfiguration);
|
||||||
count = eaTradeManager.FillSymbolConfigurations(symbolConfigurations);
|
count = eaTradeManager.FillSymbolConfigurations(symbolConfigurations);
|
||||||
has = IsValidSize(count);
|
has = IsValidSize(count);
|
||||||
|
if (has)
|
||||||
//
|
{
|
||||||
// Here we Apply Symbols,Periods and Configs ...
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// Configure Indicator ...
|
// Configure Indicator ...
|
||||||
XOM1Inputs iDZoneOMInputs;
|
XOM1Inputs iDZoneOMInputs;
|
||||||
@@ -558,20 +556,22 @@ class XCXOM1EAExpert : public XCBase
|
|||||||
XOM1SignallerConfig iDZoneSignallerConfig;
|
XOM1SignallerConfig iDZoneSignallerConfig;
|
||||||
iDZoneSignallerConfig.processAllTicks = false;
|
iDZoneSignallerConfig.processAllTicks = false;
|
||||||
|
|
||||||
//
|
|
||||||
// Make Instance Signaller Class ...
|
|
||||||
|
|
||||||
//
|
//
|
||||||
XCXOM1SignallerBase *iDZoneSignaller = NULL;
|
XCXOM1SignallerBase *iDZoneSignaller = NULL;
|
||||||
|
|
||||||
|
//
|
||||||
|
// Configure Signallers ...
|
||||||
|
for (int i = 0; i < count; i++)
|
||||||
|
{
|
||||||
//
|
//
|
||||||
// Define Signaller ...
|
// Define Signaller ...
|
||||||
iDZoneSignaller = new XCXOM1SignallerBase(
|
iDZoneSignaller = new XCXOM1SignallerBase(
|
||||||
"XDZN",
|
"XDZN",
|
||||||
"XAUUSDb",
|
symbolConfigurations[i].symbol,
|
||||||
PERIOD_M5,
|
symbolConfigurations[i].period,
|
||||||
iDZoneOMInputs,
|
iDZoneOMInputs,
|
||||||
iDZoneSignallerConfig);
|
iDZoneSignallerConfig //
|
||||||
|
);
|
||||||
if (iDZoneSignaller != NULL)
|
if (iDZoneSignaller != NULL)
|
||||||
{
|
{
|
||||||
//
|
//
|
||||||
@@ -594,12 +594,15 @@ class XCXOM1EAExpert : public XCBase
|
|||||||
eaSignallers //
|
eaSignallers //
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
// Cleanup Resources ...
|
// Cleanup Resources ...
|
||||||
iDZoneOMInputs.Clean();
|
iDZoneOMInputs.Clean();
|
||||||
iDZoneSignallerConfig.Clean();
|
iDZoneSignallerConfig.Clean();
|
||||||
ZeroMemory(iDZoneSignaller);
|
ZeroMemory(iDZoneSignaller);
|
||||||
|
}
|
||||||
|
SpecifiedClean(symbolConfigurations);
|
||||||
|
|
||||||
//
|
//
|
||||||
return result;
|
return result;
|
||||||
|
|||||||
Reference in New Issue
Block a user