RE: Desktop Search --- RE: [amibroker] afl files / Windows XP

2008-06-02 Thread J. Biran
That is good to know. I used their internet search a long time ago, way before Google I feel the same about Microsoft's desktop search after upgrading to office 2007 (Lookout for outlook no longer works). It indexes all outlook mail too. I just discovered that Microsoft's desktop search

[amibroker] Re: Debugging Help

2008-06-02 Thread sidhartha70
Thanks both Steve & Ron. Excellent suggestions. --- In amibroker@yahoogroups.com, "Ronald Davis" <[EMAIL PROTECTED]> wrote: > > Steve>>But I think you can learn more by plotting and seeing the entire > array...Good luck! > > I agree with Steve. My method is to "THROW IT AGAINST THE WALL AND SEE

[amibroker] Re: Amiquote to update the 2nd running Broker.exe in case of 2 Amibroker window

2008-06-02 Thread zozuzoza
The solution is to create a virtual mashine, an operating system within the operating system, e.g. an XP within an XP with Microsoft Virtual PC 2007. --- In amibroker@yahoogroups.com, "Tomasz Janeczko" <[EMAIL PROTECTED]> wrote: > > Hello, > > In Windows Operating System CreateObject() functio

[amibroker] Re: my trades

2008-06-02 Thread Mike
Each line must have a unique Study ID. For example; "01", "02", "03". Then modify your program to recognize all three values. SetTradeDelays( 0, 0, 0, 0 ); // buydelay, selldelay,shortdelay, coverdelay Risiko = -0.25 ; //risiko auf das depot RisikoimWert = Ref (H,-1) - Ref (L,-1) ; // risiko im

[amibroker] Amibroker use

2008-06-02 Thread selim981134
I am a new member. I live in Bangladesh & invested my capital in Dhaka stock Exchange. I want to analyze share by using Dhaka stock data. How I can do it? Shahariar Tamal Selim

[amibroker] Exit Problem

2008-06-02 Thread bean_pi314
I have encountered a strange exit problem while using the portfolio backtester and trading at the open the day after a signal. The strategy I am testing is a 2-5 day mean reversion system. Settings: In the trades tab, I set buy = Open, Delay = 1. Sell = C > MA(C, 5); I have noticed that I oc

[amibroker] Data import in Metastock Format for Eod

2008-06-02 Thread ns1953_2000
My amibroker is working fine with E signal feed on Rt for the Indian stock market but I am unable to import the Eod data can any one give me a clue how to do this from my C drive.

[amibroker] Re: Amiquote to update the 2nd running Broker.exe in case of 2 Amibroker window

2008-06-02 Thread zozuzoza
I guess you mean different XP user accounts. That could be an alternative, but switching between users is a pain and you cannot display both user accounts, i.e. Amibroker on 2 different displays at the same time. --- In amibroker@yahoogroups.com, Fred Tonetti <[EMAIL PROTECTED]> wrote: > > Simp

[amibroker] Re: Exit Problem

2008-06-02 Thread Mike
Do you also have Sell Price = Open and Sell Delay = 1 in the trades tab? Sounds like you should, since your exit logic requires the Close in order to execute. Thus, it cannot execute until the open of the next day at the earliest. Personally, I find it less error prone to do this in code such t

[amibroker] Re: Referencing the backtested portfolio equity in the buy formula

2008-06-02 Thread zozuzoza
I tried this but doesn't work. PositionSize = Min(Foreign("~~~EQUITY", "C"),MA(C,5)*MA(V,5)/50); It is a portfolio backtest. The question remains. How is it possible for the positionsize to follow the equity AND also limit the positionsize by the volume? --- In amibroker@yahoogroups.com, Graham <

[amibroker] Re: my trades

2008-06-02 Thread kmunnecke
>Each line must have a unique Study ID. thanks Klaus

SV: [amibroker] PlotShapes problem.

