last works ...

This commit is contained in:
2025-10-09 12:34:26 +03:30
parent fc318b5c19
commit e97b44b938
7 changed files with 642 additions and 33 deletions
+33
View File
@@ -758,6 +758,39 @@ struct XOHCL
return result;
}
//
bool BarAt(
datetime _time,
XOHCL &bar //
)
{
//
bool result = false;
//
bar.Clean();
//
result = IsValid();
if (!result)
{
return result;
}
//
_time = NormalizeTime(_time);
//
result = bar.Init(
symbol,
period,
_time //
);
//
return result;
}
//
bool BarIn(
ENUM_TIMEFRAMES _period,