Login Page - Create Account

Support Board


Date/Time: Sun, 19 May 2024 09:22:26 +0000



Post From: Open 2 DAYS historical chart

[2017-03-22 00:53:14]
GmA - Posts: 20
Hello Support Board!

Very sorry, but I've read the description prior to submitting the request and double checked it again after your reply.
On my understanding, as well as from the examples in studies.cpp to open historical daily chart I need to set:

s_ACSOpenChartParameters OpenChartParameters;
OpenChartParameters.Symbol = sc.GetRealTimeSymbol();
OpenChartParameters.ChartDataType = DAILY_DATA;
OpenChartParameters.HistoricalChartBarPeriod = HISTORICAL_CHART_PERIOD_DAYS;
...
What I am not able to find out in documentation and in examples is where to set the number of days for historical daily chart (2 historical days in my case).
Could you please clarify it

Thank you in advance and
With kind regards
GmA