Cleanup Workspace ...

This commit is contained in:
2024-11-15 10:50:11 +03:30
parent 45a0d9b5a5
commit 6557f4f1ce
1201 changed files with 15953471 additions and 0 deletions
+60
View File
@@ -0,0 +1,60 @@
//
string symbol = GetSymbol();
ENUM_TIMEFRAMES period = GetPeriod();
//
int zIndex = barIndex;
int cIndex = zIndex + 1;
int pIndex = cIndex + 1;
int ppIndex = pIndex + 1;
//
bool isInited = false;
//
XOHCL zBar;
isInited = zBar.Init(
symbol,
period,
zIndex //
);
if (!isInited)
{
return result;
}
//
XOHCL cBar;
isInited = cBar.Init(
symbol,
period,
cIndex //
);
if (!isInited)
{
return result;
}
//
XOHCL pBar;
isInited = pBar.Init(
symbol,
period,
pIndex //
);
if (!isInited)
{
return result;
}
//
XOHCL ppBar;
isInited = ppBar.Init(
symbol,
period,
ppIndex //
);
if (!isInited)
{
return result;
}