You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Good morning!
The tester does not want to open a position, it generates an error
ERR_TRADE_SEND_FAILED
4756
Failed to send trade request
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
I think something should be corrected here
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
Now I will try to replace this function with this one
Good morning!
The tester does not want to open a position, it generates an error
ERR_TRADE_SEND_FAILED
4756
Failed to send trade request
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
I think something needs to be fixed here.
Yes. It's your dealer-Forexclub for them order type FilingFock. I'll take a walk with the dog and fix it. Didn't think there was anyone else on forexclub...
Yes. It's your dealer-Forexclub for them to have a FilingFoc order type. I'll take a walk with the dog and fix it. Didn't think there was anyone else on forexclub...
Filling mode should be set by the rules, not from the name of the forex dealer.
Added.
You can see an example in the CTrade trade class
SetMarginMode
Sets the mode of margin calculation according to the current account settings
SetTypeFillingBySymbol
Sets the order type according to the settings of the specified symbol
Yes. It's your dealer-Forexclub for them to have a FilingFoc order type. I'll take a walk with the dog and fix it. Didn't think there was anyone else on forexclub...
Didn't notice - surely you have a broker still here
It's working.
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
swapped -----------
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
Seems to be working fine so far.
It's working.
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
swapped -----------
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
Seems to be working fine so far.
as it is pre-tested with algorithm, I wonder if the result is the same?
I'm still testing on a one minute test - my computer is weak, so testing is slow.
It looks good at first glance - let's see what the end result looks like.
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
no errors in Expert's tester
Good morning!
The tester does not want to open a position and gives an error
ERR_TRADE_SEND_FAILED
4756
Failed to send trade request
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
I think something should be corrected here
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
I'm going to try to replace this function with this one.
You don't have to.
The 119th line should be if (AccountInfoString(ACCOUNT_COMPANY)=="Alpari" || AccountInfoString(ACCOUNT_COMPANY)=="Forex Club International Limited") TypeFilling = ORDER_FILLING_FOK;
and the same for AUTOOrderSELL. THAT'S IT. :)
No need.
The 119th line should be if (AccountInfoString(ACCOUNT_COMPANY)=="Alpari" || AccountInfoString(ACCOUNT_COMPANY)=="Forex Club International Limited") TypeFilling = ORDER_FILLING_FOK;
and the same for AUTOOrderSELL. THAT'S IT. :)
I will leave it this way for now - I will correct it after the test
- don't want to stop the tester
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
the only bad thing is that the test is going on now - and i seem to be overdoing it here
Fill mode should be set by the rules, not from the name of the forex dealer.
Added.
You can see an example in the CTrade trade class
SetMarginMode
Sets the mode of margin calculation in accordance with the current account settings
SetTypeFillingBySymbol
Sets the order type according to the settings of the specified symbol
Thank you very much. I should use automatic mode but I couldn't find it. That's why I prepared this patch as simple instructions for broker which one I have to use :) They are only 2. Remake. Thank you.