expert advisor is like a software specially written for making auto trade.You can use it as your wish.They will open and close position as per instruction given.But it is not a good idea to use it.Because this are not so successful i think.Rather do forex yourself.