This commit is contained in:
2025-04-06 18:45:02 +03:30
parent ffcf43067e
commit 19a7cd7629
18 changed files with 1984 additions and 567 deletions
+16 -12
View File
@@ -646,7 +646,7 @@ class XCX121XVOLUMEHelper : public XCBaseHelper
}
//
Calculate();
Calculate(barIndex);
//
int count = ArraySize(bullishVolumeBuffer);
@@ -669,7 +669,7 @@ class XCX121XVOLUMEHelper : public XCBaseHelper
{
//
// Update Calculations ...
Calculate();
Calculate(start);
//
// Copy Items ...
@@ -695,7 +695,7 @@ class XCX121XVOLUMEHelper : public XCBaseHelper
}
//
Calculate();
Calculate(barIndex);
//
int count = ArraySize(bullishVolumeMaBuffer);
@@ -718,7 +718,7 @@ class XCX121XVOLUMEHelper : public XCBaseHelper
{
//
// Update Calculations ...
Calculate();
Calculate(start);
//
// Copy Items ...
@@ -747,7 +747,7 @@ class XCX121XVOLUMEHelper : public XCBaseHelper
}
//
Calculate();
Calculate(barIndex);
//
int count = ArraySize(bearishVolumeBuffer);
@@ -770,7 +770,7 @@ class XCX121XVOLUMEHelper : public XCBaseHelper
{
//
// Update Calculations ...
Calculate();
Calculate(start);
//
// Copy Items ...
@@ -796,7 +796,7 @@ class XCX121XVOLUMEHelper : public XCBaseHelper
}
//
Calculate();
Calculate(barIndex);
//
int count = ArraySize(bearishVolumeMaBuffer);
@@ -819,7 +819,7 @@ class XCX121XVOLUMEHelper : public XCBaseHelper
{
//
// Update Calculations ...
Calculate();
Calculate(start);
//
// Copy Items ...
@@ -1071,17 +1071,21 @@ class XCX121XVOLUMEHelper : public XCBaseHelper
//
void Calculate(
int barIndex = 0,
int maxRequiredBars = 100 //
)
{
//
// Buffers ...
if (barInex < 0) {
barIndex = 0;
}
//
CopyBuffer(
mHandler,
X121_XVOLUME_BULLISH_LINE,
0,
barIndex,
maxRequiredBars,
bullishVolumeBuffer
//
@@ -1091,7 +1095,7 @@ class XCX121XVOLUMEHelper : public XCBaseHelper
CopyBuffer(
mHandler,
X121_XVOLUME_BULLISH_MA_LINE,
0,
barIndex,
maxRequiredBars,
bullishVolumeMaBuffer
//
@@ -1101,7 +1105,7 @@ class XCX121XVOLUMEHelper : public XCBaseHelper
CopyBuffer(
mHandler,
X121_XVOLUME_BEARISH_LINE,
0,
barIndex,
maxRequiredBars,
bearishVolumeBuffer
//
@@ -1111,7 +1115,7 @@ class XCX121XVOLUMEHelper : public XCBaseHelper
CopyBuffer(
mHandler,
X121_XVOLUME_BEARISH_MA_LINE,
0,
barIndex,
maxRequiredBars,
bearishVolumeMaBuffer
//