Thread: Inzider EA
View Single Post
  #52 (permalink)  
Old 05-02-2008, 01:43 AM
FerruFx FerruFx is offline
Senior Member
 
Join Date: Feb 2007
Posts: 881
FerruFx is on a distinguished road
Quote:
Originally Posted by inzider View Post
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
__________________
THE HEART of FOREX & THE PROBABILITY METER - Trade with 100% confidence and ... Stress Less!!!
Coding services: Experts Advisors, indicators, alerts, etc ... more info by PM
NEW: video presentation of the Probability Meter ... 24hrs action on the website
Reply With Quote