[amibroker] Re: Help needed on a simple code:

2007-02-17 Thread nebt1
Hi David, Thanks for your suggestion. It certainly better that what I had before. Just one more thing needed: yesterday high and low lines appearing on today chart from 9:30 till 16:00. I would like those lines to start appearing say at 7:45 in case there are premarket news or there is a gap ope

[amibroker] Re: Help needed on a simple code:

2007-02-17 Thread nebt1
Hi David, Just find out that idea with color does not work. When I have high say at 16:10, it plots that high the next day. So code must be a function of time and not color. Hope some one has solution for this simple code. Tia, Tom --- In amibroker@yahoogroups.com, "nebt1" <[EMAIL PROTECTED]> w

[amibroker] Re: Help needed on a simple code:

2007-02-17 Thread nebt1
Rescale); > > > > > > Regards, > > > > David > > > > _ > > From: amibroker@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf > Of nebt1 > Sent: 02/17/2007 5:20 PM > To: amibroker@yahoogroups.com > Subject: [amibro

[amibroker] Re: Help needed on a simple code:

2007-02-18 Thread Lester Vanhoff
> > > > dKeepH[i] = H[i]; > > > > if (dKeepL[i] > L[i]) > > > > dKeepL[i] = L[i]; > > > >} > > > > } > > > > > > > > Plot > (YDayH, "YDayH&q

[amibroker] Re: Help needed on a simple code:

2007-02-18 Thread Lester Vanhoff
I'm also wondering if there is a way of avoiding the loop by using "deDateTime.dll" available here: http://www.amibroker.org/3rdparty/ I couldn't figure out how to force the following function (from the plugin) to return the HHV of High between the startTime and endTime on the previous day: de

[amibroker] Re: Help needed on a simple code:

2007-02-18 Thread nebt1
Hi Lester, Thanks for your comments. I also added: plotStartTime = 7; plotEndTime = 19; as you suggested. In regards to deDateTime.dll, yes there should be a way to use it here,to optimize the code but I don't know how. Perhaps someone does know, as it will shorten the code significantly.

RE: [amibroker] Re: Help needed on a simple code:

2007-02-17 Thread dbw451
lf Of nebt1 Sent: 02/17/2007 5:20 PM To: amibroker@yahoogroups.com Subject: [amibroker] Re: Help needed on a simple code: Hi David, Just find out that idea with color does not work. When I have high say at 16:10, it plots that high the next day. So code must be a function of time and not color. Hope