please analyze result from GetLastError function
please analyze result from GetLastError function
the returend value is 0 no error
GetLastError after first indicator call (ma5=...)
it may be 4066. it may be no data when initialization. there are no reasons to call indicators in the init function
it may be 4066. it may be no data when initialization. there are no reasons to call indicators in the init function
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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
when i run this in the tester i get 0 in all the 4 vars
what's the reason
how can i fix this???