wojtek
29th May 2005, 04:30 PM
Is there any way to convert the output of one Metastock function into a format acceptable as input of another function?
For example:
var1:=BarsSince(C=HHV(C,10));
var2:=Mov(C, var1, S);
This does not work because Metastock complains that var1 is not a constant. Is there any way around this?
Wojtek
PS. Using LastValue() would work but would not produce valid historical results because it only looks at the last value of the entire data array.
For example:
var1:=BarsSince(C=HHV(C,10));
var2:=Mov(C, var1, S);
This does not work because Metastock complains that var1 is not a constant. Is there any way around this?
Wojtek
PS. Using LastValue() would work but would not produce valid historical results because it only looks at the last value of the entire data array.