Forum: NinjaTrader
August 15th, 2009, 12:15 AM
|
Replies: 3
Views: 1,736
Perhaps when EventA occurs, record that bar...
Perhaps when EventA occurs, record that bar number. When EventB occurs, record that bar number. Then do Math.Abs() and see if within 6 bars.
#variables
int eventa_bar = 0;
int eventb_bar =...
|