View Single Post
  #2 (permalink)  
Old 05-09-2006, 01:15 AM
Maji Maji is offline
Senior Member
 
Join Date: Mar 2006
Posts: 787
Maji is on a distinguished road
Use the following at the beginning of your start code:

datetime timeprev=0;

int start()
{

//Check for New Bar

if(timeprev==Time[0])
return(0);
timeprev=Time[0];


// Calculations go here

} //Start
Reply With Quote