This commit is contained in:
Miha Kralj
2024-09-23 22:10:04 -07:00
parent 58d72c06ca
commit 990c7b4cf0
3 changed files with 6 additions and 3 deletions
+1
View File
@@ -540,6 +540,7 @@ namespace SyntheticVendorNamespace
openValue = 0.0001;
closeValue = 100;
}
else { }
return new HistoryItemBar
{
+5 -1
View File
@@ -79,7 +79,9 @@ public class CircularBuffer : IEnumerable<double>
public double Oldest()
{
if (_size == 0)
{
ThrowInvalidOperationException();
}
return _buffer[_start];
}
@@ -129,7 +131,9 @@ public class CircularBuffer : IEnumerable<double>
_current = default;
}
public void Dispose() { }
public void Dispose() {
// not implemented
}
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
-2
View File
@@ -37,8 +37,6 @@ public abstract class AbstractIndicatorBase : Indicator
SeparateWindow = false;
Series = new(name: $"Name", color: Color.Orange, width: 2, style: LineStyle.Solid);
AddLineSeries(Series);
InitIndicator();
}
protected virtual void InitIndicator()