| Registered User Joined: 10/7/2004
 Posts: 12
 
 | I want to trigger execution of code in bar prior to the last bar on chart.  How do you do that? | 
	
	|  
  Worden Trainer
 
 Joined: 10/7/2004
 Posts: 65,138
 
 | The following RealCode Rule contains an example that will return True on the Bar prior to the last Bar on the Chart: 
 If CurrentIndex = Price.Count - 2 Then Pass
 
 -Bruce
 Personal Criteria Formulas
 TC2000 Support Articles
 |