That is just what I have been hoping to find! Thanks for sharing Mike, I really appreciate the help.
William --- In [email protected], "sfclimbers" <sfclimb...@...> wrote: > > 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 [email protected], "wrzec" <williamzecha@> 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 > > >
