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

Re: [amibroker] Date



PureBytes Links

Trading Reference Links

 
TheDate = SelectedValue( BarIndex() ) == BarIndex();

Every21 = (
BarsSince( TheDate ) % 21 ) == 0
;

Plot( Every21, "", colorYellow, styleHistogram | styleOwnScale | styleNoLabel , 0, 1 );  

Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message -----
Sent: Monday, September 05, 2005 9:54 AM
Subject: Re: [amibroker] Date


Hi,

How would you then plot this on a chart, from the date at the cursor, and not have to manually put the date in each time ?

Rgds

Gary

Tomasz Janeczko wrote:
Hello,
 
Code is quite simple to write:
 
TheDate = DateNum() == 1050615; // 2005-06-15

Every21 = (
BarsSince( TheDate ) % 21 ) == 0
;

Plot( Every21, "", colorYellow, styleHistogram | styleOwnScale | styleNoLabel , 0, 1 );  

Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message -----
From: Amon Ra
Sent: Friday, September 02, 2005 3:10 PM
Subject: Re: [amibroker] Date

It's a good idea, but I want to create a code to plot those lines in all stocks' charts. I need a code to do this.

wavemechanic <fimdot@xxxxxxxxx> wrote:
The simplest way might be to use the Fibonacci Time Extension charting tool and adjust the Fibonacci levels to 0%, 100%, 200%, etc.  Setting the 0% and 100% at 21 days will then produce the cycle that you want up to a maximum of 10 lines.
----- Original Message -----
From: amon_gizeh
Sent: Friday, September 02, 2005 8:47 AM
Subject: [amibroker] Date

Hi!
How can I draw a vertical line to a particular date (for exemple
15.06.2005) and repeat this operation at each 21 days?

Thanks for help!




No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.10.18/86 - Release Date: 08/31/05


Start your day with Yahoo! - make it your home page



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 other support material please check also:
http://www.amibroker.com/support.html





SPONSORED LINKS
Investment management software Real estate investment software Investment property software
Software support Real estate investment analysis software Investment software


YAHOO! GROUPS LINKS