[amibroker] Custom arrays for exploration?

2009-08-07 Thread aghari
I'm trying to build an exploration that would store that bars calculated support/resistance value in a custom array. Is this possible? I would really appreciate any samples or pointers.

[amibroker] Re: Custom arrays for exploration?

2009-08-07 Thread sidhartha70
You don't explain exactly what you are after very well... but it's very doable. Sounds like a job for static arrays so you can access them from outside the exploration. --- In amibroker@yahoogroups.com, "aghari" wrote: > > I'm trying to build an exploration that would store that bars calculated

Re: [amibroker] Aux data fields

2009-08-07 Thread Tomasz Janeczko
Hello, 1. You need to conserve memory. That is paramount importance. Not because of RAM, but because of CPU CACHE. Anything that exceeds CPU on-chip cache size runs 10 times slower. 2. On 64 bit systems there are strict guidelines for alignment for best performance - the structure needs to be 8

[amibroker] Re: Custom arrays for exploration?

2009-08-07 Thread aghari
I want to store custom values in an array that can be used to display in an exploration. I guess the problem with my code is that the getSupport function doesn't create a support array (I'm not sure how to do this) Here is the snippet of the code to clarify what I'm trying to do: function getSu

[amibroker] Re: coding help request- higer values...

2009-08-07 Thread shahariar4
Hi MIke, thank you very much for your kind help probably i wil have to try some technique abandoning this idea...coz it does not seem working --- In amibroker@yahoogroups.com, "Mike" wrote: > > Shahariar, > > You will need to clarify what you mean by "when the value of this cond1 is

Re: [amibroker] Re: AmiBroker 5.27.0 ALPHA released

2009-08-07 Thread Tomasz Janeczko
Are you using 5.27.1 (*NOT* 5.27.0) ? I can't reproduce that with 5.27.1. What data source you are using ? Best regards, Tomasz Janeczko amibroker.com - Original Message - From: "haiguise" To: Sent: Thursday, August 06, 2009 7:38 PM Subject: [amibroker] Re: AmiBroker 5.27.0 ALPHA rele

[amibroker] Re: AmiBroker 5.27.0 ALPHA released

2009-08-07 Thread Carl Vanhaesendonck
I am importing around 2,900 ascii files daily; usually it takes around 30-40 seconds if my memory is right; here with version 5.27 alpha it is more than dubble this time, around 2 minutes. Just wanted to notify that. Carl

Re: [amibroker] Re: AmiBroker 5.27.0 ALPHA released

2009-08-07 Thread Tomasz Janeczko
Appologies. I managed to reproduce that. Actually it happened not when month has 31 days, but when last day of the month (any length) was a trading day. Best regards, Tomasz Janeczko amibroker.com - Original Message - From: "Tomasz Janeczko" To: Sent: Friday, August 07, 2009 2:18 PM Sub

Re: [amibroker] Re: AmiBroker 5.27.0 ALPHA released

2009-08-07 Thread Tomasz Janeczko
Hello, The time it takes to import should be exactly the same as long as they are imported in same order. The order is critical, because if you import newer first and older later it leads to re-sorting of the array, while when you import older first and newest later no resorting is needed. I gu

[amibroker] Help - PositionScore and WorstRankHeld us in CBT

2009-08-07 Thread bistrader
Does anyone know how do I get CBT to report the Top 10 PositionScore tickers for market days where PositionScore is scorenorotate? In rotational afl, it seems that CBT can only report (via _TRACE) the Top 10 PositionScore tickers when: (1) 10 is WorstRankHeld, and, (2) PositionScore is positive o

[amibroker] Re: AmiBroker 5.27.0 ALPHA released

2009-08-07 Thread Carl Vanhaesendonck
Hi TJ, I am using yahoo ascii data files and version 5.27.1 Carl

Re: [amibroker] Re: AmiBroker 5.27.0 ALPHA released

2009-08-07 Thread Tomasz Janeczko
Great but this does not help. As I wrote - if you want me to check I need actual files you are importing. The speed is identical as soon as you work on converted database. If you are loading the database for the VERY FIRST time since upgrade, it will need to convert to new format and this ONCE ti

[amibroker] Re: Aux data fields

2009-08-07 Thread murthysuresh
the 2 additional fields could have been 4 or 8 or any number that is not immediatly limiting. personally, i hate artificial ticker as it is not a good design. --- In amibroker@yahoogroups.com, "Tomasz Janeczko" wrote: > > Hello, > > 1. You need to conserve memory. That is paramount importance.

[amibroker] AmiBroker 5.27.2 ALPHA released

2009-08-07 Thread Tomasz Janeczko
Hello, AmiBroker 5.27.2 ALPHA released http://www.amibroker.com/devlog/2009/08/07/amibroker-5-27-2-alpha-released/ CHANGES FOR VERSION 5.27.2 (as compared to 5.27.1) 1. Fixed 16-character name problem in Metastock plugin 2. Fixed monthly compression problem present in 5.27.1 3. Fixed problem w

[amibroker] Re: Aux data fields

2009-08-07 Thread tipequity
Thx for your reply. Would please explain the difference between fundamental data fields and price arrays? Is it because price fields are arrays and fundamental data fields are scalar? If so, does it mean that we would never have historical fundamental fields in AB. TIA --- In amibroker@yahoogr

[amibroker] Pad Non-trading Days Feature

2009-08-07 Thread wavetrader2005
Hello TJ, I've just tried out the "Pad non-trading days" feature in 5.26.5. When conducting a cycle analysis on daily data, it's important to account for all non-trading days and this feature is a step in the right direction. However, as discussed in an earlier email, when adding the non-tradin

Re: [amibroker] Re: Aux data fields

