last works ...

This commit is contained in:
2025-10-02 20:23:31 +03:30
parent bb8ab13739
commit b77771b2fc
8 changed files with 3537 additions and 87 deletions
+26
View File
@@ -635,6 +635,32 @@ class XCBaseHelper : public XCBase
return result;
}
/**
* Normalizing Bar Index ...
*
* @param barIndex: int, Provided Bar Index ...
*
* @return ( int )
*/
int NormalizeBarIndex(int barIndex)
{
//
int result = barIndex;
//
if (!IsValid())
{
return result;
}
//
int count = CountBars() - 1;
result = NormalizeInt(result, 0, count - 1);
//
return result;
}
//
// Private ...
private: