apply fix issues on reading and calculating swings and ... on XCA indicators ...
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user