l want to get Friday quotes close time
Example : l want to get that 23:58 to string input
My requirements is l want to set Expiration time of pending order on Friday at market end quotes time

Thank you.
Professional trading system research and development.
Forex market trend analysis.
Technical and fundamental analysis
Market research project.
l want to get Friday quotes close time
Example : l want to get that 23:58 to string input
My requirements is l want to set Expiration time of pending order on Friday at market end quotes time

Thank you.
Sorry my mistake it work fine please delete this topic
l confuse because i choose model OHLC to do backtest
when choose Model "Every tick based on real tick" it work fine.
l want to add comment on partially order when it open like MT4
to tell us what from order id
Thanks
I have already fixed the problem , Now it work fine.
Just add this code on bool CloseTradePartial(int ticket, double lots, double deviation)
// filling type
if (IsFillingTypeAllowed(symbol, SYMBOL_FILLING_FOK))
request.type_filling = ORDER_FILLING_FOK;
else if (IsFillingTypeAllowed(symbol, SYMBOL_FILLING_IOC))
request.type_filling = ORDER_FILLING_IOC;
else if (IsFillingTypeAllowed(symbol, ORDER_FILLING_RETURN)) // just in case
request.type_filling = ORDER_FILLING_RETURN;
int success = OrderSend(request, result);
Please help me this project very important to me , l have tested on some another broker it work fine , but error happen only on XM Broker.
It happen when use "partially close block" on XM Broker
Please help.
Thank you.

I want to protect signal from user who do backtest.
Possible to create rule make the EA can't backtest latest week.
So EA will able to do backtest any period , except 7 - 14 May 2017.
Thank you.
Regards.

Never have delay block.
My EA have create by fxdreema it make import dll code inside.
Can l delete ? , lt will have problem (l never use delay block).
Regards