19681: Autotrading is of course enabled. And it manifests itself in the fact that the buttons do not work (when you click on sell or buy it shows "error of open BUY ORDER")
#include<Trade\Trade.mqh>
//--- object for trade operations
CTrade trade;
//+------------------------------------------------------------------+//| Expert initialisation function|//+------------------------------------------------------------------+intOnInit()
{
//--- set MagicNumber to identify our ordersint MagicNumber=123456;
trade.SetExpertMagicNumber(MagicNumber);
//--- set the allowable slippage in points when buying/sellingint deviation=10;
trade.SetDeviationInPoints(deviation);
//--- order filling mode, it is necessary to use the mode allowed by the servertrade.SetTypeFilling(ORDER_FILLING_RETURN);//---return(0);
}
well ok, this is yours though
Well,
Do you need bigger size of panel or not?
I think it needs to correct font size. I will correct its and will send to you.
Best regards,
Dmitriy.
Well,
Do you need bigger size of panel or not?
I think it needs to correct font size. I will correct its and will send to you.
Best regards,
Dmitriy.
Yes, the size of the font needs correction but I think the panel too.
Thanks
very useful thanks! good idea.However, it does not work for Brazil. Is there some modification to be performed ?
sell or buy button - does not place order .. nothing.
I switched everything on at once. My broker is BCS. I tried to install the panel on a demo account (it did not come to the real one) mt5.
Try this option.
Regards,
Dmitry.
very useful thanks! good idea.However, it does not work for Brazil. Is there some modification to be performed ?
sell or buy button - does not place order .. nothing.
Hello, Diego.
Check this version, please.
Best regards,
Dmitriy.
Autotrading is of course enabled. And it manifests itself in the fact that the buttons do not work (when you click on sell or buy it shows "error of open BUY ORDER")
If the CTrade trading class is used in the programme, it is necessary to specify the type of order filling for trading on the Moscow Exchange as in the article Where to start when creating a trading robot for the Moscow MOEX exchange.
Hello, Diego.
Check this version, please.
Best regards,
Dmitriy.
working perfectly ! Nice job
Thanks!
working perfectly ! Nice job
Thanks!