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
Use mouse functions to edit signals in realtime ?
- 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 ?
It is possible... but will take some programming.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
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
Re: Use mouse functions to edit signals in realtime ?
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
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