I am trying to open trades based on a Fractals. Code compiled without error but it is NOT opening any trade..
Ahmed Hussain: Here code compiles without Error but it is NOT opening trade..
- Unless that code is actually being called, nothing will ever happen.
- Always post all relevant code.
How To Ask Questions The Smart Way. 2004
Be precise and informative about your problem -
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?
William Roeder:
- Unless that code is actually being called, nothing will ever happen.
- Always post all relevant code.
How To Ask Questions The Smart Way. 2004
Be precise and informative about your problem -
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?
Function is being called in if statement and it is getting executed now. 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
Hi, I am new to MQL4 programming. I am trying to add code to my EA using fractal. The condition is if there is NOT Up Fractal in last 4 bars , it should open BUY trade..Here code compiles without Error but it is NOT opening trade.. here's the code:
Regards.