Many thanks Ara and inquisitive voyager, both of your suggestions work. Most appreciated
Pacifc :) --- In [email protected], Ara Kaloustian <ara1.kaloust...@...> wrote: > > You might try: > > D1 = 0; > if (DateNum() == 1061001) D1=1; > > or if you are working with Arrays > D1 = iif(DateNum() == your_date_array,1,0); > > > > On 08/11/2010 11:03 PM, pacific5_au wrote: > > > > Ara, That is one of the variations I've tried, but it doesn't work. > > For me at least. > > > > Thanks anyway. > > > > Any other suggestions ?? > > > > --- In [email protected] <mailto:amibroker%40yahoogroups.com>, > > Ara Kaloustian <ara1.kaloustian@> wrote: > > > > > > D1 = DateNum() == 1061001; // 2006-10-01 > > > Plot( D1, "", colorWhite, stylearea | styleOwnScale | > > > styleNoLabel, 0,1); > > > > > > On 08/11/2010 8:58 PM, pacific5_au wrote: > > > > > > > > > > > > > > > > I am trying to Plot a vertical line on a date or dates I nominate. > > > > > > > > Have looked back through this list but cannot find what I want. > > > > > > > > This is what I've tried - > > > > > > > > D1 = DateNum() == 1061001; // 2006-10-01 > > > > Plot( D1, "", colorWhite, styleHistogram | styleOwnScale | > > > > styleNoLabel ); > > > > > > > > Can someone please point me in the right direction on this. > > > > > > > > Thank you. > > > > > > > > Pacific > > > > > > > > > > > > > > > >
