This expert advisor only works in sales operations. When you open purchasing operations this expert advisor does not work.