Things are progressing. I would like to require several conditions to exist before placing a paintbar such as MACDh crossing 0 and CCI >0. I have tried to use the If(Any...) command you describe in Advanced Looping to check for a crossing in an earlier bar. But when I do, I get compile errors about integers and double. Are there some declarations I need to make?
Error Code: Compile Error at (38,229): Error# CS1593: Delegate 'System.Func<double,bool>' does not take 2 arguments
Compile Error at (57,229): Error# CS1502: The best overloaded method match for 'MT.Charting.PaintbarBase.IndexedPropertyDouble.this[int]' has some invalid arguments
Compile Error at (76,229): Error# CS1503: Argument 1: cannot convert from 'double' to 'int'
Compile Error at (79,229): Error# CS1061: 'double' does not contain a definition for 'CrossesUp' and no extension method 'CrossesUp' accepting a first argument of type 'double' could be found (are you missing a using directive or an assembly reference?)
Thanks for the help.