//First find the bar number of interest.
Bar10_Index = ValueWhen(BarIndex() == LastValue(BarIndex()) - 
10,BarIndex(),1);
//Plot colormarker
Plot(iif(BarIndex()==Bar10_Index,1,0),coloryellow,stylearea|styleownscale,0,1);

I have not tested it, but it should work.

----- Original Message ----- 
From: "ad198500328" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Wednesday, October 03, 2007 1:14 PM
Subject: [amibroker] Any way to highlight bars at special intervals?


> Hi,
>
> I'd like to automatically highlight bars at special intervals from the
> most recent one to make them easier to find. For example I'd want
> something located on the 10th and 50th bars so that these periods
> stand out. Anyone know if this is possible to do?
>
> Thanks
>
>
>
> 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
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> 

Reply via email to