Presets are kept in xml files, thus you can modify them manually or programmatically as xml files. For the latter approach, however, consider that the file format is subject to change.
fprophet
Post subject: Re: Transferring Presets between Strategy versions.
Post rating: 0
Posted: Mon 10 Dec, 2012, 20:57
User rating: 1
Joined: Fri 14 Sep, 2012, 02:25 Posts: 57 Location: New Zealand, Christchurch
ok thanks. What I have discovered is that I can copy "Strategy1.xml" as "Strategy2.xml" - so long as I then replace all occurrences of "Strategy1" with "Strategy2" within the destination xml. Transferring individual presets is the same story - just cut & paste the whole "preset@..." node then do a global replace of strategy name.
If someone with better java skills than me could develop a small utility to extract / import presets that would potentially be very useful - especially if we wanted to share Strategies and also associated presets for different timeframes, instruments, etc.
fprophet
Post subject: Re: Transferring Presets between Strategy versions.
Post rating: 0
Posted: Tue 18 Dec, 2012, 04:46
User rating: 1
Joined: Fri 14 Sep, 2012, 02:25 Posts: 57 Location: New Zealand, Christchurch
Looks like the Strategy Name is no longer embedded in the preset .xml file - so preset .xml files can now simply be copied between strategies without the need to modify them at all. Thank you !!