
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
The following statement in my code is resulting in Pending Order getting created but it somehow is not respecting ordertplvl.
int ticketid=OrderSend(scrip,PositionType,Ordervol,NormalizeDouble(Orderprice,MarketInfo(scrip,MODE_DIGITS)),10,NormalizeDouble(ordersllvl,MarketInfo(scrip,MODE_DIGITS)),NormalizeDouble(ordertplvl,MarketInfo(scrip,MODE_DIGITS)),comment,2222,0,Green);
Checked multiple times, All variables do have valid values. Could there be a server setting although the levels are far out compare to open price or the current market levels.
What could I be missing ?