Thanks dusktrader. Your job is excellent. I have only an errore during compiling: "Error 062: Can't open Assets-IBFXnano.dta(rb)". Infact in yuor code, after function run(), there is that code: "AssetList = "Assets-IBFXnano.dta"; " but in files you shared there isn't any file '.dta'. Can you help me? Thanks.