hi,
just a question: I'm coding something a bit like Strategy Tester Optimized Mode.
each Variable I want to Optimize is defined by simplified:
- Variable.Name: Supporting at the moment Type: Integers, Doubles, and Bools
- Special.Value: Can be NONE (note used) or any value: e.g. -1 which does not fit with Step
- Start.Value: Always used
- End.Value: Always used
- Steps: Can be NONE (note used e.g. Bools use only Start/End Values) or any Steps to increase the previous used Value till the end.Value is reached
1.example:
-Variable.Name1: SpreadPips
- Special.Value: NONE
- Start.Value: 0.0
- End.Value: 15.0
- Steps: 1.0
-Variable.Name2: MAPeriod
- Special.Value: NONE
- Start.Value: 10
- End.Value: 50
- Steps: 10
-Variable.Name3: Usefilter
- Special.Value: NONE
- Start.Value: false
- End.Value: true
- Steps: NONE
2.example:
-Variable.Name1: SpreadPips
- Special.Value: NONE
- Start.Value: 0.0
- End.Value: 15.0
- Steps: 1.0
-Variable.Name2: StochPeriod
- Special.Value: NONE
- Start.Value: 10
- End.Value: 50
- Steps: 10
-Variable.Name3: StochSlowing
- Special.Value: NONE
- Start.Value: 1
- End.Value: 3
- Steps: 1
-Variable.Name4: StochType
- Special.Value: NONE
- Start.Value: 1
- End.Value: 2
- Steps: NONE
-Variable.Name5: Usefilter
- Special.Value: NONE
- Start.Value: false
- End.Value: true
- Steps: NONE
-Variable.Name6: LimitMaxSimultaneusTo
- Special.Value: -1 (Not limited)
- Start.Value: 1
- End.Value: 50
- Steps: 1
Basically I want to get all possible combinations into 1 array:
using 2.example:
- first Combinatiion: 6 Values array index: 0-5
- next Combinatiion: 6 Values array index: 6-11
etc..ect
Any Helpful ideas how to best do it is welcome.
Cheers
Ati
just a question: I'm coding something a bit like Strategy Tester Optimized Mode.
each Variable I want to Optimize is defined by simplified:
- Variable.Name: Supporting at the moment Type: Integers, Doubles, and Bools
- Special.Value: Can be NONE (note used) or any value: e.g. -1 which does not fit with Step
- Start.Value: Always used
- End.Value: Always used
- Steps: Can be NONE (note used e.g. Bools use only Start/End Values) or any Steps to increase the previous used Value till the end.Value is reached
1.example:
-Variable.Name1: SpreadPips
- Special.Value: NONE
- Start.Value: 0.0
- End.Value: 15.0
- Steps: 1.0
-Variable.Name2: MAPeriod
- Special.Value: NONE
- Start.Value: 10
- End.Value: 50
- Steps: 10
-Variable.Name3: Usefilter
- Special.Value: NONE
- Start.Value: false
- End.Value: true
- Steps: NONE
2.example:
-Variable.Name1: SpreadPips
- Special.Value: NONE
- Start.Value: 0.0
- End.Value: 15.0
- Steps: 1.0
-Variable.Name2: StochPeriod
- Special.Value: NONE
- Start.Value: 10
- End.Value: 50
- Steps: 10
-Variable.Name3: StochSlowing
- Special.Value: NONE
- Start.Value: 1
- End.Value: 3
- Steps: 1
-Variable.Name4: StochType
- Special.Value: NONE
- Start.Value: 1
- End.Value: 2
- Steps: NONE
-Variable.Name5: Usefilter
- Special.Value: NONE
- Start.Value: false
- End.Value: true
- Steps: NONE
-Variable.Name6: LimitMaxSimultaneusTo
- Special.Value: -1 (Not limited)
- Start.Value: 1
- End.Value: 50
- Steps: 1
Basically I want to get all possible combinations into 1 array:
using 2.example:
- first Combinatiion: 6 Values array index: 0-5
- next Combinatiion: 6 Values array index: 6-11
etc..ect
Any Helpful ideas how to best do it is welcome.
Cheers
Ati
Money is important, Love is essential.