Quote from mischief:
4X,
Found the problem. The filter line is a hangover from when I was playing with ASX Stocks.
Change:
Filter = rank > 0 AND C > 1 AND EMA(V,65) > 50000;//IIf(FilterType,inDu,Rank >0);// AND (JDU1 OR JDU2 OR JDU3 OR JDU4);
to:
Filter = IIf(FilterType,inDu,Rank >0);
or simply
Filter = rank >0;
The 'filtertype' bit was from when I was trying to create a 'complete' AFL file where I could scan for dry up volume and rank in the same file. I had a couple of issues with it and realised I was over-engineering a solution. Now I just run the exploration in the DUVol.afl to look for dry up and the Hershey Complete.afl to test for rank.
One day I'll probably re-do the Hershey Complete.afl file and get rid of half of the extraneous stuff. Unfortunately, I love to tinker and the filter problem was demonstrative of that..