[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

Bill,

Thank you for the response.  I've incorporated your suggestion and it does seem to work.  However, there is a slight problem.  Will post again with a screenshot showing what is happening.  But I think we're nearly with the solution!

Thanks,
Lal

----- Original Message ----
From: wavemechanic <timesarrow@xxxxxxxxxxxxx>
To: "AmiBroker, User" <amibroker@xxxxxxxxxxxxxxx>
Sent: Tuesday, 18 March, 2008 3:23:19 PM
Subject: Re: [amibroker] Plotting Vertical Lines at fixed interval



Nope, got it backwards:
 
plot(iif(barindex( ) >= selectedvalue( barindex( )), .....
 
Bill

Try this:
 
plot(iif(selectedva lue(barindex( )) >= barindex(), cum(1)%20 == 0, null), "", color, stylehistogram| styleownscale) ;
 

Bill

----- Original Message -----
From: Lal
Sent: Tuesday, March 18, 2008 10:36 AM
Subject: Re: [amibroker] Plotting Vertical Lines at fixed interval

Jerry, thanks for responding.  Not exactly what I am looking for.  What I actually need is to draw multiple vertical lines at an interval of "x" bars, starting from the currently selected bar (where the cursor is parked).  However, you've probably given me the glimpse of a possible solution and I'll try to take it forward.

Thanks,
Lal

----- Original Message ----
From: Jerry Gress <pleasenospamplease@ comcast.net>
To: amibroker@xxxxxxxxx ps.com
Sent: Tuesday, 18 March, 2008 2:22:27 PM
Subject: RE: [amibroker] Plotting Vertical Lines at fixed interval

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




Rise to the challenge for Sport Relief with Yahoo! for Good

No virus found in this incoming message.
Checked by AVG.
Version: 7.5.519 / Virus Database: 269.21.7/1332 - Release Date: 3/17/2008 10:48 AM



Rise to the challenge for Sport Relief with Yahoo! for Good __._,_.___

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




Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___