Operator While - until open trades
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
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