Unless you have 500 bars loaded the percentile will not plot. Do you have that many loaded?
Bill ----- Original Message ----- From: "KBGlenn" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Wednesday, December 26, 2007 7:06 PM Subject: [amibroker] Re: Vista Transition - Help > No I didn't initially but I have since started from scratch. I seem > to have things basically running now but with some very strange > issues. For example in this code the percentiles won't plot... > > _SECTION_BEGIN("2 Yr VXO Hi"); > a = Foreign("^VXO", "C"); > a1 = Foreign("^VXN", "C"); > a2 = (a1+a)/2; > b = Percentile(a2, 500, 100); > d = Percentile(a2, 500, 0); > > Plot(a2, "VXO+VXN/2", colorWhite, styleLine); > Plot(b, "VXO/VXN 2 Year High", colorBrightGreen, styleLine); > Plot(d, "VXO/VXN 2 Year Low", colorRed, styleLine); > PlotShapes(IIf(a2 == b, shapeDownTriangle, shapeNone), colorGreen, 0, > yposition=a, Offset=-3); > PlotShapes(IIf(a2 == d, shapeUpTriangle, shapeNone), colorRed, 0, > yposition=a, Offset=-3); > > > _SECTION_END(); > > --- In [email protected], Graham <[EMAIL PROTECTED]> wrote: >> >> Did you install AB onto your new computer before copying from your > backup? >> >> -- >> Cheers >> Graham Kav >> AFL Writing Service >> http://www.aflwriting.com >> >> >> On 26/12/2007, KBGlenn <[EMAIL PROTECTED]> wrote: >> > Maybe I screwed this one up from the beginning...but I recently >> > purchased a Vista based laptop and did a simple full copy from a >> > separate backup drive that I use with my Windows XP machine. (i.e. I >> > back up my full Amibroker file to an external hard drive from which I >> > then copied it over to my new Vista laptop.) >> > >> > Anyway, I tried to use Amiquote and can not get Amibroker to recognize >> > Amiquote in the tools menu and when I try to launch "Quote" and update >> > the database I get the error message "Local File Can not Be Opened" >> > and the rest just time out. I've checked to see if my software keys >> > are loaded and they appear to be so. In addition, I've tried to change >> > all the folder permissions to not be read only, but they keep >> > reverting to read only after I change them. >> > >> > Any suggestions? >> > >> > Tks K >> > > > > > Please note that this group is for discussion between users only. > > To get support from AmiBroker please send an e-mail directly to > SUPPORT {at} amibroker.com > > For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG: > http://www.amibroker.com/devlog/ > > For other support material please check also: > http://www.amibroker.com/support.html > > Yahoo! Groups Links > > > > > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.516 / Virus Database: 269.17.8/1196 - Release Date: 12/25/2007 > 12:18 PM > >
