
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
You don't check/set the filling type in your code. That's why it's not working on FxPro-ECN.
And as you don't check trade operation returned value, it does trade silently.
Looks like you were right: in FxPro-ECN server
This is some strange broker.
Version 1.1002:
//---
if(IsFillingTypeAllowed(Symbol(),SYMBOL_FILLING_IOC))
m_trade.SetTypeFilling(ORDER_FILLING_IOC);
//---
return(INIT_SUCCEEDED);
}
Looks like you were right: in FxPro-ECN server
This is some strange broker.
Yes it gives me the same error with your new version now
So whats the sulution?
Change brokers?
Version 1.1002:
//---
if(IsFillingTypeAllowed(Symbol(),SYMBOL_FILLING_IOC))
m_trade.SetTypeFilling(ORDER_FILLING_IOC);
//---
return(INIT_SUCCEEDED);
}
Yes it works now with FxPro-ECN Thank you verry much Vladimir and Alain