|
youre missing a ";" after lastbar = 0
But here is a better function for checking only once per bar. When youre posting code wrap it with the php tags by hitting the little php button in the editor. cheers.
__________________
"Anyone who has never made a mistake has never tried anything new." -Albert Einstein
|