READ-ONLY

The forum is now a read-only archive.

For bug reports & platform questions → [email protected]

Our community lives on Discord and YouTube — come join us!

Chart Buttons and Objects

2 replies

vmc

Subscriber, bbp_participant, community, 3 replies.

Visit profile

11 years ago #113411

Hi,

 

I’d like to know if you’re considering the possibility of including visual chart buttons/objects to which we can attribute actions.

It would be really helpfull if we could setup buttons on the charts that would trigger commands inside the ea.

For example clicking a Buy button that automatically sets the TP and SL, or closes all open trades, or any other action the EA Wizard allows.

 

If you’re not considering it for the next EA Wizard upgrade (by the way when is it expected) can you please post a simple code example (that I can put into the “Custom Action” field) of EA Wizard.

Just need a simple code for an on-chart clickable button saying “Button” and that sends a buy signal. This would be enough for me to pick up and test what I need.

 

But it would be GREAT if you could include on-chart buttons and other objects (like horizontal arrows) in the next version.

 

Thanks.

0

Mark Fric

Administrator, sq-ultimate, 2 replies.

Visit profile

11 years ago #129121

Hello,

 

we are not considering anything like this for now, but thank you for the suggestion, I’ll think about it.

 

I’m not sure how difficult it is to add button to the chart in MT4, I suspect that it will be not that simple. I doubt that it is directly supported in MQL.

So I don’t have any example code that could do this, perhaps you can find something on google.

 

As for new version of EA Wizard, it doesn’t have exact release date. We’d like to make a new version that will produce strategies that work StrategyQuant too, so it is tied with StrategyQuant development.

Mark
StrategyQuant architect

0

vmc

Subscriber, bbp_participant, community, 3 replies.

Visit profile

11 years ago #129135

Hello,

 

we are not considering anything like this for now, but thank you for the suggestion, I’ll think about it.

 

I’m not sure how difficult it is to add button to the chart in MT4, I suspect that it will be not that simple. I doubt that it is directly supported in MQL.

So I don’t have any example code that could do this, perhaps you can find something on google.

 

As for new version of EA Wizard, it doesn’t have exact release date. We’d like to make a new version that will produce strategies that work StrategyQuant too, so it is tied with StrategyQuant development.

Hello Mark,

 

Yes this is supported by MQL code for MT4.

A lot of other ea’s and some ea builders use this functionality.

Check this link: http://docs.mql4.com/constants/objectconstants/enum_object/obj_button

As you would expect, visual on-screen buttons that can trigger ea events are a GREAT help and functionality…

 

Please consider this in the next upgrade of EA Wizard.

 

Thanks.

0

Viewing 2 replies - 1 through 2 (of 2 total)