I'm developing an indicator for a chart shows minute bar of an instrument. This indicator requires OHLC data of previous 30 trading days.
Since the AddDataSeries method only loads as much data as the chart time frame. For example, if create a chart which "Load data based" on days, and set "Days to load" to 5. Then by using AddDataSeries we can only get OHLC for the last 5 days.
By modifying "Days to load" would work though it makes browsing the chart really inconvenient.
Is there a way for an indicator to get the last 30 day OHLC data regardless the chart settings?
Thanks
Comment