
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
According to https://www.mql5.com/en/docs/standardlibrary/technicalindicators/cindicators/cindicator/cindicatorrefresh, it is recommended to always call Refresh() when retrieving data with GetData(). However, looking at the standard lib code (e.g., ExpertBase.mqh),it does not follow this pattern:
First Question: Does this mean, that I should I call m_open.Refresh() before calling signal.Open(0), e.g.:
Second Question: Am I right in saying that using CopyBuffer() eliminates the need to call Refresh()? If so, would the CopyBuffer() method be faster than the GetData() method?