change object settings by clicking in the chart

 

hi there,

is it possible to change the properties of an object by clicking in the chart?

the following problem: i have got 3 labels. depending on the mql code one label is green. two labels are grey. each label represents one possible direction (long / short / neutral)

imagine the folling: the market is long and my source code activates the left box for long trades. each long szenario will now be traded by my EA. BUT. if i think the market is not long, i want to trade only short scenarios, i want to click on the right box, to switch the EA to short trades.

Is that possible? Can i change object properties by clicking?

thx

Thomas

Reason: