Hi, I was wondering if anyone could provide the code for the Instantaneous Trendline in MetaStock Language. Even if you successfully programmed it, a "yes" would be appreciated. (I know the formula just can't seem to get the code structure) I am not completely sure how to handle the IIR Filters in MetaStock, of whether MetaStock handles them at all. Regards, Axcel.
this is the code that I have, but there is no plot and no errors a:=Input("a value", 0.01,1,0.07); it:=(a-a*a/4)*C+0.5*a*a*Ref(C,-1)-(a-0.75*a*a)*Ref(C,-2)+Ref(it,-1)-Ref(it,-2); it;