First time trading on someone's advice and he is also an expert

Yes, the program is messed up