Use mouse functions to edit signals in realtime ?

Questions about MultiCharts and user contributed studies.
maxmax68
Posts: 163
Joined: 20 Nov 2012
Has thanked: 55 times
Been thanked: 48 times

Use mouse functions to edit signals in realtime ?

Postby maxmax68 » 09 Dec 2012

Hi,
I would like to use new mouse functions to edit on the fly in realtime parameters of my signals.
I'll try to explain. Let's simplify. Suppose you have a signal that you use as a trailing stop. For instance you are long and use a low[1]-n*atr(14) to trail and stop your position.
N is your input multiplier that you can edit with format signal.
On an other java platform I use it is possible to draw text or buttons on the chart that when clicked execute a function. So in our case I could draw button plus that when clicked would increment n in realtime without having to format signal.
With multicharts does it exist the possibility to achieve the same feature ?
Eventually with any add on?
Thanks in advance
Massimo

User avatar
TJ
Posts: 7742
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 1033 times
Been thanked: 2222 times

Re: Use mouse functions to edit signals in realtime ?

Postby TJ » 09 Dec 2012

Hi,
I would like to use new mouse functions to edit on the fly in realtime parameters of my signals.
I'll try to explain. Let's simplify. Suppose you have a signal that you use as a trailing stop. For instance you are long and use a low[1]-n*atr(14) to trail and stop your position.
N is your input multiplier that you can edit with format signal.
On an other java platform I use it is possible to draw text or buttons on the chart that when clicked execute a function. So in our case I could draw button plus that when clicked would increment n in realtime without having to format signal.
With multicharts does it exist the possibility to achieve the same feature ?
Eventually with any add on?
Thanks in advance
Massimo
It is possible... but will take some programming.

You can draw a text object on the chart, then have the strategy to read the text object to modify your logic.

https://www.multicharts.com/trading-software/

Look down the middle of the page:
PowerLanguage Keyword Reference
[+] MouseClickEvents‎
[+] Text Drawing

maxmax68
Posts: 163
Joined: 20 Nov 2012
Has thanked: 55 times
Been thanked: 48 times

Re: Use mouse functions to edit signals in realtime ?

Postby maxmax68 » 09 Dec 2012

Hi TJ,
thanks for your advice.
Probably Text_GetActive can be useful for my feature.
I'll try to understand how to use it.
If anyone has an example, please post it.
Regards
Massimo


Return to “MultiCharts”