I want to take a large data set with various volumes and extract out only those symbols with the 21 day moving average of volume between 250k shares and 1M shares. The output should be printed in the debug window. The following code should do this but does not. An example that it fails to remove from the new is is ABIO.
This code is verbose but it should catch all conditions in the volume range. It also looks for price>$5.
Does anyone know why ABIO and others fail?
CODE:
Please log in to see this code.
Size:
Color:
CODE:
Please log in to see this code.
If SMA >
2.5 million shares... not 250,000 ;)
Size:
Color:
thanks. I've been staring it too long.
Rob
Size:
Color: