See: https://www.dukascopy.com/wiki/#Historical_high_values For your particular case you will need to obtain the start and the end times by using IChart.getMinTime and IChart.getMaxTime, then fetch the feed descriptor by using IChart.getFeedDescriptor, which you can use to call IHistory.getFeedData with from and to parameters, mind that you will need to cast the IFeedData results to IBar to obtain getHigh and getLow values.
AbsoluteReturner
Post subject: Re: How in the chart show the highest and lowest points,Thank you!
I want to use highest and lowest time and price of a chart window within a custom indicator. But IIndicatorContext.getIndicatorChartPanel().getMaxTime() / .getMinTime() / .getMaxPrice() / .getMinPrice() is depricated and returns 0. How can I get these values ?
Regards AbsoluteReturner
API Support
Post subject: Re: How in the chart show the highest and lowest points,Thank you!