i have downloaded historical data of an instrument, i'd like to create an indicator that stores into an array all Close values and then make some calculations. While testing it i realized that only Closes[0] works, other values than zero don't, i.e. plotting zeroth gives me the timeseries, plotting [1] gives me nothing.
needless to say that i cannot access other values than the current one, as desired.
moreover how do i find the number of bars, in other words maximum value that i can put in Close[]?
Comment