Hi,
I know that we can use System.Windows.Forms functions in order to display custom alerts and other dialog windows. I wonder whether it is possible to add a clickable button to the status line of a chart and to have one of my own functions called when the button is clicked.
Any hints on how to implement this would be appreciated.
Kind regards,
HPF
Can I add a clickable button to the status line of a chart?
- Henry MultiСharts
- Posts: 9165
- Joined: 25 Aug 2011
- Has thanked: 1264 times
- Been thanked: 2957 times
Re: Can I add a clickable button to the status line of a cha
Hello HPF,
Yes that is possible to implement that.
Check out Chart ToolBar section of our Programming Guide to learn how to do that. A pre-built indicator _Chart_ToolBar_Example_ and a signal _ChartToolBar_Trading_ may be used as examples.
Yes that is possible to implement that.
Check out Chart ToolBar section of our Programming Guide to learn how to do that. A pre-built indicator _Chart_ToolBar_Example_ and a signal _ChartToolBar_Trading_ may be used as examples.
- Henry MultiСharts
- Posts: 9165
- Joined: 25 Aug 2011
- Has thanked: 1264 times
- Been thanked: 2957 times
Re: Can I add a clickable button to the status line of a cha
HPF, you can place it under condition and show it for a certain name or resolution only like that. Here is a complete list: Properties of the Data Series, which a study is applied toHow do I control whether some given chart window shows a tool bar at all?
Re: Can I add a clickable button to the status line of a cha
Thanks.
I also figured out that you can hide and show the tool bar of the current chart window by
HPF
I also figured out that you can hide and show the tool bar of the current chart window by
Code: Select all
ChartToolBar.Visible = false;