How do you get price for specific bars? I want to know the fastest and best way to get value of every bars?
For example: I want to get Each Value of 100 bars(I mean to limit it to 100 bars then show it subwindow as indicator lines), "Previous to Current Bars". Can you please list all function/method for this kind of task. I know some of the ways don't work, and its depends on my custom indicator, that's why I'm asking if you give sample code of how to do this in every possible ways.
Did you read the documentation on the subject? You can find it here: Timeseries and Indicators Access
I read but it looks like about array data. I want to get close price for specific bars and including current bar price.
Please give me simple example code.