MQL5 max bars to load/show

Hey guys,


as the title says I am looking for a script/indicator that shows you how many history bars are loaded onto a chart and also if there is a way to get a specified number of bars on a chart?


Thank you very much for your asnswers!


Kind regards

any ideas?