2009-08-07 Thread Tomasz Janeczko
Hello, It is fundamentally flawed idea to have fundamentals along with quote arrays, simply because it would be tremendous waste of space, since funamental data change only once a month (most frequently) and not every tick or every second as prices are. So historical fundamentals need *separate*

Re: [amibroker] Re: Aux data fields

2009-08-07 Thread Tomasz Janeczko
I can ensure you that it is much better than what you suggesting. Anyway there are plenty of ways to have additional data (static arrays, persistent variables via osaka plugin, artificial tickers, external database via ODBC connectivity so everyone can choose whatever he/she prefers). There is zer

[amibroker] Trading System Help - Options expiration date

2009-08-07 Thread rhymerjimmy
I'm a newbie to amibroker and would appreciate some help. I'm trying to backtest a buy signal with a position closing date on an option expiration date (3rd Friday) during some month in the future. Not sure how to code this (e.g. signal generates a buy of stock XYZ with a sell date on the 3rd

[amibroker] amibroker - Doji code

2009-08-07 Thread Sandeep Chadha
Hi everyone, I am absolutely new to Amibroker and to this forum and would like to know the basic code for identifying a "going-long" Doji (or almost a Doji) and then selling at 0.5% (parameterized and optimized later) profit Assumes that the length of the Doji has to be atleast .25% of the

[amibroker] IB Backfill Problem

2009-08-07 Thread wang002157
Hi, I'm using amibroker 5.2 with IB data plugin ver.1.8.4.. I have set the database base time settings to 5 sec. It's very weird that the backfill for HKFE and SEHK symbols have no problem, but there is error reporting for most other symbols and the backfill failed. The erro message as follows

[amibroker] Error 29, variable 'xxx' without having been initialized !!!

2009-08-07 Thread Angio
how can I solve this problem in the AFL code? xxx=(1-alpha)*Ref(xxx,-1)+alpha*yyy; the variable xxx must be set to 1 for the first day !!!

[amibroker] Error 29, variable 'xxx' without having been initialized !!!

2009-08-07 Thread Angio
how can I solve this problem in the AFL code? xxx=(1-alpha)*Ref(xxx,-1)+alpha*yyy; the variable xxx must be set to 1 for the first day !!!

[amibroker] Re: amibroker - Doji code

2009-08-07 Thread Joe
I'd suggest you look at the AB library. I see a number of hits searching for Doji. http://www.amibroker.com/library/list.php --- In amibroker@yahoogroups.com, "Sandeep Chadha" wrote: > > Hi everyone, > > > > I am absolutely new to Amibroker and to this forum and would like to know > the ba

[amibroker] What Amibroker provides

2009-08-07 Thread hbrstock
Hi Friends, I have just join this group as i Heard about this software. I have just installed trial software. My request is How can I know which stock to buy or sell stock (NSE / BSE market) using this Best software. Pl. let me know. Thanks in advance.

[amibroker] A little help for error 29

2009-08-07 Thread Angio
entering this code in the formula ... avrg1=(1-alpha)*Ref(avrg1,-1)+alpha*yield1; leaves me the error 29 (variable used without having been initialized) I tried to create a loop in this way ... avrg1[0] = 1; //initialized first day to 1 for( i = 1; i < BarCount; i++ ) { avrg1[i] = (1-alpha)*avr

[amibroker] Symbology on TSE with IB

2009-08-07 Thread Yves
What is the right Ticker for Garda World(GW) and Bombardier(BBD.B) for AB with IB ? I'm have the PlugIn 1.8.4 of IB Thank Merci YLTech ( Yves L. )

[amibroker] Questions about data management and advanced backtesting

2009-08-07 Thread rmicalet
I am a new amibroker user, desperately trying to get up to speed on the more advanced aspects of the software. My ultimate goals are to be able to backtest stocks, futures, and currency strategies on 1-minute bar data going back 10-12 years, and to backtest daily strategies for the same instruments

RE: [amibroker] IB Backfill Problem

2009-08-07 Thread Jerry Gress
Hello, First your backfill with IB and 'sec' data will be very limited. What I do is change the database settings to 1 minute and then download data dependent on time back fill needed. Then change back to 'sec' or tick data in my case. On some indexes I follow I also get the message you get and ca

[amibroker] Pad & align

2009-08-07 Thread ta
Is there a way to set the pad and align option from within an afl code? I use trading day pad & align when I look at charts. However, when I run certain backtests I need to have pad & align to be set to "non-trading days" for some metrics. Thanks

[amibroker] Re: Trailing stop does not work -

2009-08-07 Thread edwol53
Hello I have posted a PDF file "PROFIT LOCKING AND THE RELATIVE PRICE CHANNEL2" for documentation purposes in the FILES section, which reworks the trailing stop to start calculations from the input date with screen shots (AB & MS) for anyone interested in Leon Wilson's article PROFIT LOCKING AN

[amibroker] Re: Trailing stop does not work -

2009-08-07 Thread edwol53
Hello I have posted a PDF file "PROFIT LOCKING AND THE RELATIVE PRICE CHANNEL2" for documentation purposes in the FILES section, which reworks the trailing stop to start calculations from the input date with screen shots (AB & MS) for anyone interested in Leon Wilson's article PROFIT LOCKING AN

[amibroker] Re: Debugging dlls

2009-08-07 Thread steved512
If you're coding in Visual Studio, set your breakpoints where you want in you source, have the debug build of the plug-in in the appropriate Amibroker directory and set the Executable to be the Amibroker program -- Broker.exe -- and start debugging. You should break on you breakpoint. --- In a

[amibroker] Re: New AmiBroker Development Kit released

2009-08-07 Thread steved512
cool