Commit Latest
This commit is contained in:
@@ -102,17 +102,21 @@ namespace PortfolioManager.ViewModels
|
||||
private CompositeDataSource compositeDataSourceTradePoints = null;
|
||||
|
||||
private BollingerBands bollingerBands;
|
||||
|
||||
public BollingerBandViewModel(bool loadedFromParams = false)
|
||||
|
||||
public BollingerBandViewModel()
|
||||
{
|
||||
// CartesianLineSeriesView ch = new CartesianLineSeriesView();
|
||||
CartesianPointSeriesView ch = new CartesianPointSeriesView();
|
||||
|
||||
|
||||
InitializeDataSources();
|
||||
PropertyChanged += OnViewModelPropertyChanged;
|
||||
DisplayName = "Bollinger";
|
||||
Initialize(loadedFromParams ? false : true);
|
||||
Initialize(true);
|
||||
}
|
||||
|
||||
public BollingerBandViewModel(bool loadedFromParams = false)
|
||||
{
|
||||
InitializeDataSources();
|
||||
PropertyChanged += OnViewModelPropertyChanged;
|
||||
DisplayName = "Bollinger";
|
||||
Initialize(false);
|
||||
}
|
||||
|
||||
protected override void OnDispose()
|
||||
@@ -229,7 +233,7 @@ namespace PortfolioManager.ViewModels
|
||||
}
|
||||
set
|
||||
{
|
||||
if (String.IsNullOrEmpty(selectedSymbol))
|
||||
if (String.IsNullOrEmpty(value))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user