Data Range Value

Read before posting.
Posts: 24
Joined: 11 May 2013
Has thanked: 28 times
Been thanked: 1 time

Data Range Value

Postby Louis88 » 26 Dec 2014

I would like to know what's the reserved word (if any) which retains the value I set in the Format Instrument, Settings, Data Range.
I expected to find maybe a reserved word, maybe a function, something like: GetDataRange(n, t) where n could be, in turn, the number of days back or the number of bars back, as specified by the t parameter.
If you have the answer, it would be nice to suggest how did you get at it. I mean what search string you entered or where to see in the Reserved Words Reference.
Thanks for your time

User avatar
Henry MultiСharts
Posts: 8880
Joined: 25 Aug 2011
Has thanked: 1233 times
Been thanked: 2860 times

Re: Data Range Value

Postby Henry MultiСharts » 26 Dec 2014

Hello Louis88,

There is no reserved word that returns Data Range. You can check the first and last bar's date/time to know the range of the data available on the chart.

Return to “MultiCharts FAQ”