Re: [amibroker] Intra-Day Database Setup

2009-07-19 Thread Edward Pottasch
Pete, below an example how to do it, rgds, Ed starttime = 093000; endtime = 16; timecond = TimeNum() >= starttime AND TimeNum() <= endtime; firstBarOfDay = TimeNum() >= starttime ;firstBarOfDay = firstBarOfDay - Ref(firstBarOfDay,-1); lastBarOfDay = TimeNum() >= endtime;lastBarOfDay = la

[amibroker] Re: Intra-Day Database Setup

2009-07-19 Thread Pete
Thanks for suggesting the TimeFrameGetPrice function. I had not tried that in any of my code yet. Looks like is does have a lot of potential uses. My first question would be how you can calculate a daily moving average using this function. Example: TimeFrameGetPrice(MA(C,10), inDaily, 0); It is on

[amibroker] Re: Intra-Day Database Setup

2009-07-19 Thread brian_z111
Pete, Initially I was just thinking to eliminate the possibility that it is anything to do with DatabaseSettings. It looks like we have done that (it seems that we are agreed that the settings are not the issue and we can focus on the code)? Yes, let's see what others have to say. In the meant

Re: [amibroker] Re: Subscribing to suggestions?

2009-07-19 Thread Tomasz Janeczko
Hello, As of now, currently installed version of FC sends only notifcations to administrators. This will change in the future. Best regards, Tomasz Janeczko amibroker.com - Original Message - From: "garrybartsch" To: Sent: Sunday, July 19, 2009 1:31 AM Subject: [amibroker] Re: Subscri

[amibroker] Re: Percent Rank

2009-07-19 Thread steve_almond
Tony, I did study PERCENTILE before posting. I think it's a different function than PERCENTRANK. Steve --- In amibroker@yahoogroups.com, Tony Grimes wrote: > > Look at : > > http://www.amibroker.com/guide/afl/afl_view.php?name=Percentile > > > On Sun, Jul 19, 2009 at 6:07 PM, steve_almond

Re: [amibroker] Percent Rank

2009-07-19 Thread Tony Grimes
Look at : http://www.amibroker.com/guide/afl/afl_view.php?name=Percentile On Sun, Jul 19, 2009 at 6:07 PM, steve_almond wrote: > > > Is there a way to calculate an equivalent to Excel's PERCENTRANK function > in Amibroker? > For example. I want to rank today's closing price compared to the prev

Re: [amibroker] Re: Data Feed

2009-07-19 Thread Frank Pines
Thank You I didn't realize you can get before end of day data from Yahoo   Frank --- On Fri, 7/17/09, Ed Hoopes wrote: From: Ed Hoopes Subject: [amibroker] Re: Data Feed To: amibroker@yahoogroups.com Date: Friday, July 17, 2009, 6:33 PM   What I and I'm sure many others do is to have sev

[amibroker] Percent Rank

2009-07-19 Thread steve_almond
Is there a way to calculate an equivalent to Excel's PERCENTRANK function in Amibroker? For example. I want to rank today's closing price compared to the previous 100 day's closing prices. If today is the 15th highest price, then I want to return 85%. Thanks, Steve

[amibroker] Re: Subscribing to suggestions?

2009-07-19 Thread garrybartsch
No response from them yet (I filled in a web ticket) but it is the weekend so I'll see what comes this week. Is there anyway to be notified when someone responds to threads on this message board? I looked and can't find anything. I hate to think I would be ignoring people that may have helped m

[amibroker] Re: NooBee needs a little help

2009-07-19 Thread phild3581
Hi Trilephile, thanks for the quick response. I did just as you suggested and I believe the file located at the site gave is the same as the one I downloaded from the AB site. In any case, I got the same result. When I do 'file/open database' and point to the extracted folder it opens fi

[amibroker] Plotting QLD vs QID with CUSTOM CHART WINDOWS [1 Attachment]

2009-07-19 Thread Ronald Davis
This is the first time that I have tried to use relative performance. I have attached a chart of the Built in Amibroker code BELOW that plots QLD vs QID. Hopefully, there is some way that I can plot QLD vs QID in a several different CUSTOM windows. Each of these custom indicators would show a

[amibroker] Re: NooBee needs a little help

2009-07-19 Thread triplephile
Hi Phil I have just last week "refreshed" my US database by doing a full reinstall of it. If you go to www.icc-az.com/amibroker.aspx there is a very up to date file that worked perfectly for me, courtesy of jrswindle Just download and unzip the stocks.zip file. Full instructions within, and all

[amibroker] Re: Intra-Day Database Setup

2009-07-19 Thread Pete
Brian, thank you for the very thorough response and examples. I have included below a section of code which demonstrates the very different results computed using two different techniques. One uses TimeFrameSet() and TimeFrameRestore(). The other uses TimeFrameCompress() and TimeFrameExpand().

[amibroker] Re: Loading Settings in Backtester

2009-07-19 Thread rhoemke
Make extra settings file with Setoptions lines and include it in your code. But not every AA Setting is covered with Setoptions function. Therefore my suggestion http://www.amibroker.com/feedback/view_bug.php?bug_id=519 , but not implemented yet. Regards --- In amibroker@yahoogroups.com, "b

[amibroker] NooBee needs a little help

2009-07-19 Thread phild3581
First, I'd like to thank Tomasz for a great product!! Ok, I've been playing with the unregistered version for about a week and yesterday purchased AMIBroker Professional and AMIQuote. One of the first things i wanted to do was set up the markets and sectors correctly, filled with their respect

[amibroker] Re: Intra-Day Database Setup

2009-07-19 Thread brian_z111
Notice that I am not really fussy about the end of session bar (not in this example anyway). If I wanted to be exact, say in 1 min bars, with the timestamp on the first tick inside the bar, I would use 0559 as the end of the day session ... then the close would be == the US 1600 hour close. Any

[amibroker] Re: Intra-Day Database Setup

2009-07-19 Thread brian_z111
Pete, I am based in Aussie and use eS, who use UniversalTime. So, for the US, I am either 14 hours or 15 hours ahead, depending in whether the US is in daylight saving mode or not. Here is what I do (hope it helps you): - eS 1 min database - I use the SPY and show volume, with session markers,