[amibroker] Re: FW: 64 bit Results

2010-08-07 Thread Rob
I thought it would be worth adding a recent experience to this thread... Namely some issues I had running 64 bit AmiBroker and 64 dll's on a Mac Pro running Win 7 x64 under BootCamp. As TJ knows, I was seeing very clear evidence that my 64 bit versions were running slower than the 32 bit equiva

[amibroker] barcount help please

2010-08-07 Thread mdkumarz
Hi, my understanding is this: barcount counts all the bars in the chart (not just visible); so, i have written printf("bars in the chart:"+barcount); it's giving different number of bars when zoomed in and zoomed out. Does barcount look at visible bars only? Regards, M D KUMAR

[amibroker] barindex help

2010-08-07 Thread mdkumarz
Dear members, Can someone shed light on what barindex is and how it can be used to access volume bar 10 periods ago? I am writing a function to find highest 5-min volume for the last 5 days till yesterday's close. Thanks in advance, Regards, M D KUMAR

Re: [amibroker] Copying Studies Across Chart IDs

2010-08-07 Thread Progster
With the way AB works, the implications of ChartIDs being the same or different can be profound. Once one acquires some insight into the ChartID concept, the desire to be able to do copies of panes/layouts/templates and have control over whether the copies have the same or new ChartIDs comes to

Re: [amibroker] Multiple Higher Highs in Amibroker?

2010-08-07 Thread Rick Osborn
It's amazing what a good night's sleep does for a little perspective. Of course these functions only look back from the right edge of the chart - and do not produce full arrays. Thus, they are of very little use. That will teach me to try to be creative at 1 in the morning Best Regards Rick Os

Re: [amibroker] barcount help please

2010-08-07 Thread reinsley
Hi, Many topic about that. I kept these lines in my AB bible. Best regards Barcount vs BarIndex() BarCount is a numeric variable that holds just one number (the count of elements in array). On the other hand BarIndex() is a function that returns ARRAY representing consecutive index of each

Re: [amibroker] Multiple Higher Highs in Amibroker?

2010-08-07 Thread Mubashar Virk
Take is easy, Rick. What is an Array? On 8/7/2010 5:58 PM, Rick Osborn wrote: It's amazing what a good night's sleep does for a little perspective. Of course these functions only look back from the right edge of the chart - and do not produce full arrays. Thus, they are of very little use.

[amibroker] Wilders function, how is it calculated?

2010-08-07 Thread massandtime
Can anyone tell me the mathematics of the Wilders function? I find I am using it in formulas with out a firm grasp of how it is calculating it's result. Chris

Re: [amibroker] Wilders function, how is it calculated? [1 Attachment]

2010-08-07 Thread Dennis Brown
Chris, Just do a quick Google search for questions like this. Here is the first hit: Wilder Moving Average Formula Welles Wilder's indicators, including Average True Range do not use the standard exponential moving average formula. The Wilder formula for computing an N-Day Exponential Moving A

Re: [amibroker] barcount help please

2010-08-07 Thread mdkumar kumar
Thanks for the reply. I will post my problem directly. I am trying to find the highest 5-min volume bar for the last n days excluding today. To that end, I wrote this code: --- //

[amibroker] Re: barcount help please

2010-08-07 Thread mdkumarz
Hi, one more point. I am good at Excel vba and I was able to do this in Excel like this. =max(volumerow5daysback:volumerowtillyesterdayclose) where volume is 5min volume in each row of Volume column. Regards, M D KUMAR --- In amibroker@yahoogroups.com, mdkumar kumar wrote: > > Thanks for t

[amibroker] Re: FW: 64 bit Results

2010-08-07 Thread af_1000000
Rob, Thank you for your comments. AF --- In amibroker@yahoogroups.com, "Rob" wrote: > > I thought it would be worth adding a recent experience to this thread... > > Namely some issues I had running 64 bit AmiBroker and 64 dll's on a Mac Pro > running Win 7 x64 under BootCamp. > > As TJ knows,

[amibroker] Segregating AB files for 32bit and 64bit?

2010-08-07 Thread Dennis Brown
Hello, I just installed a clean upgrade of Windows 7 64 bit as a new virtual machine in Parallels on my Mac Pro. I also have an XP 32 bit virtual machine that I was upgrading from which contains my AmiBroker folder with all the associated files. I did a full install of AB 64 bit on the new VM

Re: [amibroker] barcount help please

2010-08-07 Thread Keith McCombs
M D -- In the phrase "for (i=startbar; iendbar can be arrays. I believe that, so far, both of them are arrays. You might want to redefine startbar and endbar to be something like this: startbar = LastValue((Lookbackperiodindays*6.5*units)+nbarssinceopen(intradaytimeframe)); endbar = LastValue

[amibroker] Optimization results not exported to external file

2010-08-07 Thread Perumal
Hi I tried to do individual optimization on a number of scrips in a watchlist/favorite folder through external script. While the optimization is done correctly, the result is not exported to the report file. Instead, it is displayed in the optimization window itself. Also, in the display,

Re: [amibroker] Segregating AB files for 32bit and 64bit?

2010-08-07 Thread Keith McCombs
Dennis -- When you do a full install (not an upgrade), AB first asks where to install AB, and then asks where to install support files (including all .afl code, data bases, etc.). Ideally, you would put AB32 in one folder, AB64 in a second one, and AB support files in a third. The AB support

[amibroker] Re: Copying Studies Across Chart IDs

2010-08-07 Thread murthysuresh
i usually change the template file if i find that it is using a differnet chartid. makes my life easy. --- In amibroker@yahoogroups.com, "dturtle887" wrote: > > A study object can be copied (Ctrl+C) and pasted (Ctrl+V) within a given > Chart ID. This trick does not work, however, when I want t

[amibroker] Re: Copying Studies Across Chart IDs

2010-08-07 Thread dturtle887
I think your pain is different than mine:) I like the way templates (and ChartIDs) work currently. It is easy to edit and manipulate them at will. I use the same formula with two different ChartIDs to be able to have different sets of parameters for them. But a lot of my studies need to be du

Re: [amibroker] Segregating AB files for 32bit and 64bit?

2010-08-07 Thread Tomasz Janeczko
Hello, For what is worth, on my machine 32-bit AB is installed into F:\AmiBroker directory, while 64- bit is installed into F:\AmiBroker64 directory. As you can see none of them are "Program Files". With regards to "sharing" files - technically all files can be used by both versions (are binar

Re: [amibroker] Segregating AB files for 32bit and 64bit?

2010-08-07 Thread Dennis Brown
Keith / Tomasz, Thanks for the suggestions. I created a new F: drive. I created 3 full installations called Amibroker32, AmiBroker64, and AmiBrokerData. I copied my old installation folder from my XP machine into the AmiBrokerData folder. I did not see anyplace where I could specify a "supp

[amibroker] req afl code for finding score for each stock find best score stocks by explore

2010-08-07 Thread ford7k
Hi afl experts I am trying to make an afl code. This code uses points alloted to each event like price above 20dma =20, price above 50dma=35 pointr, price goes above 200=45 points. if the opposite happens,score is negative, price cross below 20ma= -20 points price cross below 50ma = -35 points