Summary
Weighted price series of historical trendbars.
Syntax
public DataSeries WeightedClose{ get; }
Example 1
protected override void OnBar() { int currentIndex = MarketSeries.Weighted.Count - 1; var currentWeighted = MarketSeries.Weighted[currentIndex]; //The current Weighted price var previousWeighted = MarketSeries.Weighted[currentIndex - 1]; //The previous Weighted price if (currentWeighted <= previousWeighted) { // Do something } }