Hello, Please help with setting the Commission .. If I test anything other than the USD in the name of the back, for example, ... (AUD/USD, NZD/USD, EUR/USD) and it gives me a nonsense .. I test, for example, (AUD/NZD, AUD/CAD, EUR/NZD) Does not working neither USD/CAD..
I swap set to 0 or default tickstory and so no change..
So please help what to do .. I do not understand.
Thank you very much for your response.
Sincerely, T. B
Not working commission (currency other than USD)
Re: Not working commission (currency other than USD)
AUD/USD, NZD/USD, EUR/USD is working OK, but other no.. I set Base comm : 10
Comm type : 0
Comm lots : 0
Comm type : 0
Comm lots : 0
Re: Not working commission (currency other than USD)
Hi Bogola,
Could you please try enter the following code after you perform an OrderClose in your EA:
if (OrderSelect(OrderTicket(), SELECT_BY_TICKET, MODE_TRADES) == TRUE) Print("Commision paid: ", OrderCommission());
This should tell you what commission is being applied. We've tried this with "MACD Sample" on EURUSD and AUDCAD with the attached settings 5 dollars per lot) and it seems to be reporting the correct commission (Using MT4 Build 910).
Hope this helps.
Could you please try enter the following code after you perform an OrderClose in your EA:
if (OrderSelect(OrderTicket(), SELECT_BY_TICKET, MODE_TRADES) == TRUE) Print("Commision paid: ", OrderCommission());
This should tell you what commission is being applied. We've tried this with "MACD Sample" on EURUSD and AUDCAD with the attached settings 5 dollars per lot) and it seems to be reporting the correct commission (Using MT4 Build 910).
Hope this helps.
Re: Not working commission (currency other than USD)
by code is all ok.... 2015.11.18 08: 21: 53,855 2012.04.12 21:57 Bogola_Tomas_Algo_AJ_M5_3 {} 4_tester_poplatek AUDJPY, M5 Commision paid: -10
But I set comm type: 0
and in the report that do not write correctly ...? So it is ok at the end of the report but not during ...? I understand it ok?
If it is so, so sorry, my mistake, and everything is OK and functional ..
Thank you very much for your help and explanations ..
Sincerely, T. B
But I set comm type: 0
and in the report that do not write correctly ...? So it is ok at the end of the report but not during ...? I understand it ok?
If it is so, so sorry, my mistake, and everything is OK and functional ..
Thank you very much for your help and explanations ..
Sincerely, T. B
Re: Not working commission (currency other than USD)
Hi Bogola,
Not sure that I understand completely. The MT4 report doesn't explicitly report commissions, so you essentially need to be looking at your profit/loss statement.
Hope this answers the question.
Not sure that I understand completely. The MT4 report doesn't explicitly report commissions, so you essentially need to be looking at your profit/loss statement.
Hope this answers the question.
Re: Not working commission (currency other than USD)
Hello,
everything is okay ... It seems that the bug was in my EAs .. Thank you again for your help and support. And once again I apologize ..
Thank you
With great Regards T.B
everything is okay ... It seems that the bug was in my EAs .. Thank you again for your help and support. And once again I apologize ..
Thank you
With great Regards T.B
Re: Not working commission (currency other than USD)
Ok - no problem. Thanks for letting us know!