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

[amibroker] Re: Marking the Nth bar....



PureBytes Links

Trading Reference Links

Maybe something like this:

left5 = SelectedValue(BarIndex()) - 5;
PlotShapes(IIf(BarIndex() == left5, shapeSmallCircle, shapeNone), 
colorWhite, 0, Graph0, 5);


--- In amibroker@xxxxxxxxxxxxxxx, "klal25" <klal25@xxxx> wrote:
> I'm trying to figure out a way by which I can mark the Nth bar
before
> the currently selected bar.  Let's say I am on bar no. 100, I would
> like the bar that is 5 bars to the LEFT (in other words, bar no. 95)
> to be marked  by a different color or perhaps have a shape such as a
> circle drawn at it.
> 
> Any suggestions how I could accomplish this?
> 
> TIA,
> Lal




------------------------ Yahoo! Groups Sponsor --------------------~--> 
What would our lives be like without music, dance, and theater?
Donate or volunteer in the arts today at Network for Good!
http://us.click.yahoo.com/Tcy2bD/SOnJAA/cosFAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

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

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/