void operator() ( const Bar &bar ) { ++cnt; double t = cnt; rsUpper.Add( t, bar.High() - bar.Open() ); rsLower.Add( t, bar.Open() - bar.Low() ); }