cleanup and backup old styles and try toimplement new POI Detector ...

This commit is contained in:
2024-11-11 14:06:29 -08:00
parent 051ff51800
commit d239d9c580
35 changed files with 15195 additions and 16227 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;
}