PureBytes Links
Trading Reference Links
|
Yes, it's one of those annoying things about MetaStock. Any "P"
variable found within the exploration's actual or referenced code,
forces the exploration to apply the "P" variable to a selected plot
(price or indicator).
jose '-)
http://www.metastocktools.com
--- In equismetastock@xxxxxxxxxxxxxxx, "deepfoobar" <deepfoobar@xxxx>
> wrote:
>
> Jose,
>
> The only thing I can see that I had in error was I had v.3 of the
> indicator! Sorry for the time waste.
>
> So is the "P" value the only thing that would cause the Explorer to
> throw that sort of error saying it needed a plot on the chart?
>
> --- In equismetastock@xxxxxxxxxxxxxxx, "Jose" <josesilva22@xxxx>
> wrote:
>
> 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 --------------------~-->
Has someone you know been affected by illness or disease?
Network for Good is THE place to support health awareness efforts!
http://us.click.yahoo.com/Rcy2bD/UOnJAA/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/
|