Welcome to NexusFi: the best trading community on the planet, with over 150,000 members Sign Up Now for Free
Genuine reviews from real traders, not fake reviews from stealth vendors
Quality education from leading professional traders
We are a friendly, helpful, and positive community
We do not tolerate rude behavior, trolling, or vendors advertising in posts
We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community. It's free for basic access, or support us by becoming an Elite Member -- see if you qualify for a discount below.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
Guys can anybody tell me how to save the parameters in NT6.5
basically i have used 2 datetime and 2 timespan as properties (parameters) and wanted to save the same so that when i reopen the workspace or so i could retrieve the changed parameters.
i have tried writing and retrive the same from an XmlSerializer. but sadly results are not so encouraging. it does retrieves the values but is cropping up other issues.
I separated your question into its own thread. I'm sorry I can't say for sure how to do it, but I have some ideas, and when I get some time I will try to test. Hopefully others can contribute between now and then.
this post at NT support forum is of great help. now i can save and retrieve the settings but the problem is while accessing the same from a workspace (with the indicator on), the parameter values are restoring to their default values. seems the initialize part is called at the end can anybody throw some light. any workaround possible
if i remove the xmlignore() from the properties the workspace seems to behave the way i wanted. but i have date and time (TimeSpan) parameters. date seems to work fine but time doesnt. atleast i am moving somewhere.
thanks, i have not used NT7, but the problem sees a bit deeper. I want to select time from the parameters. for this i am using TimeSpan as one of the properties. the problem is xml doesnt save TimeSpan. since Ninja saves the workspace settings in xml, seems we still have some issues ahead.
I have not seen your code, so this may be off base, but to code timespans, I would use a start time, and then an int for minutes and just use an addition of the timespan minutes to the start time.