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

[amibroker] Re: Plot Vertical Line 50 days back



PureBytes Links

Trading Reference Links

Try something like the following. Note that when counting the number of bars back, blank bars on the right edge of your chart are included in the count.

Reference = BarIndex() == Status("lastvisiblebarindex") - 50;
Plot(Reference, "", colorRed, styleHistogram | styleOwnScale | styleNoLabel);
Plot(Close, "Close", colorDarkGrey, styleBar);

Mike

--- In amibroker@xxxxxxxxxxxxxxx, "binjobingo" <binjobingo@xxx> wrote:
>
> I want to plot a vertical line say 50 days back.
> Because If I use a 50 day Ema or Sma I want to see at a glance if lower values are to be dropped or upper values will be dropped 50 days back.
> will appreciate any help regarding the AFL
>




------------------------------------

**** 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/

Yahoo! Groups Links

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

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:amibroker-digest@xxxxxxxxxxxxxxx 
    mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx

<*> 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/