Dear Prashanth, Many thanks, and sincere apologies.
I just now visited the group on the web, searched for all messages having the word 'vinay', came across Mr. Mike sfclimbers's detailed reply of 5th June. This reply unfortunately I had not seen so far, and that is why I was wrongly under the impression that no one was helping me, and so I was posting my message again & again. I think you are referring to this message. I wonder how & why his message did not come to my mailbox. My sincere apologies for all the difficulties caused to you, Mike & others. And my thanks again, Vinay On Thu, 05 Jun 2008 19:19:55 +0530, Prashanth <[EMAIL PROTECTED]> wrote: > Vinay, > > At the risk of repeating the same thing, I still believe that you are > complicating what is essentially a simple item. > > You want to get the dates of previous spike and next spike. > > Next Spike wont be shown unless you have data for the future as well. I hope > that you are not implying that AB give out future date of spike if you dont > have data itself > > For example, if there is a spike on say 15th Jan and another spike on say > 15th April and you are exploring using Date Range from 15March to 15 March, > you want to get the number of days btw 15th Jan and 15th March and likewise > from 15th March to 15th April. > > This output gives 2 range of days. If you just explore using syntax already > provided on 15th April, you get the combined number of days. If you combine > the first 2 output, it matches perfectly with this. > > I just dont really understand why you need to calculate the future from past > rather than simply calculating the difference of dates. > > Cheers > > Prashanth > > > > ----- Original Message ----- > From: "Vinay Gakkhar." <[EMAIL PROTECTED]> > To: <[email protected]> > Sent: Thursday, June 05, 2008 6:59 PM > Subject: [amibroker] Can you please help me with this? > > >> Yes, that's almost right. >> More particularly, I want the number of bars between the one just before & > the one just after my selected 'current' date. >> >> Best regards, >> >> Vinay >> >> On Thu, 05 Jun 2008 18:49:29 +0530, Lal <[EMAIL PROTECTED]> wrote: >> >> > >> > Are you saying that you just want the number of bars between every two > volume spikes? >> > >> > >> > >> > ----- Original Message ---- >> > From: Vinay Gakkhar. <[EMAIL PROTECTED]> >> > To: Amibroker <[email protected]> >> > Sent: Thursday, 5 June, 2008 2:07:07 PM >> > Subject: [amibroker] Can you please help me with this? >> > >> > Dear Mr. Prashanth, >> > Dear Mr. Tomasz Janeczko, >> > >> > Despite my posting it in many ways many times, so far no member of the > group has come out to help me with my difficulty in coding which is detailed > as follows: >> > >> > 1) At present I calculate the number of days in the past period since > the last volume spike using the following formula: >> > >> > BackRef = 150; // Number of days to look back >> > DaysSinceLastVolumeSpike = > BarsSince(V>(MA(V,BackRef)+StDev(V,BackRef))); >> > >> > 2) Now I want to find the number of days to look forward till the next > volume spike. >> > >> > 3) For example, if today I select a past date (suppose 22nd Jan 2008) > both in the 'from' and in the 'to' boxes of 'Range' in 'Automatic Analyssis' > and press the 'Explore' button, maybe it will show to me that the next > volume spike took place 9 days after 22nd Jan 2008. >> > >> > Can you please help me with this problem? >> > >> > Best regards, >> > >> > Vinay >> > >> > ------- Forwarded message ------- >> > From: "Vinay Gakkhar." <[EMAIL PROTECTED]> >> > To: [email protected] >> > Cc: >> > Subject: May I clarify? >> > Date: Tue, 03 Jun 2008 09:48:11 +0530 >> > >> > Dear Prashanth, >> > >> > I addressed this post to you by name because I posted it several times > to the forum in general but no one came forward to help me. Now I know it > was because it is perhaps quite difficult to code. >> > >> > I will now explain to you what exactly I want to do, then I am sure you > or any other group member will find it easy to guide me. >> > >> > I know I can identify the number of "DaysSinceLastVolumeSpike" using > "DaysSinceLastVolumeSpike = BarsSince(V>(MA(V,BackRef)+StDev(V,BackRef)));". >> > >> > Now I want to identify the next spike after this spike. >> > >> > Being not so proficient in afl, I don't know how to code this. >> > >> > If possible to get this using a simple code, or by making a small change > in the above narration, I will also prefer it. >> > >> > Will it be easier to help me now? >> > >> > Best regards, >> > >> > Vinay >> > >> > >> > >> > On Tue, 03 Jun 2008 09:22:27 +0530, Prashanth <[EMAIL PROTECTED]> > wrote: >> > >> >> Hello Vinay, >> >> >> >> In my opinion, you are complicating things un-necessarily. I fail to >> >> understand why you need to know the number of bars after the date of >> >> reference when you can get the difference in bars by either using a > simple >> >> subtraction of dates or extracting the output to excel and then > calculating >> >> the difference in dates. >> >> >> >> I believe its possible to code what you are looking for, though it gets > bit >> >> complicated (at least for me). >> >> >> >> Cheers >> >> >> >> Prashanth >> >> >> >> PS: Please don't address posts to me (when posting to groups) > specifically >> >> since there are a lot of guys who are better equiped to handle queries > here >> >> compared to me. >> >> >> >> ----- Original Message ----- >> >> From: "Vinay Gakkhar." <[EMAIL PROTECTED]> >> >> To: <[email protected]> >> >> Sent: Tuesday, June 03, 2008 5:55 AM >> >> Subject: [amibroker] Dear Prashanth, >> >> >> >> >> >>> Dear Prashanth, >> >>> >> >>> Can you please help me with this? >> >>> >> >>> At present I calculate the number of days in the past period since the >> >> last volume spike using the following formula: >> >>> >> >>> BackRef = 150; // Number of days to look back >> >>> >> >>> DaysSinceLastVolumeSpike = > BarsSince(V>(MA(V,BackRef)+StDev(V,BackRef))); >> >>> >> >>> Now I want to find the number of days in the future period till the > next >> >> volume spike. >> >>> >> >>> For example, if today I select a past date (suppose 22nd Jan 2008) > both >> >> in the 'from' and in the 'to' boxes of 'Range' in 'Automatic Analyssis' > and >> >> press the 'Explore', maybe it will show to me that the next volume > spike >> >> took place 9 days after 22nd Jan 2008. >> >>> >> >>> I hope I have explained in an understandable manner. >> >>> >> >>> Can you please guide me now? >> >>> >> >>> Best regards, >> >>> >> >>> Vinay >> > >> > >> > ------------------------------------ >> > >> > Please note that this group is for discussion between users only. >> > >> > To get support from AmiBroker please send an e-mail directly to >> > SUPPORT {at} amibroker.com >> > >> > For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG: >> > http://www.amibroker.com/devlog/ >> > >> > For other support material please check also: >> > http://www.amibroker.com/support.html >> > Yahoo! Groups Links >> > >> > >> > >> > >> > __________________________________________________________ >> > Sent from Yahoo! Mail. >> > A Smarter Email http://uk.docs.yahoo.com/nowyoucan.html >> >> >> >> >> ------------------------------------ >> >> Please note that this group is for discussion between users only. >> >> To get support from AmiBroker please send an e-mail directly to >> SUPPORT {at} amibroker.com >> >> For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG: >> http://www.amibroker.com/devlog/ >> >> For other support material please check also: >> http://www.amibroker.com/support.html >> Yahoo! Groups Links >> >> >> > > > ------------------------------------ > > Please note that this group is for discussion between users only. > > To get support from AmiBroker please send an e-mail directly to > SUPPORT {at} amibroker.com > > For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG: > http://www.amibroker.com/devlog/ > > For other support material please check also: > http://www.amibroker.com/support.html > Yahoo! Groups Links > > > > ------------------------------------ Please note that this group is for discussion between users only. To get support from AmiBroker please send an e-mail directly to SUPPORT {at} amibroker.com For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG: http://www.amibroker.com/devlog/ For other support material please check also: http://www.amibroker.com/support.html 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:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
