Something like below From Anthony Faragasso 11/22/2006?
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) ;
Jerry Gress
Stockton, Ca.
-----Original Message-----
From: amibroker@xxxxxxxxx ps.com [mailto:amibroker@xxxxxxxxx ps.com] On Behalf
Of Lal
Sent: Tuesday, March 18, 2008 5:15 AM
To: amibroker@xxxxxxxxx ps.com
Subject: [amibroker] Plotting Vertical Lines at fixed interval
Apologies if this has been asked before. I'm trying to plot a number of
vertical lines at a fixed interval from the currently selected bar. Let's
say the interval is fixed as 20 bars - the vertical line plots must
therefore occur at the 20th, 40th, 60th, etc bars to the right of the
selected bar (see attached screenshot). Grateful for any pointers...
Thanks,
Lal
____________ _________ _________ __
Rise to the challenge for Sport Relief with Yahoo! for Good
<http://us.rd. yahoo.com/ mailuk/taglines/ isp/control/ *http://us. rd.yahoo. com/
evt=51947/*http://uk.promotion s.yahoo.com/ forgood/>