...Thank you - very useful, will try this out! -------------------
--- In [email protected], "Anthony Faragasso" <[EMAIL PROTECTED]> wrote: > > do you mean something like this, you can adjust the placement of the line with the parameter values. > //Vertical Line > > //User inputs > > bars= Param("Bars since last day ",90,0,300,1); > > //Vertical line > > Line1=Cum(1)==LastValue(Cum(1))-bars; > > Plot(Line1,"Line is ( "+WriteVal(bars,1)+" ) bars back",colorRed,styleHistogram|styleOwnScale); > > Plot(C,"close",colorBlack,styleCandle); > > > > Anthony > > ----- Original Message ----- > From: foginthehills > To: [email protected] > Sent: Tuesday, November 21, 2006 11:53 PM > Subject: [amibroker] Just want to draw a vertical line?! > > > Hi there, > > I am pretty new to Amibroker and learning to script in AFL. > > In a weekly view, I want to use AFL to automatically draw a "straight > up" vertical line on my chart, exactly six months before today. > > I want a clear indicator of where the six month point is - for trend > examination. > > How could I draw this line from AFL? > > thank you...! > > > > > > > ------------------------------------------------------------------- --------- > > avast! Antivirus: Inbound message clean. > > Virus Database (VPS): 0649-2, 11/20/2006 > Tested on: 11/22/2006 12:23:35 AM > avast! - copyright (c) 1988-2006 ALWIL Software. >
