try putting () around the vlookups.

=IF((VLOOKUP(A17,'MT4 Paste'!$A$3:$B$15,2,FALSE))>0,(VLOOKUP(A17,'MT4 Paste'!$A$3:$B$15,2,FALSE)),0)