Hi guys
I'm doing some benchmarking on a selected group of stocks, but it seems that the more stocks I add to the formula the less data my indicator outputs.
This is my current formula:
secVal1 := (
If(Security("ONLINE:DK;CAR.B", C) >= Mov(Security("ONLINE:DK;CAR.B", C), MALength, S), 1, 0)
+ If(Security("ONLINE:DK;CHRH", C) >= Mov(Security("ONLINE:DK;CHRH", C), MALength, S), 1, 0)
+ If(Security("ONLINE:DK;NON.B", C) >= Mov(Security("ONLINE:DK;NON.B", C), MALength, S), 1, 0)
+ If(Security("ONLINE:DK;COL.B", C) >= Mov(Security("ONLINE:DK;COL.B", C), MALength, S), 1, 0)
+ If(Security("ONLINE:DK;NDN", C) >= Mov(Security("ONLINE:DK;NDN", C), MALength, S), 1, 0)
+ If(Security("ONLINE:DK;DDB", C) >= Mov(Security("ONLINE:DK;DDB", C), MALength, S), 1, 0)
+ If(Security("ONLINE:DK;DSV", C) >= Mov(Security("ONLINE:DK;DSV", C), MALength, S), 1, 0)
+ If(Security("ONLINE:DK;FLS", C) >= Mov(Security("ONLINE:DK;FLS", C), MALength, S), 1, 0)
+ If(Security("ONLINE:DK;GN", C) >= Mov(Security("ONLINE:DK;GN", C), MALength, S), 1, 0)
+ If(Security("ONLINE:DK;LUN", C) >= Mov(Security("ONLINE:DK;LUN", C), MALength, S), 1, 0)
+ If(Security("ONLINE:DK;NKT", C) >= Mov(Security("ONLINE:DK;NKT", C), MALength, S), 1, 0)
+ If(Security("ONLINE:DK;NON.B", C) >= Mov(Security("ONLINE:DK;NON.B", C), MALength, S), 1, 0)
+ If(Security("ONLINE:DK;NZYM.B", C) >= Mov(Security("ONLINE:DK;NZYM.B", C), MALength, S), 1, 0)
+ If(Security("ONLINE:DK;PNDORA", C) >= Mov(Security("ONLINE:DK;PNDORA", C), MALength, S), 1, 0)
+ If(Security("ONLINE:DK;SSH", C) >= Mov(Security("ONLINE:DK;SSH", C), MALength, S), 1, 0)
+ If(Security("ONLINE:DK;TEL.B", C) >= Mov(Security("ONLINE:DK;TEL.B", C), MALength, S), 1, 0)
+ If(Security("ONLINE:DK;TOP", C) >= Mov(Security("ONLINE:DK;TOP", C), MALength, S), 1, 0)
+ If(Security("ONLINE:DK;TRYG", C) >= Mov(Security("ONLINE:DK;TRYG", C), MALength, S), 1, 0)
+ If(Security("ONLINE:DK;VWS", C) >= Mov(Security("ONLINE:DK;VWS", C), MALength, S), 1, 0)
+ If(Security("ONLINE:DK;OTI", C) >= Mov(Security("ONLINE:DK;OTI", C), MALength, S), 1, 0));
It only calculates data from march this year, even though all the stocks in the calculation have much more data. Is there some kind of limit on how much data Metastock can hadle?
I want to do this calculation on about 100 stocks at once. Is this aproach the wrong way maybe?
Cheers!
/Thomas