PureBytes Links
Trading Reference Links
|
treliff,
there is no problem with StDev(array,1), it is simply equal to 0.
Note that 0 *IS* some value...
[see the analytic StDev posted in some previous message]
Dimitris Tsokakis
--- In amibroker@xxxxxxxxxxxxxxx, "treliff" <treliff@xxxx> wrote:
> Dominick,
>
> you are simply plotting mid.
> StDev needs at least period 2 to return some value.
>
> -treliff
>
> --- In amibroker@xxxxxxxxxxxxxxx, "dom1_1998" <Dom2000@xxxx> wrote:
> > I'm trying to plot a channel 1 std dev above and below (H+L)/2.
> >
> > I tried the following:
> > mid=(H+L)/2;
> > up=mid + StDev(mid,1);
> > dn= mid - StDev(mid,1);
> >
> > Plot(up,"up",colorRed,styleLine);
> > Plot(dn,"dn",colorGreen,styleLine);
> >
> > I get only one line plotted,(red) with a red value and green
value
> on
> > the y axis. Plus both values are the same amount.
> >
> > TIA,
> >
> > Dominick
Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/amibroker/
<*> To unsubscribe from this group, send an email to:
amibroker-unsubscribe@xxxxxxxxxxxxxxx
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|