- www.mql5.com
-
There is no self-changing code
-
What is "it". Your code should never call OnTick.
-
Use the debugger or print out your variables, including _LastError and prices and find out why. Do you really expect us to debug your code for you?
Code debugging - Developing programs - MetaEditor Help
Error Handling and Logging in MQL5 - MQL5 Articles (2015)
Tracing, Debugging and Structural Analysis of Source Code - MQL5 Articles (2011)
Introduction to MQL5: How to write simple Expert Advisor and Custom Indicator - MQL5 Articles (2010)
-
There is no self-changing code
-
What is "it". Your code should never call OnTick.
-
Use the debugger or print out your variables, including _LastError and prices and find out why. Do you really expect us to debug your code for you?
Code debugging - Developing programs - MetaEditor Help
Error Handling and Logging in MQL5 - MQL5 Articles (2015)
Tracing, Debugging and Structural Analysis of Source Code - MQL5 Articles (2011)
Introduction to MQL5: How to write simple Expert Advisor and Custom Indicator - MQL5 Articles (2010)
if(Newpositionprofit>=0)
if doesnt do nothing anymore from there...please what can i do?
Did you set Debug stop points and it doesn't return to OnTick or does the entire Meta Editor crash?
if(Newpositionprofit>=0)
it gives me the alerts right before that code line. but when i reaches that code line it does nothing else.
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use