[amibroker] Re: adding stock to amibroker using c#

2010-06-01 Thread dotnetsdkforab
Hi, what you have to understand is how .Net and COM objects can interop. There are two ways to do interop: early binding and late binding. You need a type lib for early binding, add it as a reference to your project (search for tblexp.exe, tlbimp.exe). Early binding means that COM interface ca

Re: [amibroker] Re: Last 3 Candle charting

2010-06-01 Thread Vishvesh
Thanks mike for your kind reply. It has solved my problem Regards Vishvesh On Tue, Jun 1, 2010 at 1:33 PM, Mike wrote: > > > I don't have the book. But it sounds like you're describing something like > this: > > Open = Ref(Open, -1); > High = HHV(High, 3); > Low = LLV(Low, 3); > > Plot(Close, "

Re: [amibroker] Loop for MA calculation

2010-06-01 Thread Inquisitive Voyager
_Sum=0; LEN =10; mm=0; * for* (i= LEN; i<*BarCount*; i++) { //_Sum = 0; * for* (j = i-LEN; J==i-1; J++) { _Sum= _Sum+*C*[j]; } mm[i] = _Sum/LEN; } ps:(1)Just removed the errors. (2)express your logic distinctly so that it can be formulated. On Tue, Jun 1, 2010 at 10:45 PM, ang_60 wrote

Re: [amibroker] Missing data for one stock from IB.

2010-06-01 Thread Keith McCombs
No, I ran Explore many, many times. I ran it manually a few dozen times. And also set "Run every" at different intervals, 1, 2, and 5minutes. With "Run every" set, I could observe, new times and prices displayed in AA spread sheet for all other symbols. In the IB status box, lower right cor

[amibroker] Re: Calling a third party DLL from Amibroker DLL plugin

2010-06-01 Thread elizabeth19852002
Hello Tomasz, Thank you very much for the quick reply. I managed to progress quite a lot with it. But since I ran into few problems, I decided to simplify things to locate the error. To this end, 1. I decided to create a very simple DLL of my own - just multiply the close array by a numb

Re: [amibroker] Problem removing OptimizerSetEngine("cmae");

2010-06-01 Thread Chris DePuy
James, remove cmae.dll from the add in directory. i'm using spso for now as an alternative. I've noticed that if any formula in any open window refers to cmae, then it'll trigger it. Hope that helps. Chris - Original Message - From: James To: amibroker@yahoogroups.com Sent

Re: [amibroker] Problem removing OptimizerSetEngine("cmae");

2010-06-01 Thread James
I am assuming this intermittent bug in CMAE still exists because I am still having the problem. Was this fixed in a later version that I missed and if not, any idea if this will ever be fixed? - James AmiBroker version 5.29.6.5096  ( cooltool.dll 5.28.0,  mfc42.dll 6.2.4131,  msvcrt.dll 7.0.260

[amibroker] Re: Trying to get CBT to apply portfolio wide stop based on current portfolio profit

2010-06-01 Thread radmobile_radmobile
Still hoping that someone here more knowledgeable in the CBT will be able to offer some direction. Thank you. --- In amibroker@yahoogroups.com, "radmobile_radmobile" wrote: > > I want to exit all trades if the average profit for all the open positions in > a portfolio exceeds a specified value.

Re: [amibroker] Missing data for one stock from IB.

2010-06-01 Thread Herman
Did you run the explore just once? Nw symbols that on the first pass do not have any data yet will NOT be included in the report. For example, if I Explore 500 new tickers in a new database less than half will be listed, the others did not have any data yet. When this happens I just run the e

[amibroker] Re: Loop for MA calculation

2010-06-01 Thread ang_60
--- In amibroker@yahoogroups.com, "ang_60" wrote: > > Thanks Herman, but I not able to get your answer. > If you find the time to correct my code, it will be much appreciated. > > Anyway, I found another piece of code at page 539 of "Introduction to > Amibroker" by Howard Bandy. > This code

[amibroker] Re: Loop for MA calculation

2010-06-01 Thread ang_60
Thanks Herman, but I not able to get your answer. If you find the time to correct my code, it will be much appreciated. Anyway, I found another piece of code at page 539 of "Introduction to Amibroker" by Howard Bandy. This code too gives me a "syntax" error. If Howard or something else finds

[amibroker] Missing data for one stock from IB.

2010-06-01 Thread Keith McCombs
I entered 11 stocks into one of my AB watch lists. For most of the 11, this was the first day for them to be in my IB data base. I started an explore. But only 10 of the eleven were listed. The eleven stocks were: ATPG, AUXL, CM, COCO, DV, HOS, LOPE, NE, OII, SMTC, TTEC. The one that was no

Re: [amibroker] Loop for MA calculation

2010-06-01 Thread Herman
Use [] for subscripts. Define variables before using them inside a loop (mm). herman > Hi, > My purpose is to rebuild the MA function with the "FOR... NEXT loops. > Could you please check this formula, that gives me two "syntax" errors? > _Sum=0; > LEN =10; > for (i= LEN; i { >

[amibroker] Loop for MA calculation

2010-06-01 Thread ang_60
Hi, My purpose is to rebuild the MA function with the "FOR... NEXT loops. Could you please check this formula, that gives me two "syntax" errors? _Sum=0; LEN =10; for (i= LEN; i

[amibroker] Re: Different Applystops for long and short positions possible?

2010-06-01 Thread j0etr4der
Hello, To Markus: As you can see in Tomasz reply, I was wrong about Equity(1). In my subsequent testing, I found that placing Equity(1) after all ApplyStops and Sell/Cover statements will update the arrays correctly. In my defense, the documentation clearly states that the "...Equity() functi

Re: [amibroker] Re: how to create variables automatically as required

2010-06-01 Thread Inquisitive Voyager
Ya, that came to my mind too. But later found,data compression shall not serve the purpose. i have to add ranges of all bars in a year and then dividing the same by no. of bars in that year. Going for 12 monthly ranges shall not give the desired result. Even inYearly option shall not serve the pu

[amibroker] amibroker automation help

2010-06-01 Thread dralialadin
i developed a soft using amibroker automation object. i want to select a symbol in amibroker by my application. that mean i open both my application & amibroker, when i select any symbol in my application then the amibroker automatic select that symbol also. How can i do it. plz anyone help me.

[amibroker] Is it possible to mergee two databases

2010-06-01 Thread Herman
I seem to recall a post on this, but has anyone succeeded? I want to be able to merge EOD Premium Data with IQFeed 1-min data into ONE local DB to take advantage of the best of both, i.e. Data and Watchlists. Perhaps adding a prefix to one symbol set to distinguish the. This has to be automat

[amibroker] Re: AmiBroker 5.30.1 64-bit edition (experimental)

2010-06-01 Thread sanjiv
Hello Mr. Tomasz Janeczko, Please guide if an AmiBroker Database ASCII Import created in 32bit can be used in 64Bit or vice-versa? Can the same database be used sometime in 64bit and sometime in 32bit(not at the same time)? I mean I hope opening database in 64bit does not render the database un

[amibroker] Re: Display first 100 bars by default

2010-06-01 Thread wangfang25
Thanks wavemechanic for your reply. My issue is not really about bar replay. I want to avoid seeing what's on the right side at the instant I enter a symbol by having the chart showing the left most by default, hence the first 100 bars. Is that possible? I'd really appreciate any pointer, after

Re: [amibroker] Re: Frank dilernia, higher time frame balance point indicators etc help

2010-06-01 Thread reinsley
Please, could you provide a link to the book's blurb ? Best regards Le 01/06/2010 06:48, bertieb_aus a écrit : --- In amibroker@yahoogroups.com , "wandaria" wrote: > > Does anyone have the Frank DILERNIA indicators that he uses for his higher time fra

Re: [amibroker] Re: how to create variables automatically as required

2010-06-01 Thread Tomasz Janeczko
Hello, It is not the same as yearly, because Yearly interval is defined as January to December, 12 * inMonthly is just any 12 months. "any solution for 5.1 users except upgrade?" If you purchased 5.10 then upgrade is free, don't see any problem with the upgrade, assuming that you have legal lic

Re: [amibroker] AmiBroker 5.30.1 64-bit edition (experimental)

2010-06-01 Thread Tomasz Janeczko
Hello, If you don't install programs on system drive, it won't grow that much. Still on my recent machine I have 60GB OS partition (with Windows 7 taking up 18 GB, plus 12GB swap ). Best regards, Tomasz Janeczko amibroker.com On 2010-06-01 03:06, kevin...@aol.com wrote: Begs the question,,

Re: [amibroker] AmiBroker 5.30.1 64-bit edition (experimental)

2010-06-01 Thread Tomasz Janeczko
Hello, It depends. I have many computers for development and testing, they all share the same logical drive layout (via appropriate partitioning), but physical configuration is different. On desktops I have 2 (or 3) physical drives but on laptop I have one. Note that drive letters in Windows NT

[amibroker] Re: Last 3 Candle charting

2010-06-01 Thread Mike
I don't have the book. But it sounds like you're describing something like this: Open = Ref(Open, -1); High = HHV(High, 3); Low = LLV(Low, 3); Plot(Close, "Revised", colorDarkGrey, styleCandle); Mike --- In amibroker@yahoogroups.com, Vishvesh wrote: > > Hello Friends, > > I would like to writ