It doesn't work because nothing is changing.
If it is NOT time to do something, RETURN (thus waiting for the next tick)
int start(){ // while(ExistPositions() == True) if(ExistPositions()) { do something } // else // { // continue; // } return(0); // Wait for next tick
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, I am trying code EA with operator while. Cycle until are open trades, but my code not working. Can me anybody advice ?
Here is code. Thank you