Save parameters from one session to another - futures io
futures io futures trading



Save parameters from one session to another


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one bukkan with 5 posts (1 thanks)
    2. looks_two koganam with 1 posts (0 thanks)
    3. looks_3 Big Mike with 1 posts (1 thanks)
    4. looks_4 Mindset with 1 posts (1 thanks)
    1. trending_up 3,110 views
    2. thumb_up 3 thanks given
    3. group 3 followers
    1. forum 7 posts
    2. attach_file 0 attachments




Welcome to futures io: the largest futures trading community on the planet, with well over 125,000 members
  • 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 and simple.

-- Big Mike, Site Administrator

(If you already have an account, login at the top of the page)

 
Search this Thread
 

Save parameters from one session to another

(login for full post details)
  #1 (permalink)
Calcutta, India
 
Experience: Intermediate
Platform: ArthaChitra
 
Posts: 278 since Jun 2009
Thanks: 161 given, 269 received

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.

again taking cue from this NinjaTrader Support Forum - View Single Post - saving parameters in workspace
can anybody tell me under what categories datetime and timespan will fall.

thanks in advance

Started this thread Reply With Quote

Can you help answer these questions
from other members on futures io?
COTbase for quant trading?
Elite Algorithmic NinjaTrader Trading
If ES tracks SPX, why do support/resistance, Level 2, vo …
Emini and Emicro Index
ZigZag with Depth and Backstep
EasyLanguage Programming
Webinar: Finding your own way in trading w/Adam Grimes
The Elite Circle
MACD line not plotting after change of plot order
NinjaTrader
 
 
(login for full post details)
  #2 (permalink)
Site Administrator
Swing Trader
Data Scientist & DevOps
Manta, Ecuador
 
Experience: Advanced
Platform: My own custom solution
Trading: Emini Futures
 
Big Mike's Avatar
 
Posts: 49,779 since Jun 2009
Thanks: 32,306 given, 97,566 received

bukkan,

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.

When you say other issues, what are they?

Mike

We're here to help -- just ask

For the best trading education, watch our webinars
Searching for trading reviews? Review this list

Follow us on Twitter, YouTube, and Facebook

Support our community as an Elite Member:
https://futures.io/elite/
Follow me on Twitter Visit my futures io Trade Journal Reply With Quote
The following user says Thank You to Big Mike for this post:
 
(login for full post details)
  #3 (permalink)
Calcutta, India
 
Experience: Intermediate
Platform: ArthaChitra
 
Posts: 278 since Jun 2009
Thanks: 161 given, 269 received


thanks mike for the separate thread.

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

Started this thread Reply With Quote
 
(login for full post details)
  #4 (permalink)
Calcutta, India
 
Experience: Intermediate
Platform: ArthaChitra
 
Posts: 278 since Jun 2009
Thanks: 161 given, 269 received

further update:

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.

Started this thread Reply With Quote
 
(login for full post details)
  #5 (permalink)
Singapore
 
Experience: Intermediate
Platform: NT
Broker: ib
Trading: MES
 
Mindset's Avatar
 
Posts: 362 since Sep 2009
Thanks: 89 given, 289 received

I am not sure if this answers your query but NT7 can save 'default' settings on each indicator and the workspace. Very useful little addition.

Reply With Quote
The following user says Thank You to Mindset for this post:
 
(login for full post details)
  #6 (permalink)
Calcutta, India
 
Experience: Intermediate
Platform: ArthaChitra
 
Posts: 278 since Jun 2009
Thanks: 161 given, 269 received


Mindset View Post
I am not sure if this answers your query but NT7 can save 'default' settings on each indicator and the workspace. Very useful little addition.

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.

Started this thread Reply With Quote
 
(login for full post details)
  #7 (permalink)
Calcutta, India
 
Experience: Intermediate
Platform: ArthaChitra
 
Posts: 278 since Jun 2009
Thanks: 161 given, 269 received

traded timespan with string



Started this thread Reply With Quote
The following user says Thank You to bukkan for this post:
 
(login for full post details)
  #8 (permalink)
Garner, NC/USA
 
 
Posts: 33 since Dec 2009
Thanks: 16 given, 37 received

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.

 
Code
             
// Check that its past 10:00 AM and before the end of the initial processing time, in this case 10:40 AM. No processing before 9:30 AM
            
            if ((ToTime(Time[0]) < ToTime(09, 30, 00))) return;
            
            int endHour = 10;
            if ((ToTime(Time[0]) >= ToTime(10, 00, 00)) && (ToTime(Time[0]) <= ToTime(endHour, 40, 00)))

....

bukkan View Post
traded timespan with string




Reply With Quote


futures io Trading Community Platforms and Indicators NinjaTrader > Save parameters from one session to another


Last Updated on January 4, 2010


Upcoming Webinars and Events
 

NinjaTrader Indicator Challenge!

Ongoing
 

Battlestations! Show us your trading desk - $1,500 in prizes!

March
 

Importance of Finding Your Own Way w/Adam Grimes

Elite only
 

Journal Challenge w/Jigsaw

April
     



Copyright © 2021 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@futures.io
All information is for educational use only and is not investment advice.
There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
no new posts