This commit is contained in:
2024-05-30 06:59:22 +03:30
parent 7fc6f52c51
commit 98fdcf1fd0
2 changed files with 9 additions and 6 deletions
+6 -2
View File
@@ -304,12 +304,16 @@ public:
} }
else else
{ {
start = prevCalculated - 1; return;
} }
// else
// {
// start = prevCalculated - 1;
// }
// //
// Loop through Bars ... // Loop through Bars ...
for (int i = start; i < totalBars - 1 && !IsStopped(); i++) for (int i = totalBars - 1; i >= start && !IsStopped(); i--)
{ {
// //
XOHCL iBar; XOHCL iBar;
+3 -4
View File
@@ -120,14 +120,13 @@ int OnCalculate(
// //
// //
Print("Limit: ", limit, "last "); Print("Limit: ", limit);
mMid.Calculate();
// //
// int midMainBufferCopied = mMid.CopyBuffer( // int midMainBufferCopied = mMid.CopyBuffer(
// "XSCMid", // "XSCMid",
// mainBuffer, // mainBuffer
// 0,
// rates_total //
// ); // );
// if (!IsValidSize(midMainBufferCopied)) // if (!IsValidSize(midMainBufferCopied))
// { // {