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

Re: [amibroker] trading hours vertical lines and day of the week


  • Date: Sat, 06 Mar 2010 20:29:53 +0100
  • From: Reinsley <reinsley@xxxxxxxx>
  • Subject: Re: [amibroker] trading hours vertical lines and day of the week

PureBytes Links

Trading Reference Links




Hi,

Few examples...

BR

to plot a vertical line based on hours

EndTime = 161500;
StartTime = 093000;

Plot( Cross( TimeNum(), EndTime ), "", colorLightGrey, styleHistogram
| styleOwnScale | styleDashed, 0, 1 );
Plot( Cross( TimeNum(), StartTime ), "", colorGrey40, styleHistogram |
styleOwnScale | styleDashed, 0, 1 );


EOD segment with intraday chart

segments = IIf( Interval() < inDaily, Day(), Month() );
segments = segments !=
Ref( segments , -1 );
Plot( segments, "", colorDarkBlue, styleHistogram | styleOwnScale | styleDashed | styleNoLabel );




Le 06/03/2010 16:50, gsmservplus a écrit :
 

hello,
sorry i`m not a AB programer or AFL guru, but how can i get together with vertical lines between days in intraday,month in EOD we`ve got now,separate vertical lines for trading hours.eg. i`d like to have one line in different color at 9.30a.m. and one line at 16:00 in hourly,5-min. or 1-min charts.
and one more thing. any chance to have a day of the week(eg. Mon,Tue,Wed,Thu,Fri) together with the dates we`ve got now on the standard AB charts?
thanks




__._,_.___


**** IMPORTANT PLEASE READ ****
This group is for the discussion between users only.
This is *NOT* technical support channel.

TO GET TECHNICAL SUPPORT send an e-mail directly to
SUPPORT {at} amibroker.com

TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/





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

__,_._,___