If a line causes an error message although its syntax is ok, then the compiler expects something else here. The usual mistake is a bracket that's missing or superfluous in the lines before.
Aside from that, I see in your code several function calls, f.i. priceLow() etc. with missing parentheses. A function with no parentheses is not called, it's only a pointer.