apply fix issues on reading and calculating swings and ... on XCA indicators ...

This commit is contained in:
2025-04-29 12:28:35 +03:30
parent 4974e10e0c
commit e938c430f4
5 changed files with 135 additions and 127 deletions
+10 -5
View File
@@ -128,11 +128,11 @@ input bool showLongCycle = true; // Show Long Cycle
input bool showHindCycle = true; // Show Hind Cycle
//
input int sarArrowCode = 159; // Parabolic Sar Arrow Code
input int peakArrowCode = 159; // Peaks Arrow Code
input int valeArrowCode = 159; // Vales Arrow Code
input int swingLowArrowCode = 225; // Swing Low Arrow Code
input int swingHighArrowCode = 226; // Swing High Arrow Code
int sarArrowCode = 159; // Parabolic Sar Arrow Code
int peakArrowCode = 159; // Peaks Arrow Code
int valeArrowCode = 159; // Vales Arrow Code
int swingLowArrowCode = 225; // Swing Low Arrow Code
int swingHighArrowCode = 226; // Swing High Arrow Code
//
// Buffers ...
@@ -1626,6 +1626,11 @@ void CalculateBuffers(
barsLimit = ratesTotal;
firstBarIndex = barsLimit - 1;
}
else
{
//
firstBarIndex = startCalculationForLastBars;
}
//
// bool canCalculate = true;