Quote:
Originally Posted by inzider
What i want exacly is the EA to wait at least next bar
|
Here's what you need:
if(timeprev!=Time[0]) //---- it will execute the following only if a new bar started
{
YOUR CODE HERE;
timeprev = Time[0]; //---- it register here the open time of the current bar
}
Hope that helps,
FerruFx