Add Support for Drawing, Styling also Refactor POI Drawer and etc ...

This commit is contained in:
2025-09-23 01:35:39 +03:30
parent 56db510b5d
commit bb2aff17a9
6 changed files with 2005 additions and 491 deletions
+42
View File
@@ -361,6 +361,48 @@ struct XPivot
return result;
}
/**
* Get Pivot Time Bar ...
*
* @param bar: XOHCL, reference to hold result ...
*
* @return ( bool )
*/
bool GetBar(XOHCL &bar)
{
//
bool result = false;
//
// Prepare ...
bar.Clean();
//
// Validate ...
result = IsValid();
if (!result)
{
return result;
}
//
// Initial Bar ...
result = bar.Init(
symbol,
period,
time //
);
//
if (!result)
{
bar.Clean();
}
//
return result;
}
/**
* Check to model Has Same Symbol ...
*