double tickupcount = CountIf(delegate {return High[0] >highcount;}, Bars.BarsSinceSession);
double tickdowncount = CountIf(delegate {return Low[0] <lowcount*-1;}, Bars.BarsSinceSession);
The plan is it will take a multitude of market internal data from TICK, TRIN, VIX, ADD and sector data and then derive a Long or Short score based on the strength/weakness of the internals. Having said that the tick is probably the only one where countif will be used which is the most critical and this criteria must be satisfied first before any of the other criteria is even tested. If you look at the chart in my last post to Ryan you will see the countif giving the figures on the top and bottom right for a tick of +800 or -800. Once this test is carried out it will then test the other market internals based on a weighting I'm assigning to them.
Please let me know if this makes sense now. I appreciated Ryan's ideas on this given barrsarray won't work but will have to figure out how that works.
Cheers
DJ
Comment