When I try to compile it, I get a bunch of errors. I'm very new to mq4, but I'll try to figure it out myself. Anyone able to help? I'm posting line 14 right above the error messages. Thanks for posting this, by the way, mattrader int ...