@ambrogio hello, thanks for the solution you provided. I am still finding it hard to make the changes. Please can you help me? I'll be sending you a copy of the EA in chat. please I really need this to work on an ECN account. your help would mean a lot