Indicator cannot load. Please help...?
Is indicator placed in MQL5\Indicators folder and compiled successfully? Try to modify your code to get an error code.
Print("hurst indicator not available! Last error is ",GetLastError());
OOP in MQL5 by Example: Processing Warning and Error Codes
- 2010.05.26
- KlimMalgin
- www.mql5.com
The article describes an example of creating a class for working with the trade server return codes and all the errors that occur during the MQL-program run. Read the article, and you will learn how to work with classes and objects in MQL5. At the same time, this is a convenient tool for handling errors; and you can further change this tool according to your specific needs.
alexvd:
I get error 5040. Also on compilation I get the warning 'no indicator plot defined for indicator. Assigned 1 by default'Is indicator placed in MQL5\Indicators folder and compiled successfully? Try to modify your code to get an error code.
Could you provide source code of hurst indicator? It should help us to reproduce your error.
MQL5.community - User Memo
- 2010.02.25
- MetaQuotes Software Corp.
- www.mql5.com
You have just registered and most likely you have questions such as, "How do I insert a picture to my a message?" "How do I format my MQL5 source code?" "Where are my personal messages kept?" You may have many other questions. In this article, we have prepared some hands-on tips that will help you get accustomed in MQL5.community and take full advantage of its available features.
alexvd:
Could you provide source code of hurst indicator? It should help us to reproduce your error.
Actually the source code is already above. The only thing I added was the print directive you gave me to read the error. But on placing the oscillator, it draws nothing and that warning still persists on compilation.
Could you provide source code of hurst indicator? It should help us to reproduce your error.
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