Belgacem Issam:
hello,
im trying to count how many candle closed below 30000 and how many candle close above 30000 on us30 for the 15candle, below the code i use.
the returns values are non sence
thanks for help
If your program compiles without any error but doesn't do what is should use the debugger and control the relevant variables:
https://www.metatrader5.com/en/metaeditor/help/development/debug // Code debugging
https://www.mql5.com/en/articles/2041 // Error Handling and Logging in MQL5
https://www.mql5.com/en/articles/272 // Tracing, Debugging and Structural Analysis of Source Code
https://www.mql5.com/en/articles/35 // scrol down to: "Launching and Debuggin"

Code debugging - Developing programs - MetaEditor Help
- www.metatrader5.com
MetaEditor has a built-in debugger allowing you to check a program execution step by step (by individual functions). Place breakpoints in the code...

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
hello,
im trying to count how many candle closed below 30000 and how many candle close above 30000 on us30 for the 15candle, below the code i use.
the returns values are non sence
thanks for help