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

 

Sir 

May I use the trade panel in Strategy Tester Visualization like figure?  I can load in but push the button no any reaction. Can you give me a solution how to use in tester.    trade panel in tester

 
virtual bool      Create(const long chart,const string name,const int subwin=0,const int x1=20,const int y1=20,const int x2=250,const int y2=300);



if(!TradePanel.Create(ChartID(),"Trade Panel"))
     {
      return (INIT_FAILED);
     }


bool CTradePanel::Create(const long chart,const string name,const int subwin=0,const int x1=20,const int y1=20,const int x2=250,const int y2=300)
  {
Dmitriy Gizlyk #
:

Hello, Diego.
Check this version, please.

Best regards,
Dmitriy. 

Dear dmitriy.

how to rezise " Trade panel" , i want smaller, however i can't change size of " trade panel
, it's allway dafaut size.

Thanks Dmitriy.

 
Thaks for this article.
 
Hello Dmitriy,

One simple question: can we add buy lots and sell lots together in order to create "total lots" ?
I have a simple EA also, attached here.
But I do not know how to add "total lots" text on the chart.
 
Thank you!
Dmitriy Gizlyk
Dmitriy Gizlyk
  • 2022.12.06
  • www.mql5.com
Trader's profile
Files:
lotsize.mq4  3 kb
 

Thank you for the article.

I will modify the program to increase the panel size.

"y2" in the Create part of panel creation is set to a larger value, but it does not grow like the image.

Do you know how to resize it?

Files:
Reason: