Kod: Zaznacz cały
if(...........)
{
OrderSend(Symbol(),OP_BUY,lots,Ask,3,Bid-sl*Point,Bid+takeprofit*Point);
buyx = 1;
sellx = 0;
}
BE_long();
if(...........)
{
OrderSend(Symbol(),OP_SELL,lots,Bid,3,Bid+sl*Point,Bid-takeprofit*Point);
sellx = 1;
buyx = 0;
}