if you want to sell, you make a BID !
a sell order is opened with the bid price and closed with the ask price
a buy order vice versa...
meikel:
if you want to sell, you make a BID !
a sell order is opened with the bid price and closed with the ask price
a buy order vice versa...
thanks...
i might be a tad bit too tired and missed that one.

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
if (trend==-1 && s==0) {
if (b==1) {OrderClose(ob, OrderLots(), Bid, 3, Black);}
os=OrderSend(Symbol(),OP_SELL,Lots,Ask,3,Ask+SL*Point,Ask-TP*Point,"coment",1,0,White);
s=1;
b=0;
}
if (trend==1 && b==0) {
if (s==1) {OrderClose(os, OrderLots(), Bid, 3, Black);}
ob=OrderSend(Symbol(),OP_BUY,Lots,Ask,3,Ask-SL*Point,Ask+TP*Point,"comment",1,0,White);
b=1;
s=0;
}
buy works, sell alway gives error 138.pls help. i am about to punch my lcd. and i dont want to do that so smb pls help out on this,