When the "Trace Trades on the Chart" option is enabled - should the trace automatically appear on the chart or should I perform additional actions? Terminal MetaTrader 5 build 1135.
When I run it, I see in my Expert Advisor's log that a command has been triggered
trade.PositionOpen(_Symbol,// инструментORDER_TYPE_BUY,//
inLot,// количество лотов для торговли
ask,// последняя цена ask
0.0,// Stop Loss0.0,// Take Profit " "); // без комментариев
But there is nothing in the terminal log. I do some digging in the library. Found this.
if(!FillingCheck(symbol))
return(false);
It crashes here.
I have searched further and got to this.
//--- wrong filling policy, set error code
m_result.retcode=TRADE_RETCODE_INVALID_FILL;
return(false);
I came back and found this
//--- get possible filling policy types by symboluint filling=(uint)SymbolInfoInteger(symbol,SYMBOL_FILLING_MODE);
Returns 0.
Took a call to this broker's support staff.
They told me.
"If you set exchange execution in your Expert Advisor, disable type check.
I don't know what to do with it. I should ask my broker what kind of error I have in my brokerage brokerage deal.
MqlTradeRequest req;
req.action=TRADE_ACTION_DEAL; // Тип выполняемого действия
req.symbol=_Symbol; // Имя торгового инструмента
req.volume=inLot; //Запрашиваемый объем сделки в лотах
req.type=ORDER_TYPE_BUY; //Тип ордера//req.type_filling=ORDER_FILLING_FOK; // Тип ордера по исполнению//+------------------------------------------------------------------+//| |//+------------------------------------------------------------------+MqlTradeResult rez;
OrderSend(req,rez);
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Now the site opens but, no pictures are visible
And when I try to open the attached file.
The problem persists.
Unfortunately, older devices do not support the secure connection used on our web servers.
We recommend the following options:
Only in pairs.
Here is the code(old style), it can be improved:
Thanks for the tip, but the script itself is there to close overlapped orders!
I am interested in realization of this through the terminal feature itself!
Unfortunately older machines do not support the secure connection used on our web servers.
We recommend the following options:
I can't see the adverts either.
I got one broker with exchange execution.
My Expert Advisor uses a standard library.
When I run it, I see in my Expert Advisor's log that a command has been triggered
But there is nothing in the terminal log. I do some digging in the library. Found this.
It crashes here.
I have searched further and got to this.
I came back and found this
Returns 0.
Took a call to this broker's support staff.
They told me.
"If you set exchange execution in your Expert Advisor, disable type check.
I don't know what to do with it. I should ask my broker what kind of error I have in my brokerage brokerage deal.
I got one broker with exchange execution.
My Expert Advisor uses the standard library.
When I run it, I see in my Expert Advisor's log that a command has been triggered
But there is nothing in the terminal log. I do some digging in the library. Found this.
It crashes here.
I have searched further and got to this.
I came back and found this
Returns 0.
Tried to talk to this broker's support staff.
They told me.
"If you set exchange execution in your Expert Advisor, disable type check.
I don't know what to do with it. I should ask my broker what kind of error I have in my brokerage brokerage deal.
Tryusing OrderSend() instead oftrade.PositionOpen()
2015.05.20 23:01:55.387 Trades '*********': failed exchange buy 0.10 EURUSD at market [Unsupported filling mode]
with the commented type_filling the result is the same
2015.05.20 23:01:55.387 Trades '*********': failed exchange buy 0.10 EURUSD at market [Unsupported filling mode]
The result is the same
Brokers to the FUCK!
Sec, I'm going to drop a check and you'll post the results...