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

[EquisMetaStock Group] Re: Lin Reg Indicator, for Jose



PureBytes Links

Trading Reference Links



1) I can't seem to replicate any errors when either/both versions run 
in an exploration at my end, so I can't comment there.  Make sure your 
exploration doesn't include any other code with the "P" variable.


2) 
---8<--------------------
x:=Fml("Linear Regression Trendline & Bands");
start:=ValueWhen(1,Cum(IsDefined(x))=1,x);
end:=LastValue(x);

start;end
---8<--------------------


LinReg trendline code here:
http://www.metastocktools.com/MetaStock/LinRegTrend.txt


jose '-)
http://www.metastocktools.com



--- In equismetastock@xxxxxxxxxxxxxxx, "deepfoobar" <deepfoobar@xxxx> 
wrote:
> 
> Jose,
> 
> I looked into your Lin Reg [v4, with bands] indicator but noticed it
> chokes when run in the Explorer. It produced an error saying an
> indicator plot on a chart was required.
> 
> Two questions. What is this error and why did it happen? [which I
> think would be of value to the group in general in designing
> indicators vs. explorations code]. Secondly, if I did want to adapt
> this to give me the start and end values for the line or bands, how
> would [could?] it be done?





------------------------ Yahoo! Groups Sponsor --------------------~--> 
What would our lives be like without music, dance, and theater?
Donate or volunteer in the arts today at Network for Good!
http://us.click.yahoo.com/Tcy2bD/SOnJAA/cosFAA/BefplB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/equismetastock/

<*> To unsubscribe from this group, send an email to:
    equismetastock-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/