SELL order does not want to launch
void SELL() { MqlTradeRequest myrequestSELL; MqlTradeResult myresultSELL; ZeroMemory(TraderequestSELL); TraderequestSELL.action = TRADE_ACTION_DEAL; TraderequestSELL.type = ORDER_TYPE_SELL; TraderequestSELL.symbol = _Symbol; TraderequestSELL.volume = 0.01; TraderequestSELL.type_filling = ORDER_FILLING_FOK; TraderequestSELL.price = SymbolInfoDouble(_Symbol,SYMBOL_BID); TraderequestSELL.tp = 0; TraderequestSELL.deviation =50; { OrderSend(TraderequestSELL,myresultSELL); } }
Here is the code for the SELL Order
Try with an OrderCheck, and what are the logs saying?
What are the symbol specifications saying? Is shorting this symbol possible?
Here is the code, this one work and the Buy order is launched.
However, when i wan't to place a SELL Order, it won"t launch.
How can i fix it?