[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

calling on all maths gurus .....Algorythm / formula needed



PureBytes Links

Trading Reference Links

Hi all

I need an algorythm/formula thingo to work out every optimization steps for
eg.   a,b,c,d,e but only three levels deep and i need it like in a loop  for
example

i have these 5 datastreams
data2 , data3 , data4 , data5 , data6

and i want every possible combination of these  for example
[note.... data2 now will be referenced as d2 cause i am lazy]

d2
d3
d4
d5
d6
d2,d3
d2,d4
d2,d5
d2,d6
d2,d3,d4
d2,d3,d5
d2,d3,d6


but only ever show max of 3 combos  not like the example below which has 4
d2,d3,d4,d5

i need it like a loop/formular so i can code it :O\  [ i dont think this
sounds easy to do nor does my explanation sounds easy to understand either
.....another bizare coincidence ]

i really neeed some help on this  ...any ideas appreciated
Cheers
Cameron
---