[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

Ton,

No secret about it - I am attempting something that is Gann related.  However, the Gann Square tool won't suffice for this purpose.  With what I have in mind, I hope to end up with a roadmap channel based on the currently selected bar (which should ideally be a suspected pivot low or high).  Bill's latest suggestion cracks the problem for me.  But thank you for the suggestion.

Regards,
Lal


----- Original Message ----
From: Ton Sieverding <ton.sieverding@xxxxxxxxxx>
To: amibroker@xxxxxxxxxxxxxxx
Sent: Wednesday, 19 March, 2008 7:18:31 AM
Subject: Re: [amibroker] Plotting Vertical Lines at fixed interval



Lal I don't know what you want to do with the lines but why not using the Gann Square Tool in AB ?
 
Regards, Ton.
 
----- Original Message -----
From: Lal
Sent: Wednesday, March 19, 2008 12:31 AM
Subject: Re: [amibroker] Plotting Vertical Lines at fixed interval

Bill,

Here's the screenshot showing how the vertical plots appear.  As you can see, the vertical lines appear at a regular interval, but necessarily from the selected bar.  What I desperately want is that from the bar which is currently selected, the vertical plots should appear on the right at the specified interval (calculated by the AFL itself, which is not an issue).

My understanding is Cum(1) counts the bars right from the very first bar for the ticker.  That might explain why the plots appear in the wrong place.  Can we solve this by other means?

Thanks,
Lal

----- Original Message ----
From: Lal <klal25@xxxxxx co.uk>
To: amibroker@xxxxxxxxx ps.com
Sent: Tuesday, 18 March, 2008 4:24:28 PM
Subject: Re: [amibroker] Plotting Vertical Lines at fixed interval

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@xxxxxxxx h.net>
To: "AmiBroker, User" <amibroker@xxxxxxxxx ps.com>
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






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




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

__,_._,___