Any way to react on user input?
Any way to react on user input?
12 Jan 2016, 00:36
Is there any way to react on user input for indicators/bots?
What I mean... is there a way to create a button on the chart, where you could react on user input or open a window to change parameters etc.? It would be even great if you could interact with Chart Objects -> e.g. lines etc. to do something by dragging lines.
I didn't find anything in the API so I guess that's not possible yet?
Thanks in advance,
Oliver
Replies
lorddevil
12 Jan 2016, 17:39
RE:
Spotware said:
Dear Trader,
There is no such method to change the user input by opening a window to change parameters. However, you can take advantage of the C# language used in cAlgo and you can write some methods of your own to achieve it. A simple search using any search engine will show you several examples of how to create a new Window.
Surely I could make my own window at the start of the script (I am a .NET/C# developer myself). However what I mean is, it would be great to create a button on the chart directly so I can react on user input quickly. What I need is something like DrawObjects.Button(Text, Widht, Height, Location...) - which can be placed and can be reacted via events? Is that possible somehow?
@lorddevil
Spotware
13 Jan 2016, 15:53
Dear Trader,
We don't provide users with the ability to attach objects on the charts, which are not standard in cAlgo.API. We will consider your suggestion.
Additionally, you can post your ideas/suggestions to http://vote.spotware.com/
@Spotware
Spotware
12 Jan 2016, 16:29
Dear Trader,
There is no such method to change the user input by opening a window to change parameters. However, you can take advantage of the C# language used in cAlgo and you can write some methods of your own to achieve it. A simple search using any search engine will show you several examples of how to create a new Window.
@Spotware