mirror of
https://github.com/mihakralj/QuanTAlib.git
synced 2026-08-07 21:47:43 +00:00
corrections
This commit is contained in:
@@ -10,7 +10,7 @@ public class AtrIndicator : Indicator, IWatchlistIndicator
|
||||
|
||||
private Atr? atr;
|
||||
protected LineSeries? AtrSeries;
|
||||
public int MinHistoryDepths => 2;
|
||||
public static int MinHistoryDepths => 2;
|
||||
int IWatchlistIndicator.MinHistoryDepths => MinHistoryDepths;
|
||||
|
||||
public AtrIndicator()
|
||||
|
||||
@@ -27,7 +27,6 @@ public class TestIndicator : Indicator, IWatchlistIndicator
|
||||
|
||||
private Sma? ma;
|
||||
protected LineSeries? Series;
|
||||
//protected string? SourceName;
|
||||
public int MinHistoryDepths { get; set; }
|
||||
int IWatchlistIndicator.MinHistoryDepths => 0; //QuanTAlib indicators generate value immediately
|
||||
|
||||
|
||||
Reference in New Issue
Block a user