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,
Im working on my frist Expert , based in the CExpertSignal.
Im trying to access data from the MACD Indocator, that is located in "Examples\\MACD.ex5".
The OnInit() method of MACD.mq5 in "Indicators\\Examples" says:
Therefore I would expext to access data of the ExtMacdBuffer und ExtSignalBuffer as follows.
But access works only for the first Buffer (ExtMacdBuffer) while any attempt to access the second Buffer (ExtSignalBuffer) throws a "CIndicator::GetData: invalid buffer" error.
Any suggestions?
Thanks, Peter