Commit Latest

This commit is contained in:
2025-06-17 21:08:00 -04:00
parent af63967244
commit b8407df6ef
4 changed files with 14 additions and 33 deletions

View File

@@ -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;
}