I need to retrieve close values related to the specific time duration in the past. I have already used Status( "firstbarinrange" );
and Status( "lastbarinrange" );
as part of my exploration code used From-To field in Analysis section. Is there any other way to refer to a specific period of time? I need to work on/ refer to close values related to 2 separate time durations in my exploration idea.
I appreciate it if you could give me a hint as I couldn't find any suitable functions. It seems most of the functions can give the close value for a specific date/time, not the duration.
Basically, I need to access a subset of the Close array, which is different from what I've already specified by the From-To field and firstbarinrange
and lastbarinrange
parameters.
Ultimately, I want to calculate the EMA of close values of a security, let's say from 01/02/2019 to 01/02/2020.
Thanks