You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hi Guys,
Can you give an example how to use CiTime class in TimeSeries.mqh file to get open time of a bar?
CiTime
CiTime is a class designed for access to open times of the bars in the history.
Description
The CiTime class provides an access to open times of the bars in the history.
Declaration
class CiTime: public CSeries
Title
#include <Indicators\TimeSeries.mqh>
Class Methods
Create Methods
Create
Creates a timeseries
BufferResize
Sets buffer size
Data Access Methods
GetData
Gets the data
Data Update Methods
Refresh
Updates the data
there is another error message, this should be "CiTime::GetData:invalid buffer"
"CiSpread::GetData: invalid buffer"
thrid,
CiTime::GetData(int index)
it doesn't work for me.
but this method works.
is there any different?
thanks,