Discussion of article "Creating an assistant in manual trading" - page 3

 
Amir Yacoby:

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. 

 
Dmitriy Gizlyk:

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

 
I switched everything on at once. My broker is BCS. I tried to install the panel on a demo account (I didn't get to the real one) mt5.
 
The trading panel icon stands still.
 

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. 

 
19681:
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.
Good day,
Try this option.
Regards,
Dmitry.
Files:
TradePanel.mq5  57 kb
TradePanel.ex5  270 kb
 
Diego Castilho:

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. 

Files:
TradePanel.mq5  57 kb
TradePanel.ex5  270 kb
 
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")

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.

#include<Trade\Trade.mqh>
//--- object for trade operations
CTrade  trade;
//+------------------------------------------------------------------+
//| Expert initialisation function|
//+------------------------------------------------------------------+
int OnInit()
  {
//--- set MagicNumber to identify our orders
   int MagicNumber=123456;
   trade.SetExpertMagicNumber(MagicNumber);
//--- set the allowable slippage in points when buying/selling
   int deviation=10;
   trade.SetDeviationInPoints(deviation);
//--- order filling mode, it is necessary to use the mode allowed by the server
   trade.SetTypeFilling(ORDER_FILLING_RETURN);
//---
   return(0);
  }
 
Dmitriy Gizlyk:

Hello, Diego.
Check this version, please.

Best regards,
Dmitriy. 

working perfectly ! Nice job

Thanks!  

 
Diego Castilho:

working perfectly ! Nice job

Thanks!  

Good luck.