Arad_1:
It's also easier to drive a car than a plane.I just moved from mql4 to mql5 , and honestly mql4 was much easier then mql5 in most cases ,
anyhow i am trying to read buffers values from an indicator , but it only shows me 0 instead of the actual buffer value.7
Here is my code :
what am i doing wrong here ?
double GetIndicator(int handle, int buffer_num, int index) { double arr[]; if(CopyBuffer(handle, buffer_num, 0, index+1, arr) <= 0) { ...this is error processing } return 0; }Why are you expecting something else than 0 ?

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
I just moved from mql4 to mql5 , and honestly mql4 was much easier then mql5 in most cases ,
anyhow i am trying to read buffers values from an indicator , but it only shows me 0 instead of the actual buffer value.7
Here is my code :
what am i doing wrong here ?