The basic premise is a custom drawing tool that draws a box. When price enters the box a series of tests are applied, based upon what a user has selected from a list of available tests to test. The list f what to test is local properties and I have the answer for how to code this.
Where I am stuck is that I want the user to be able to define a number of criteria for each of individual tests in the list of available tests. These criteria I want stored in a a global properties area eg (file -> new custom drawing tool properties) away from the chart and drawing tool itself. Placing the custom test criteria in a separate location is to prevent the local properties of the drawing tool itself becoming over populated with non helpful stuff. Otherwise making chart specific changes becomes confusing and slow. I have seen other Add-on tools use this approach and I would like to do this as well.
So where I am stuck is locating the Ninja method that allows you to create new sections in the main file menu?
As I also want to have the global settings saved, I am assuming I need to set up an xml write and read call so the User defined settings are sent to a custom external file.
Thoughts greatly appreciated?
Kind regards
Duncan
Comment