[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [amibroker] Plotting Vertical Lines at fixed interval



PureBytes Links

Trading Reference Links

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@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf
Of Lal
Sent: Tuesday, March 18, 2008 5:15 AM
To: amibroker@xxxxxxxxxxxxxxx
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.promotions.yahoo.com/forgood/>   


------------------------------------

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

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:amibroker-digest@xxxxxxxxxxxxxxx 
    mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx

<*> 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/