Every variable has to be declared before you can use it. See:
https://www.mql5.com/en/articles/100
https://www.mql5.com/en/articles/496
Step-By-Step Guide to writing an Expert Advisor in MQL5 for Beginners
- www.mql5.com
The Expert Advisors programming in MQL5 is simple, and you can learn it easy. In this step by step guide, you will see the basic steps required in writing a simple Expert Advisor based on a developed trading strategy. The structure of an Expert Advisor, the use of built-in technical indicators and trading functions, the details of the Debug mode and use of the Strategy Tester are presented.
thanks
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'm new at learning to code, so im trying to add the standard deviation bands, to a VWAP indicator code I found on the Internet but I get the "FirstDevDaily" undeclared identifier error and dont know how to fix it.
any help to improve the code will be appreciated, thanks