2008-06-02 Thread Jan Malmberg
Hello, I am most grateful, this solved problem 2. Strangely enough, it only partially resolved problem number 1. If I set the startdate to 2000-03-07, when our market topped out, and zoom in, the arrows then disappear when I reach 2003-03 as the left boundary in the chart. Very strange. Also, still

[amibroker] Re: Referencing the backtested portfolio equity in the buy formula

2008-06-02 Thread Mike
Hi, If I understand your scenario correctly. You don't have to worry about it, because AmiBroker will not allow you to place an order for a value greater than you actually have available in your account. Just select the "Allow position size shrinking" checkbox from the AA settings window, then

[amibroker] Re: my trades

2008-06-02 Thread ricko8294_98
Klaus Ich schlage vor, Sie versuchen http://www.google/translate Wählen Sie Deutsch auf Englisch Geben Sie Ihre Nachricht Deutsch Es wird Ihnen englische Übersetzung Schneiden Sie ihn aus und fügen Sie auf dieser Site Dies ist die Website ich zur Herstellung dieser Nachricht Ich spreche kein

Re: [amibroker] PlotShapes problem.

2008-06-02 Thread wavemechanic
What do you mean by "set the start date" for an indicator? How are you doing this? What else is in your code? Are you using functions such as SelectedValue(), etc.? Bill - Original Message - From: Jan Malmberg To: amibroker@yahoogroups.com Sent: Monday, June 02, 2008 7:25 A

SV: [amibroker] PlotShapes problem.

2008-06-02 Thread Jan Malmberg
Hello, I have created, with major help from people here, a time cycle which I am still researching, and it should perhaps not be called an indicator, since it really just displays arrows underneath dates in a fixed manner from a certain start date. Here’s the code (without just one date as an exam

[amibroker] Tomasz... a suggestion.

2008-06-02 Thread sidhartha70
Hi Tomasz, I'm pretty new to AmiBroker... but I think it's a fabulous piece of software. Congrats. I have however come across what seems a limitation for the way I wish to use the system (and perhaps others). As such I wanted to highlight it and maybe it could somehow be added to the AB 'wish lis

[amibroker] Are these good results?

2008-06-02 Thread professor77747
I know that the profit and return are great, but I don't understand about the risk factors. Are these good results considering the risk? Statistics | Charts | Trades | Formula | Settings | Symbols Statistics All trades Long trades Short trades Initial capital 1.00 1.00 1.00 End

Re: [amibroker] Are these good results?

2008-06-02 Thread Louis Préfontaine
Hi, I think it is good if it is OOS, but I think it would be better if you had 30 trades in your sample. Louis 2008/6/2 professor77747 <[EMAIL PROTECTED]>: > I know that the profit and return are great, but I don't understand > about the risk factors. > > Are these good results considering th

[amibroker] Adding data to field in existing symbol database.

2008-06-02 Thread Ken Close
Amiquote and Import from ASQII are both aimed towards helping people import quotes from services like Yahoo. No where that I can find does the Help file (or the Knowledgebase, or the Users Knowledgebase, nor past archived messages) talk about how to ADD a value to an existing field (say an empty

Re: [amibroker] PlotShapes problem.

2008-06-02 Thread Steve Dugas
Hi - It sounds like you need to add SetBarsRequired( 10, 10 ); at the top of your code. Otherwise, charting will use QuickAFL ( which uses smaller arrays, a subset of the full arrays ). Also ( and I know it is my code 8 - ) technically IIF is a function and so results are usually as

Re: SV: [amibroker] PlotShapes problem.

2008-06-02 Thread ChrisB
Jan DateBar + 5000; is saying 5000 bars after the StartDate. Assuming daily bars, around 260 trading days per year this is around 19 years after the StartDate. Try adding the SetBarsRequired line to the top of your code. SetBarsRequired(1,1); StartDate = ParamDate ( "Start Dat

RE: [amibroker] Adding data to field in existing symbol database.

2008-06-02 Thread Jindrich Kostalek
Have a look at Symbol > Quote Editor . Henry From: amibroker@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ken Close Sent: Monday, June 02, 2008 4:37 PM To: amibroker@yahoogroups.com Subject: [amibroker] Adding data to field in existing symbol database. Amiquote and Import from A

[amibroker] Re: DeMark ROC2 Indicator

2008-06-02 Thread enochbenjamin
Anybody using this indicator? If so could you answer a few questions for me??? Thanks in advance. Enoch --- In amibroker@yahoogroups.com, "Brian" <[EMAIL PROTECTED]> wrote: > > > This is a variation of Tom DeMark's ROC2 indicator. > > Play with the parameters to find which setting works best f

Re: [amibroker] Adding data to field in existing symbol database.

2008-06-02 Thread Chris DePuy
Ken, I think you are asking whether you can add information to the Amibroker database that is not related to O,H,L,C,V, OI from a source that is different from Amiquote, right? If so, I'm afraid that ASCII import is probably your best bet. The way I've done that is to create a dummy ticker lik

RE: [amibroker] Adding data to field in existing symbol database.

2008-06-02 Thread Ken Close
Well, thanks, but I need to add many symbols read automatically from a spreadsheet file into the database. The Quote Editor will not do it automatically as far as I know. Ken _ From: amibroker@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jindrich Kostalek Sent: Monday, June 02,

[amibroker] Re: Adding data to field in existing symbol database.

2008-06-02 Thread john_dxd_smith
Ken, Is this what you want ? http://finance.groups.yahoo.com/group/amibroker/message/121755 dxd --- In amibroker@yahoogroups.com, Ken Close <[EMAIL PROTECTED]> wrote: > > Well, thanks, but I need to add many symbols read automatically from a > spreadsheet file into the database. The Quote Edit

RE: [amibroker] Re: Adding data to field in existing symbol database.

2008-06-02 Thread Ken Close
Dxd: by gosh, that seems to be E.X.A.C.T.L.Y what I want to do, although the ranking quantity, which in the example is simple the Close value, is for me an imported value from an external csv file. This sure gives me a point in the right direction. Man, search terms are obviously critical as I s

[amibroker] database corruption with new IB plugin

2008-06-02 Thread loveyourenemynow
Hello, I have been using the new IB plugin and when I backfill symbols with 180 days, after some usage the database gets somehow corrupted and when I open it AB is not responding. Also, I keep having the problem that IB closes when I backfill for 1 year. Did anybody get similar problems? I use A

[amibroker] Re: IB data delay in AB and no delay in IB plugin

2008-06-02 Thread loveyourenemynow
It may have to do with the refreshing setting of the chart Ly --- In amibroker@yahoogroups.com, "alpod" <[EMAIL PROTECTED]> wrote: > > I'm using the latest IB plugin and it's showing the Trade Size just > fine when trade reported from IB. > I use Realtime Quote window and Time&Sales to see it. >

Re: [amibroker] afl files / Windows XP

2008-06-02 Thread Corey Saxe
Ara, I noticed that I couldn't find text within afl files with windows search either. Oddly, I could find text within aflsafe files. I got it to work by following the instructions on: http://support.microsoft.com/kb/309173/EN-US/ Method 1 didn't work, but Method 2 did without having to turn on in

RE: [amibroker] Adding data to field in existing symbol database.

2008-06-02 Thread Ken Close
Chris: thanks for getting backreplies are below in CAPS: _ From: amibroker@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Chris DePuy Sent: Monday, June 02, 2008 12:39 PM To: amibroker@yahoogroups.com Subject: Re: [amibroker] Adding data to field in existing symbol database.

[amibroker] Please help with start of week code.

2008-06-02 Thread alta hob
Can someone please show how I would buy at 50 points above the open of the week (London open for example at 07:00) I believe this is the starting point buyprice = IIF( dayofweek() == 1, and says to buy on monday but 1. how do I specify 7:00 gmt 2. how do I specify to buy 50 points above? t

SV: [amibroker] PlotShapes problem.

2008-06-02 Thread Jan Malmberg
Hi Steve and ChrisB, Thank you both for your very valuable assistance. I have taken some time to study the simple code and I’ve learnt a few things about AFL. We’ll see how long I’ll remember the lessons, I use AB for mainly discretionary trading. Anyway, I am most grateful for the SetBarsRequired

[amibroker] Re: Adding data to field in existing symbol database.

2008-06-02 Thread tuzo_wilson
--- In amibroker@yahoogroups.com, Ken Close <[EMAIL PROTECTED]> wrote: If you want to use an empty field such as OI, then you could use a script to parse the CSV and then use the OLE interface to set the OpenInt Property on the Quotation object. Tuzo > Chris: thanks for getting backreplies

Re: [amibroker] Adding data to field in existing symbol database.

2008-06-02 Thread Yuki Taga
KC> Amiquote and Import from ASQII are both aimed towards helping people import KC> quotes from services like Yahoo. Only if you are willing to learn another programming language to control Amiquote, or never miss a day of downloading 'Current' quotes at Yahoo that do not have a corresponding 'His

[amibroker] Functions and general code efficiency

2008-06-02 Thread sidhartha70
Hi All, Any experienced users wish to comment on the general use of 'functions' in AFL...? Are there speed advantages to routinely using 'functions'... even if the code in a function is only called the one time...? Many Thanks

[amibroker] AA positions: Long Short

2008-06-02 Thread James Hutchison
Is there a way to change the AA Settings for Positions: Long, Short , Long or Short in AFL. I can not figure out how. Thank you Jim Hutchison

RE: [amibroker] Adding data to field in existing symbol database.

2008-06-02 Thread Ken Close
Hi Yuki: I was only referring to the focus of the Help file. All the data I want is sitting there, inside a mySql database. All I have to do is get it inside the AB program and then do some backtesting. I have gotten several useful message replies, so I am further along than I was yesterday. K

[amibroker] Dear Prashanth,

2008-06-02 Thread Vinay Gakkhar.
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

Re: [amibroker] Functions and general code efficiency

2008-06-02 Thread Dennis Brown
Hi, Functions will not give you a speed advantage as there is some overhead to call them. However, the overhead is very very small if the functions are properly written, so it can be all but ignored. I would generally not put a trivial function call in the heart of a tight loop through a

Re: [amibroker] AA positions: Long Short

2008-06-02 Thread Grant Noble
Go to the Automatic Analysis/Settings.../Positions: and choose there. I don't think it can be done in AFL.. G James Hutchison wrote: > Is there a way to change the AA Settings for Positions: Long, Short > , Long or Short in AFL. I can not figure out how. > Thank you > > Jim Hutchison > >

[amibroker] Using Fixed Equity for PositionSizing

2008-06-02 Thread oceanchimes
Hello all, Needed to test fixed Equity for PositionSize. This CBT code is what I came up with. Hope it can help someone. Of course, the code is final and provided as is. FE //--- //CUSTOM BACTESTER //Limit Trade positions to a fixed E

[amibroker] Re: Dear Prashanth,

2008-06-02 Thread Mike
What's wrong with the answer that I gave you days ago in message ID 124745? Does that not do what you wanted? Mike --- In amibroker@yahoogroups.com, "Vinay Gakkhar." <[EMAIL PROTECTED]> wrote: > > Dear Prashanth, > > Can you please help me with this? > > At present I calculate the number of

[amibroker] Re: AA positions: Long Short

2008-06-02 Thread Mike
For anything that you don't want, just set the related array to zero. e.g. // Equal to Long only from AA Short = Cover = 0; Buy = ... Sell = ... vs. // Equal to Short only from AA Buy = Sell = 0; Short = ... Cover = ... vs. // Equal to Long or Short from AA Buy = ... Sell = ... Short = ... Co

Re: [amibroker] Adding data to field in existing symbol database.

2008-06-02 Thread Chris DePuy
Herman has very code sample code for using fopen. its for reading the TWS trade list. just look it up in amibroker files list. i haven't looked at it in a while, but its the best i've seen. The limitations of using SQL, as I have experienced are as follows: if you're using windows mysql, a

Re: [amibroker] afl files / Windows XP

2008-06-02 Thread Ara Kaloustian
Thanks for all the responses Corey's method seemed simplest and worked fine Tx Ara - Original Message - From: Corey Saxe To: amibroker@yahoogroups.com Sent: Monday, June 02, 2008 12:10 PM Subject: Re: [amibroker] afl files / Windows XP Ara, I noticed that I couldn'

RE: [amibroker] AA positions: Long Short

2008-06-02 Thread dingo
No - those properties are read only within an AFL. d > -Original Message- > From: amibroker@yahoogroups.com > [mailto:[EMAIL PROTECTED] On Behalf Of James Hutchison > Sent: Monday, June 02, 2008 8:18 PM > To: amibroker@yahoogroups.com > Subject: [amibroker] AA positions: Long Short > >

RE: [amibroker] Tomasz... a suggestion.

2008-06-02 Thread Jerry Gress
Hello, Yes would be nice to overlay the "Trin" on a tick/vol chart. Does not work that way. What I do is collect all data using the tick setting (database settings) and then run a separate 1 minute chart for "Trin" and other's ("Tick") and then everything plots. Then run 4-6 other charts using Vol

Re: [amibroker] Dear Prashanth,

2008-06-02 Thread Prashanth
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 calculat

Re: [amibroker] Data import in Metastock Format for Eod

2008-06-02 Thread Prashanth
Hello, Have you read this, http://www.amibroker.com/guide/h_esignal.html and this http://www.amibroker.com/guide/h_extsources.html Cheers Prashanth - Original Message - From: "ns1953_2000" <[EMAIL PROTECTED]> To: Sent: Saturday, May 31, 2008 7:26 PM Subject: [amibroker] Data import

[amibroker] May I clarify?

2008-06-02 Thread Vinay Gakkhar.
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 oth

RE: [amibroker] May I clarify?

2008-06-02 Thread Donald F Lindberg
AmiBroker does not read the future! If it did we would all be rich. -Original Message- From: amibroker@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Vinay Gakkhar. Sent: Monday, June 02, 2008 9:18 PM To: amibroker@yahoogroups.com Subject: [amibroker] May I clarify? Dear Prashant

Re: [amibroker] Working with DateNum and If Statement

2008-06-02 Thread Graham
You are close, you just need to initialise the variables before the loop rather than inside it, and define the X as an array. Inside the loop all bar values of X[i] will be passed to the code after the loop, by using just X only the last value in the loop of this variable is passed to the code afte

[amibroker] Working with DateNum and If Statement

2008-06-02 Thread marketmonk777
I am making a lot of progress on some custom studies and indicators but I have run into a road block and am hoping someone here can point me in the right direction. Although the help file states that there are 6 arrays for each symbol, isn't there a 7th? That being the date? One array each for D

Re: [amibroker] Working with DateNum and If Statement

2008-06-02 Thread Edward Pottasch
> All I would like to do is create an indicator that assigns 4 to a > variable called x if the date of the bar is before the year 2008. > After that date I want the value to be zero. hi, you could just use iif for that: x = IIf(DateNum() < 1080101,4,0); WriteVal(x); if you choose to use a lo

[amibroker] Re: Working with DateNum and If Statement

2008-06-02 Thread marketmonk777
Thanks Graham and Ed. I can now cancel my order for Rogaine! MM --- In amibroker@yahoogroups.com, "Edward Pottasch" <[EMAIL PROTECTED]> wrote: > > > All I would like to do is create an indicator that assigns 4 to a > > variable called x if the date of the bar is before the year 2008. > > After t