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

 
Vadim Kazakevich:
How to do it in MQL4?

This way you can track only button presses. But it will not be possible to track changes in edited fields.

 
Good morning! I have made some additions to the panel, as you can see in the attachment, but I am not a professional programmer, everything is working, but there are some problems, if you are interested I can send you the code to analyse and solve the problems.
Files:
Panel.JPG  45 kb
 
Thank you so much for the article!
 

Good afternoon!

How can I limit the movement of the panel outside the chart boundaries?

For example, if the panel is placed at the right edge of the chart, then when the navigator panel is switched on, the panel "moves out" beyond the visible area. The example is on the screenshots:


1 2

 
Dmitriy Tyunin:

Good afternoon!

How can I limit the movement of the panel outside the chart boundaries?

For example, if the panel is placed at the right edge of the chart, then when the navigator panel is switched on, the panel "moves out" beyond the visible area. The example is on the screenshots:


In the panel move block, the control is implemented. You will not be able to move the panel over the chart. The problem is that the control works only when moving. In your example, the panel is behind the chart when the chart size is changed. Therefore, you need to add the event handling of the chart size change.

 
Hello. Can you tell me if there is any way to make newly created objects not overlap the panel? For example, lines, rectangles, etc. all overlap the panel. It is inconvenient to minimise and maximise the panel every time.
 

Hi I try to download it to trading on current mt5 5.00 build 2433. (I fell MQL auto update build version 5~8 times /month ) But it get some trouble as I press buy or sell "Error of ioen BUY ORDER AutoTrading disabled by client"

And I try to add stop point in code. But it doesn't stop there.

I get confuse that. I think it is working on old version mql, but get failure in current version.


Could you do me a favor to check what happen?

 
SungSungE:

Hi I try to download it to trading on current mt5 5.00 build 2433. (I fell MQL auto update build version 5~8 times /month ) But it get some trouble as I press buy or sell "Error of ioen BUY ORDER AutoTrading disabled by client"

And I try to add stop point in code. But it doesn't stop there.

I get confuse that. I think it is working on old version mql, but get failure in current version.


Could you do me a favor to check what happen?

Hello,
This trade panel work like EA. So for fix your problem you must anable  auto trading in your terminal.
 

Hi,


As soon as I use a CDialog feature in one of my indicators, all graphical windows using this indicator close upon compilation.


Do you know how I can solve this problem?


Thank you in advance.


Philippe

 
pallaire:

Hi,


As soon as I use a CDialog feature in one of my indicators, all graphical windows using this indicator close upon compilation.


Do you know how I can solve this problem?


Thank you in advance.


Philippe

After compilation indicator will be restart at all grafics. In case charts closed in this time, I think, you need to use CAppDialog::Destroy(reason) method in OnDeinit function of your indicator.