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

[amibroker] Re: Vertical Lines



PureBytes Links

Trading Reference Links

The following AFL will allow you to pick a Date via the Parameters menu of your chart (i.e. right click on chart and select Parameters). A red vertical line will be drawn for that date and remain constant across all symbols until you change the parameter value.

In the interest of providing a complete example, I've also plotted price. You can remove the second Plot for your own chart.

line = DateNum() == ParamDate("Date", "01/01/2009", 0);
Plot(line, "", colorRed, styleHistogram | styleOwnScale | styleNoLabel);
Plot(Close, "Close", colorDarkGrey, styleBar);

Mike

--- In amibroker@xxxxxxxxxxxxxxx, "wrzec" <williamzecha@xxx> wrote:
>
> I have been trying to find any information on adding vertical lines to my charts.  The vertical line tool on the chart tools menu will work but the lines are linked to that symbol only.  I am looking for something that will remain fixed on my charts no matter what chart I am scrolling through.  It would solve my problem if the layers tool had some type of setting that enabled the highlighted dates to remain fixed on the chart sheet or there were some type of afl that would work. I have searched the groups database for information but didn't find anything.  Any ideas or suggestions??
> 
>  
> Thanks,
> William
>




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

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