One Click Trading

 

Thanks in advance, I have two questions about one-click-trading window:

1. Is it possible to open and close the one-click-trading window from an EA code?

2. Is it possible to modify the volume on the one-click-trading window from an EA code?

 

Hi,

Both question's answer are no,there is not any API code to connect to OneClickTrading in MQL4,

So it's just for manual trading,

So for trading during MQL4 code,you can use the OrderSend() function that is more flexible than OneClick trading panel window.

 
Thank you.
 
Hakan.Tunguz:
Thank you.
You're welcome,
 

Thanks, but I don't need a complicated one.

When the signal is generated, the calculated volume by my EA on one-click window would facilitate my manual trades a little bit.

Is controlling one-click-trading window from an EA possible in MQL 5?


I have an another question by the way: Is it possible to paint between two horizontal lines?

 

Hakan.Tunguz:

Is controlling one-click-trading window from an EA possible in MQL 5?

No,I dont think so.

Hakan.Tunguz:

I have an another question by the way: Is it possible to paint between two horizontal lines?

Yes,it's possible,so what type you want to be?

You can draw color rectangle between two horizontal lines.

 
Mehrdad Jeddi:

Yes,it's possible,so what type you want to be?

You can draw color rectangle between two horizontal lines.


Thanks again.

 
Hakan.Tunguz:


Thanks again.

You're welcome,

Reason: