[amibroker] Menu Bar Question

2007-04-12 Thread Mr. Valley
Something or I seemed to have moved or lost the File View Tools Help object from the top left of my AB. Any suggestions on how to redisplay it? The others display, just not the first one. I looked in the user guide and didn't see how to get it back. Tried resetting the menu bar to no avail.

[amibroker] Re: Number of bars in the last hour

2007-04-12 Thread cooperengineer2004
perfect, and if i want to plot the same thing but on a time of 10 or 15 or 20 min., are possible ? thanks --- In [EMAIL PROTECTED], Graham [EMAIL PROTECTED] wrote: Here is very simple way to show how many bars to selected bar since beginning of the hour hr = hour(); x =

RE: [amibroker] Menu Bar Question

2007-04-12 Thread dbw451
Loss of menus sometimes occurs when Windows' system resources are low. You could try closing a few applications or rebooting your computer. Otherwise, I would have thought Tools-Customize-Toolbars Reset. button should have worked. Good luck. Regards, David _ From:

[amibroker] ODBC - Field Names not getting populated

2007-04-12 Thread Aditya Kedia
I am new to Amibroker and use SQL Server 2005 Databases table for holding quotations. However, when I I have set up the AmiBroker software along with the ODBC plgin 1.40 and have also configured the ODBC DSN. However, once I do that and select the Table in the Congif winddow of ODBC, the

[amibroker] Re: OLE / Add to Composite

2007-04-12 Thread vlanschot
Ara, You can also include d's suggestion in your script by adding the sub RefreshAll() to the end of your code. PS --- In [EMAIL PROTECTED], dingo [EMAIL PROTECTED] wrote: Try doing a refresh all d _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ara

[amibroker] Ranking trade signals before entry day

2007-04-12 Thread David
Hi, I have a reversal system I have coded into AB where I know at times it gives more triggers than I can have equity to enter orders in the next day. My entry is based on limit orders away from today's price so I don't know which ones will actually be entered before hand. I may get say 10

Re: [amibroker] Ranking trade signals before entry day

2007-04-12 Thread Edward Pottasch
PositionScore is not after the fact if you use e.g. PositionScore = ref(50-RSI(15),-1); So setting up your backtest this way the backtester will ensure by itself that you will not enter more positions then the backtester is setup for. As for an entry on the limit: I wrote code for that a while

RE: [amibroker] Ranking trade signals before entry day

2007-04-12 Thread David Smith
Hmm.. I understand your approach I think, but it still looks to me like the ranking using ref-1 only used a previous value for rank will only be applied to successfully entered trades only. In terms of reseverd equity, I have a broker (I am trading CFD's by the way) who will take any number of

[amibroker] Re: Ranking trade signals before entry day

2007-04-12 Thread vlanschot
Perhaps this ranking function is of help to you: function XSecRanksVarSet(List, Crit, Lookback) { global PercRank; if (Crit==1) CurrInd=RSI(Lookback); else if (Crit==2) CurrInd=ROC(C,Lookback); for (j = 0;( Naam = StrExtract( List, j ) ) != ; j++ )

RE: [amibroker] Re: Ranking trade signals before entry day

2007-04-12 Thread David Smith
Thanks, I have to admit, the code is beyond me, I'll have to study more. Does the code just fit staight into my system code or is it more complicated than that? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of vlanschot Sent: Thursday, 12 April 2007 9:03

[amibroker] Re: Real Time Explorations ?

2007-04-12 Thread fblackes
Thanks Ara Looking forward to trying it out today. Appreciate your time Fred --- In [EMAIL PROTECTED], Ara Kaloustian [EMAIL PROTECTED] wrote: Exploration in Real Time do not require any special consideration. All you need in real time data and select the time increment you want in the

Re: [amibroker] Ranking trade signals before entry day

2007-04-12 Thread Edward Pottasch
I am afraid that I then do not understand your question. rgds, Ed - Original Message - From: David Smith To: [EMAIL PROTECTED] Sent: Thursday, April 12, 2007 12:32 PM Subject: RE: [amibroker] Ranking trade signals before entry day Hmm.. I understand your approach I

Re: [amibroker] JScript/VBScript Why?

2007-04-12 Thread Joe Landry
Adding a bit to Graham's note, I use jScript to drive Amibroker externally. I also use Fred's tools called Batman for this purpose and it's written in a script language. For example, I've used jScript to organize/classify stocks in industry groups of my own making and then to rank them, or to

Re: [amibroker] OLE / Add to Composite

2007-04-12 Thread Ara Kaloustian
d ... nice thought ... but no cigar! A - Original Message - From: dingo To: [EMAIL PROTECTED] Sent: Wednesday, April 11, 2007 7:26 PM Subject: RE: [amibroker] OLE / Add to Composite Try doing a refresh all d

Re: [amibroker] protecting the code

2007-04-12 Thread Howard B
Hi Waleed -- There is a detailed description and example of creating a DLL in my book. The books have arrived from the printer and are available for immediate shipment. Thanks, Howard www.quantitativetradingsystems.com On 11 Apr 2007 05:27:15 -0700, Waleed Khalil [EMAIL PROTECTED] wrote:

[amibroker] Re: Real Time Explorations ?

2007-04-12 Thread mikelaurataylor
Assuming you want a signal when it crosses the 15 minute BBandtop you should not have to change anything. If you are running real time during the day in 15 minute increments and want a signal when it crosses the DAILY Bbandtop you'd need to change the formula to do this. In other words, as

[amibroker] Re: New Yahoo Database

2007-04-12 Thread Gary
Jim, I have a question for you, how did you pull the list of tickers (US traded) from yahoo? and how did you pull the industries/sectors info? All this data is from Yahoo? I am curious... Let me know if there is any website that allows you to get list of tickers for US traded stocks for

[amibroker] Re: New Yahoo Database

2007-04-12 Thread jrswindle2001
Hi Gary, I use an old Visual Basic 6 program to start at the top level (sectors) and get all of them. Then scan through those getting all the industries. Then scanning through that list and getting all the symbols. Finally scanning that list to get all the data for the symbols. So a total of 3

[amibroker] Candle alignment (with Tradestation)

2007-04-12 Thread jrswindle2001
Hi All, I've noticed that when I compare charts from AB with TS, the 1' charts compare nicely, but when I choose a larger interval (for example 3'), then candles no longer compare correctly. For example the first candle in AB for the day is an 0801 candle and in TS it is an 0803 candle (first

[amibroker] Re: New Yahoo Database

2007-04-12 Thread Gary
OK, I see what you mean, I should do the same thing then. I am currently downloading data from Bloomberg machine, there is a script that would automatically extract data from Bloomberg. I get data for Bonds, Currencies, ETF, Futures and Mut.Funds. Now the Bloomberg subscription is expiring in a

[amibroker] Max. Loss intraday systeem

2007-04-12 Thread optiekoersen
Hello, Is it possible to program something like applystop, but then for all intradaytrades together? I am running an intraday systeem and I like to know if its better to stop trading if I reach an certain loss. Second if above is possible could this also be applied to the MaxSysDD for the

[amibroker] Re: New Yahoo Database

2007-04-12 Thread jrswindle2001
I used to do the same thing when I had Bloomberg too. The Yahoo data is pretty good, but does have its problems of course. I usually run my updates about 2 hours after the markets close. It would be nice to know how many stocks get deleted or created each day, but I have never checked. I don't

[amibroker] Re: New Yahoo Database

2007-04-12 Thread Gary
Thanks again Jim, This is a good start, I will start this little project soon then... My goal would be: the data would be just like the way I am doing now, all the scans are done and the database would have all eod data from yesterday when I look at charts. I just need to go through a short

Re: [amibroker] Candle alignment (with Tradestation)

2007-04-12 Thread Tomasz Janeczko
Hello, 3 minute candle in AmiBroker represents time from 8:00:00 to 8:02:59 as it should be. The time stamp displayed on the top depends on the SETTINGS in Tools-Preferences-Intraday. It can show 8:00 (start time of the interval) or 8:02:59 (end time of interval) or first tick/last tick. Best

[amibroker] outside bar causing problems

2007-04-12 Thread James
I am trying to backtest a system that is giving me problems with outside bars. First of all, it is possible that there could be a buy and sell on the same bar and Amibroker is going to have to make a choice. How does it handle this situation? Now let's assume it takes the sell. The next bar

[amibroker] To Sort a WatchList

2007-04-12 Thread Bob Jagow
Impossible dream?

[amibroker] Re: Candle alignment (with Tradestation)

2007-04-12 Thread jrswindle2001
Thanks Tomasz, That answers my question. Looks like I just need to 'shift' the TS exported data up 1 minute to compensate for how they calculate their bars. Appreciate the quick reply, Jim --- In [EMAIL PROTECTED], Tomasz Janeczko [EMAIL PROTECTED] wrote: Hello, 3 minute candle in

Re: [amibroker] To Sort a WatchList

2007-04-12 Thread cstrader
Not impossible, just a bit unwiedly. Try starting with something like this; procedure SORTWATCHLIST(ListToUse) { // Create zero-based Scores array for( j=0; (CurrentTicker=StrExtract( ListtoUse, j)) != ; j++) { SortToUse = SelectedValue((GetTClose(CurrentTicker) - GetTLow(CurrentTicker)) /

Re: [amibroker] Re: New Yahoo Database

2007-04-12 Thread Nick Busigin
On Thu, 12 Apr 2007, Gary wrote: This is a good start, I will start this little project soon then... My goal would be: the data would be just like the way I am doing now, all the scans are done and the database would have all eod data from yesterday when I look at charts. I just need to go

[amibroker] McClellan Oscillator

2007-04-12 Thread Ara Kaloustian
Does anyone have the code for Advance/Decline Line and tha A/D Oscillator? AB has a built in function ADLine(), but I get a blank on the screen ... using QuotesPlus data... Thanks Ara