export to mt4 - v0.8.1
export to mt4 - v0.8.1
When I select "export to mt4" the below error message (popup) appears (tested with v432 an v482 MT4 s). Is it a bug?
---------------------------
Error
---------------------------
Could not load default MT4 settings: Unrecognised token: BaseCommission
---------------------------
---------------------------
Error
---------------------------
Could not load default MT4 settings: Unrecognised token: BaseCommission
---------------------------
Re: export to mt4 - v0.8.1
Hi slk,
It sounds like your .mt4config file contains invalid data. You should be able to resolve it by clicking on the 'Metatrader Info' tab, reviewing the details and then 'Save as default'.
If you are continuing to have an issue, please attach your Mt4.Default.mt4config file so we can troubleshoot further.
Thanks.
It sounds like your .mt4config file contains invalid data. You should be able to resolve it by clicking on the 'Metatrader Info' tab, reviewing the details and then 'Save as default'.
If you are continuing to have an issue, please attach your Mt4.Default.mt4config file so we can troubleshoot further.
Thanks.
Re: export to mt4 - v0.8.1
Hi tickstory
Sorry for the delay.
Thank you for solution, now i dont receive that error.
But when I test with MACD ea (mt4 default one) I receive the logs for each order (strategy tester / journal).
2013.04.30 23:18:48 2013.04.28 23:48 Tester: not enough money for sell 0.10 EURUSD at 1.30430 sl: 0.00000 tp: 1.30380 [2013.04.28 23:48]
2013.04.30 23:18:48 2013.04.28 23:47 MACD Sample EURUSD,M1: Error opening SELL order : 134
2013.04.30 23:18:48 2013.04.28 23:47 MACD Sample EURUSD,M1: OrderSend error 134
2013.04.30 23:18:48 2013.04.28 23:47 Tester: PrevBalance: 1000000.00, PrevPL: 0.00, PrevEquity 1000000.00, PrevMargin: 0.00, NewMargin: 1, FreeMargin: -1.#J
As can be seen balance is 1000000$ but it cannot sell 0.1 lot, what can be the cause?
Regards
Sorry for the delay.
Thank you for solution, now i dont receive that error.
But when I test with MACD ea (mt4 default one) I receive the logs for each order (strategy tester / journal).
2013.04.30 23:18:48 2013.04.28 23:48 Tester: not enough money for sell 0.10 EURUSD at 1.30430 sl: 0.00000 tp: 1.30380 [2013.04.28 23:48]
2013.04.30 23:18:48 2013.04.28 23:47 MACD Sample EURUSD,M1: Error opening SELL order : 134
2013.04.30 23:18:48 2013.04.28 23:47 MACD Sample EURUSD,M1: OrderSend error 134
2013.04.30 23:18:48 2013.04.28 23:47 Tester: PrevBalance: 1000000.00, PrevPL: 0.00, PrevEquity 1000000.00, PrevMargin: 0.00, NewMargin: 1, FreeMargin: -1.#J
As can be seen balance is 1000000$ but it cannot sell 0.1 lot, what can be the cause?
Regards
Re: export to mt4 - v0.8.1
Hi slk,
You might want to review the 'Metatrader Info' information that is being written for EURUSD to ensure it is correct. Given you seem to have some issues with your config file, I would recommend you try to Load the "Mt4.FactoryDefault.mt4config" that is provided with the application. This should reset all your settings to working values. You should also 'Save as default' if you want to ensure these settings are applied every time you perform a MT4 export.
After that, try back-testing again and see if it resolves your issue.
Please let us know how you go.
Thanks.
You might want to review the 'Metatrader Info' information that is being written for EURUSD to ensure it is correct. Given you seem to have some issues with your config file, I would recommend you try to Load the "Mt4.FactoryDefault.mt4config" that is provided with the application. This should reset all your settings to working values. You should also 'Save as default' if you want to ensure these settings are applied every time you perform a MT4 export.
After that, try back-testing again and see if it resolves your issue.
Please let us know how you go.
Thanks.
Re: export to mt4 - v0.8.1
Hi tickstory
I loaded the "Mt4.FactoryDefault.mt4config" and then pressed "save as default" but result is same.
Below is the contents of Mt4.Default.mt4config for review.
Thanks
GENERAL_DESCRIPTION=
ACCOUNT_ACCOUNTCOMPANY=None
ACCOUNT_ACCOUNTCURRENCY=USD
ACCOUNT_ACCOUNTSERVER=
ACCOUNT_STOPOUTLEVEL=0
ACCOUNT_STOPOUTMODE=0
ACCOUNT_BASECOMMISSION=0
ACCOUNT_COMMISSIONLOTS=0
ACCOUNT_COMMISSIONTYPE=0
ACCOUNT_FREEMARGINMODE=0
ACCOUNT_GTCPENDINGS=0
ACCOUNT_LEVERAGE=0
ACCOUNT_STOPOUTLEVEL=0
ACCOUNT_STOPOUTMODE=0
SYMBOL_EURAUD_DIGITS=5
SYMBOL_EURAUD_EMBEDSPREAD=0
SYMBOL_EURAUD_FREEZELEVEL=0
SYMBOL_EURAUD_LOTSIZE=100000
SYMBOL_EURAUD_LOTSTEP=0.01
SYMBOL_EURAUD_MARGINCALCMODE=0
SYMBOL_EURAUD_MARGINHEDGED=0
SYMBOL_EURAUD_MARGININIT=100000
SYMBOL_EURAUD_MARGINMAINTENANCE=0
SYMBOL_EURAUD_MARGINDIVIDER=1
SYMBOL_EURAUD_MAXLOT=100000
SYMBOL_EURAUD_MINLOT=0.01
SYMBOL_EURAUD_POINT=1E-05
SYMBOL_EURAUD_PROFITCALCMODE=0
SYMBOL_EURAUD_SPREAD=20
SYMBOL_EURAUD_STOPLEVEL=20
SYMBOL_EURAUD_SWAPENABLE=1
SYMBOL_EURAUD_SWAPLONG=0
SYMBOL_EURAUD_SWAPROLLOVERDAYS=3
SYMBOL_EURAUD_SWAPSHORT=0
SYMBOL_EURAUD_SWAPTYPE=0
SYMBOL_EURAUD_TICKSIZE=1E-05
SYMBOL_EURAUD_TICKVALUE=1
SYMBOL_AUDUSD_DIGITS=5
SYMBOL_AUDUSD_EMBEDSPREAD=0
SYMBOL_AUDUSD_FREEZELEVEL=0
SYMBOL_AUDUSD_LOTSIZE=100000
SYMBOL_AUDUSD_LOTSTEP=0.01
SYMBOL_AUDUSD_MARGINCALCMODE=0
SYMBOL_AUDUSD_MARGINHEDGED=0
SYMBOL_AUDUSD_MARGININIT=100000
SYMBOL_AUDUSD_MARGINMAINTENANCE=0
SYMBOL_AUDUSD_MARGINDIVIDER=1
SYMBOL_AUDUSD_MAXLOT=100000
SYMBOL_AUDUSD_MINLOT=0.01
SYMBOL_AUDUSD_POINT=1E-05
SYMBOL_AUDUSD_PROFITCALCMODE=0
SYMBOL_AUDUSD_SPREAD=20
SYMBOL_AUDUSD_STOPLEVEL=20
SYMBOL_AUDUSD_SWAPENABLE=1
SYMBOL_AUDUSD_SWAPLONG=0
SYMBOL_AUDUSD_SWAPROLLOVERDAYS=3
SYMBOL_AUDUSD_SWAPSHORT=0
SYMBOL_AUDUSD_SWAPTYPE=0
SYMBOL_AUDUSD_TICKSIZE=1E-05
SYMBOL_AUDUSD_TICKVALUE=1
I loaded the "Mt4.FactoryDefault.mt4config" and then pressed "save as default" but result is same.
Below is the contents of Mt4.Default.mt4config for review.
Thanks
GENERAL_DESCRIPTION=
ACCOUNT_ACCOUNTCOMPANY=None
ACCOUNT_ACCOUNTCURRENCY=USD
ACCOUNT_ACCOUNTSERVER=
ACCOUNT_STOPOUTLEVEL=0
ACCOUNT_STOPOUTMODE=0
ACCOUNT_BASECOMMISSION=0
ACCOUNT_COMMISSIONLOTS=0
ACCOUNT_COMMISSIONTYPE=0
ACCOUNT_FREEMARGINMODE=0
ACCOUNT_GTCPENDINGS=0
ACCOUNT_LEVERAGE=0
ACCOUNT_STOPOUTLEVEL=0
ACCOUNT_STOPOUTMODE=0
SYMBOL_EURAUD_DIGITS=5
SYMBOL_EURAUD_EMBEDSPREAD=0
SYMBOL_EURAUD_FREEZELEVEL=0
SYMBOL_EURAUD_LOTSIZE=100000
SYMBOL_EURAUD_LOTSTEP=0.01
SYMBOL_EURAUD_MARGINCALCMODE=0
SYMBOL_EURAUD_MARGINHEDGED=0
SYMBOL_EURAUD_MARGININIT=100000
SYMBOL_EURAUD_MARGINMAINTENANCE=0
SYMBOL_EURAUD_MARGINDIVIDER=1
SYMBOL_EURAUD_MAXLOT=100000
SYMBOL_EURAUD_MINLOT=0.01
SYMBOL_EURAUD_POINT=1E-05
SYMBOL_EURAUD_PROFITCALCMODE=0
SYMBOL_EURAUD_SPREAD=20
SYMBOL_EURAUD_STOPLEVEL=20
SYMBOL_EURAUD_SWAPENABLE=1
SYMBOL_EURAUD_SWAPLONG=0
SYMBOL_EURAUD_SWAPROLLOVERDAYS=3
SYMBOL_EURAUD_SWAPSHORT=0
SYMBOL_EURAUD_SWAPTYPE=0
SYMBOL_EURAUD_TICKSIZE=1E-05
SYMBOL_EURAUD_TICKVALUE=1
SYMBOL_AUDUSD_DIGITS=5
SYMBOL_AUDUSD_EMBEDSPREAD=0
SYMBOL_AUDUSD_FREEZELEVEL=0
SYMBOL_AUDUSD_LOTSIZE=100000
SYMBOL_AUDUSD_LOTSTEP=0.01
SYMBOL_AUDUSD_MARGINCALCMODE=0
SYMBOL_AUDUSD_MARGINHEDGED=0
SYMBOL_AUDUSD_MARGININIT=100000
SYMBOL_AUDUSD_MARGINMAINTENANCE=0
SYMBOL_AUDUSD_MARGINDIVIDER=1
SYMBOL_AUDUSD_MAXLOT=100000
SYMBOL_AUDUSD_MINLOT=0.01
SYMBOL_AUDUSD_POINT=1E-05
SYMBOL_AUDUSD_PROFITCALCMODE=0
SYMBOL_AUDUSD_SPREAD=20
SYMBOL_AUDUSD_STOPLEVEL=20
SYMBOL_AUDUSD_SWAPENABLE=1
SYMBOL_AUDUSD_SWAPLONG=0
SYMBOL_AUDUSD_SWAPROLLOVERDAYS=3
SYMBOL_AUDUSD_SWAPSHORT=0
SYMBOL_AUDUSD_SWAPTYPE=0
SYMBOL_AUDUSD_TICKSIZE=1E-05
SYMBOL_AUDUSD_TICKVALUE=1
Re: export to mt4 - v0.8.1
Hi slk,
Thanks for the further information. For some reason it looks like your config files are not correct - the account information does not contain valid details. Did you happen to edit or try change these files at some stage?
I have attached a "default" version of the MT4 config to this post. Could you please overwrite your existing Mt4.Default.mt4config with this one and then review your MT4 settings again? The values that are set in the file should be shown in the 'MT4 Info' screen when you try to export.
Thanks.
Thanks for the further information. For some reason it looks like your config files are not correct - the account information does not contain valid details. Did you happen to edit or try change these files at some stage?
I have attached a "default" version of the MT4 config to this post. Could you please overwrite your existing Mt4.Default.mt4config with this one and then review your MT4 settings again? The values that are set in the file should be shown in the 'MT4 Info' screen when you try to export.
Thanks.
- Attachments
-
[You must be logged in to view this attachment.]
Re: export to mt4 - v0.8.1
Hi tickstory
I have replaced the file in the "tickstory lite" folder. When I load it I receive first error (BaseCommision) again. And in your provided file desription is "Tickstory Generic 5-Digit Broker" but on te page it is empty.
I have replaced the file in the "tickstory lite" folder. When I load it I receive first error (BaseCommision) again. And in your provided file desription is "Tickstory Generic 5-Digit Broker" but on te page it is empty.
Re: export to mt4 - v0.8.1
Hi slk,
Could you please tell us what O/S you are using along with any regional settings that you have set? If you have any other information you think is useful then please let us know so we can try reproduce the issue. It would be handy if you could remove the 'ACCOUNT_BASECOMMISSION' line from your config file and see if that helps.
Thanks.
Could you please tell us what O/S you are using along with any regional settings that you have set? If you have any other information you think is useful then please let us know so we can try reproduce the issue. It would be handy if you could remove the 'ACCOUNT_BASECOMMISSION' line from your config file and see if that helps.
Thanks.
Re: export to mt4 - v0.8.1
Hi tickstory
My platform is win7-64bit-turkish.
After I copy MT4-432 (supplied by you). I open terminal.exe then choose cancell for account creation then close it. ==> Tickstory says MT4 path is not correct.
After deleting MT4.
After I copy MT4-432 (supplied by you). I open terminal.exe create account then close it. ==> Tickstory says MT4 path is correct.
(In first step should tickstory say ", it is correct)
Can you please send a screenshot of "metatrader info" page.
regards
My platform is win7-64bit-turkish.
After I copy MT4-432 (supplied by you). I open terminal.exe then choose cancell for account creation then close it. ==> Tickstory says MT4 path is not correct.
After deleting MT4.
After I copy MT4-432 (supplied by you). I open terminal.exe create account then close it. ==> Tickstory says MT4 path is correct.
(In first step should tickstory say ", it is correct)
Can you please send a screenshot of "metatrader info" page.
regards
Re: export to mt4 - v0.8.1
Hi slk,
Thanks for the further detail on this - we have managed to replicate the problem. The issue relates specifically to your Turkish language setting which is causing an error when reading the config file. We have fixed the issue and it will be available in the next release (coming this week).
In the mean-time, the best workaround is just to switch your locale to English temporarily when starting Tickstory.
Hope this helps.
Thanks for the further detail on this - we have managed to replicate the problem. The issue relates specifically to your Turkish language setting which is causing an error when reading the config file. We have fixed the issue and it will be available in the next release (coming this week).
In the mean-time, the best workaround is just to switch your locale to English temporarily when starting Tickstory.
Hope this helps.