mirror of
https://github.com/mihakralj/QuanTAlib.git
synced 2026-08-23 13:08:04 +00:00
style patterns
This commit is contained in:
@@ -123,8 +123,15 @@ public sealed class AtrnValidationTests : IDisposable
|
||||
|
||||
for (int j = startIdx; j < atrValues.Count; j++)
|
||||
{
|
||||
if (atrValues[j] < minAtr) minAtr = atrValues[j];
|
||||
if (atrValues[j] > maxAtr) maxAtr = atrValues[j];
|
||||
if (atrValues[j] < minAtr)
|
||||
{
|
||||
minAtr = atrValues[j];
|
||||
}
|
||||
|
||||
if (atrValues[j] > maxAtr)
|
||||
{
|
||||
maxAtr = atrValues[j];
|
||||
}
|
||||
}
|
||||
|
||||
double currentAtr = atrValues[^1];
|
||||
@@ -336,4 +343,4 @@ public sealed class AtrnValidationTests : IDisposable
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user