using System; namespace TradeIdeas.TIProGUI.Charting.JavaScriptBridge.Models { public class ChartPointViewModel { public DateTime Start { get; set; } public DateTime End { get; set; } public double Open { get; set; } public double High { get; set; } public double Low { get; set; } public double Close { get; set; } public double Volume { get; set; } public double VolumeAvg { get; set; } public double StartTimeT { get; set; } public double EndTimeT { get; set; } public string Symbol { get; set; } = string.Empty; public double XValue { get; set; } public decimal? GoLevel { get; set; } public bool IsUpBar() { return Close >= Open; } } }