Finantial Functions calculation on Open Price.
Posted: Mon Jun 15, 2015 9:13 am
Dear Steema,
I am using moving average function to plot weighted moving average. If my datasource series is OHLC then on which price this function get calculated ? I think its on Close price. What if i want to calculate Moving average on Open price or any other of OHLC.
Same thing I wanted to do with other finantial functions also.
I am using moving average function to plot weighted moving average. If my datasource series is OHLC then on which price this function get calculated ? I think its on Close price. What if i want to calculate Moving average on Open price or any other of OHLC.
Same thing I wanted to do with other finantial functions also.
Code: Select all
Steema.TeeChart.Styles.Line tMovAvg = new Steema.TeeChart.Styles.Line();
tChart1.Series.Add(tMovAvg);
MovingAverage tMovingAverage = new MovingAverage();
tMovingAverage.Weighted = true;
tMovAvg.DataSource = tChart1.Series[(int)Graph.TChartMain_Series.TS_OHLC];
tMovAvg.Function = tMovingAverage;
tMovAvg.Title = "WMA";