Hi, I googled and searched help but I didn't seem to find anything about creating custom buttons just that it was possible... but no info how to do it.
I want to code a custom button that will toggle this historical orders on the chart on/off.
or does this functionality already exist somewhere?
how to create custom button? [SOLVED]
- Henry MultiСharts
- Posts: 9165
- Joined: 25 Aug 2011
- Has thanked: 1264 times
- Been thanked: 2957 times
Re: how to create custom button?
Hello ycomp,Hi, I googled and searched help but I didn't seem to find anything about creating custom buttons just that it was possible... but no info how to do it.
That is possible to implement that. Check out Chart ToolBar section of our Programming Guide to learn how to do that. The pre-built indicator _Chart_ToolBar_Example_ and the signal _ChartToolBar_Trading_ may be used as examples.
Unfortunately there is no way to access this option from the code. You may want to submit a feature request to the Project Management of our web site if you would like to have this functionality added in the future: https://www.multicharts.com/pm/I want to code a custom button that will toggle this historical orders on the chart on/off.
-
- Posts: 186
- Joined: 10 May 2012
- Has thanked: 14 times
- Been thanked: 11 times
Re: how to create custom button? [SOLVED]
A workaround might be to make 2 charts, one with historical orders off, and another with historical orders on, for reference...
Just an idea.
Just an idea.