
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
step2 = true;
Print("FastMA has crossed below SlowMA, Initiating Trade function");
request.action = TRADE_ACTION_DEAL;
request.deviation = 20;
request.magic = 1337;
request.symbol = _Symbol;
request.volume = Lots;
request.type = ORDER_TYPE_SELL;
request.price = SymbolInfoTick(_Symbol,Price.bid);
request.sl = (Price.bid - StopLoss);
request.tp = (Price.bid + TakeProfit);
OrderSend(request,result);
it doesnt like this line
" request.price = SymbolInfoTick(_Symbol,Price.bid);"
any ideas?
says Bid parameter conversion not allowed