I tried the code that you posted on 9/3 but I get the following error:
Line 17, Column 12:
Lma=LastValue(MA(C,50));
f1=0;f2=IIf(Lma<100,1,0)+3*int(log10(Lma));
fa=0;fb=0;step=f2/100;
for(f=f1;f {
-----------^
Error 23.
Syntax error
What could be the problem?
Alan