Re: [amibroker] Fullname in symbol tree-find as you type + Fullname in TAB+ F3 on Fullname

2009-12-14 Thread furinkazaan
Thanks ram vel. All these options have been enabled in the Preferences dialog. I can see the full name along with ticker in symbol tree. But the find-as-you-type feature still only works on an unweildy 10 digit numeric rather than on the full name. Do any of the expert ABers have any other ideas

Re: [amibroker] Fullname in symbol tree-find as you type + Fullname in TAB+ F3 on Fullname

2009-12-14 Thread Robert Chevallier
Alternatively you can put the Stock name in the Ticker field, and the code in the alias Field (I suppose there is no chance the stock name can match the 8 digits). If you are using AmiQuote, you may have register the mapping ALIAS/TICKER in AmiQuote 2009/12/14 furinkazaan furinkaz...@gmail.com

Re: [amibroker] Fullname in symbol tree-find as you type + Fullname in TAB+ F3 on Fullname

2009-12-14 Thread furinkazaan
Thanks Mr. Chevallier. I thought of this (didn't know about the alias option though) but 1. I wonder how this can be done on a pan database level? Cant see myself doing this stock by stock...B-0 2. I wonder how this database will be updated? The original is a EOD Metastock Database converted into

Re: [amibroker] Re: Metastock external EOD update Amibroker MS plugin

2009-12-14 Thread furinkazaan
Hi everybody, Old issue - new angle. Is it possible to first create a AB database from a MS database using the Metastock Importer, and having created it to satisfaction, change the database settings to use the MS plugin to update it seamlesly? The reason I ask is The MS database is configured

[amibroker] Re: Mixed EOD/Intraday data limitations?

2009-12-14 Thread ganamide
Tomasz, I followed the video instructions exactly as you suggested and it seemed fine at first, but I now see the same exact problem as before - my daily data has become truncated to match exactly the amount of 1 minute data. I haven't pinned down the exact steps to reproduce, but it may have

[amibroker] Bollinger and ADX scan

2009-12-14 Thread Deepak Patade
Hello, Please help me writing a scan there are two simple conditions cond1=BBtop(minus)BBbot=less than 5 cond2=+DI(minus) -DI=greater than 5 Scan should return stocks that meet both the criteria Attaching bollinger BBtop , BBbot, +DI and -DI for easy reference

[amibroker] Z score - Runs Test

2009-12-14 Thread dubi1974
Hi! Does someone know how to calculate the z score through the custom backtester? I could not find any hint in the past posts. I have just the problem that I do not know how to caculate R as the total number of runs. The Z-Score (sometimes called the standard score) is a statistical

RE: [amibroker] Bollinger and ADX scan

2009-12-14 Thread Rajiv Arya
BBdiff=bbandTop-bbandBot; midiff=pdi(range)-mdi(range); filter=(bbdiff=5) and (midiff=5); R To: technical-inves...@yahoogroups.com CC: amibroker@yahoogroups.com; amibroker...@yahoogroups.com From: deepakpat...@yahoo.com Date: Mon, 14 Dec 2009 07:42:47 -0800 Subject: [amibroker]

[amibroker] Re: Z score - Runs Test

2009-12-14 Thread dubi1974
I think I made it (is this right?): SetOption(UseCustomBacktestProc, True ); SetCustomBacktestProc(,True); if( Status(action) == actionPortfolio ) // point to correct iteration of backtest engine { //initialize custom backtest engine //bo is backtestobject bo =

[amibroker] Problems with tracing variable value through exploration... [1 Attachment]

2009-12-14 Thread Gray Bohon
I am doing some testing with explorations.  I'm trying to get what seems like a very simple exploration to work, and its not doing what I would have expected. Here is my code: // Test the MA crossover exploration... // long trades entry and exit rules:MovAvg = EMA( Close, 15);BuySell  

Re: [amibroker] Re: Metastock external EOD update Amibroker MS plugin

2009-12-14 Thread Robert Chevallier
If you can put up a spreadsheet/csv with stock, market, sector, group data, you can easily import this information with file import (and a specific file format), and voila! all your stocks will be properly organized. NB: I suppose you should be able to write in AFL a simple script to export this

Re: [amibroker] Fullname in symbol tree-find as you type + Fullname in TAB+ F3 on Fullname

2009-12-14 Thread Robert Chevallier
1. Easy way: export data as ascii and reimport with proper import format. NB: the import wizard doesn'at allow you to choose the alias field. You have to edit the format file generated. 2. Don't know with MS plugin, as I'm not using it. It works ok with file import. 2009/12/14 furinkazaan

Re: [amibroker] Re: Mixed EOD/Intraday data limitations?

2009-12-14 Thread Tomasz Janeczko
Hello, Support will be glad to help you with configuring your database properly. The video shows 9 bars which is good value for stocks that trade only 8 hours per day. If you using futures you would need to increase number of bars to get more days daily data in mixed mode. With regards to

[amibroker] Are all variables Array data types?

2009-12-14 Thread peter843
It seems that all variables are arrays. Is it possible to create variables that are numeric and therefore can be used in the condition of an IF statement?

Re: [amibroker] Are all variables Array data types?

2009-12-14 Thread Tomasz Janeczko
Hello, No, the type of the variable depends on type of value you assign. For example: varx = 5; // this will be simple numeric variable if( varx == 5 ) { printf(test numeric variable); } To convert from array to simple number use LastValue or SelectedValue or [] subscript operator as

Re: [amibroker] Are all variables Array data types?

2009-12-14 Thread Herman
A variable can be a number or an array. It all depends on the first assignment. If you assign a number: VarA = 1; VarA is a number. If you assign an array it will be an array: VarA = Close; There are more variable types, you can test the type of a variable using TypeOf(). See this example

[amibroker] Re: Are all variables Array data types?

2009-12-14 Thread peter843
I see that 'typeof' is only available in the beta version. What puzzles me is that x = IIf( Close Open, 1, 0 ); seems to create an array variable even though it is being assigned a 1 or 0. --- In amibroker@yahoogroups.com, Herman psy...@... wrote: There are more variable types, you can test

[amibroker] Re: Are all variables Array data types?

2009-12-14 Thread peter843
I thought it over and I see now why it is good for 'iif' to return an array. The 'selectedvalue' will take care of my needs. --- In amibroker@yahoogroups.com, peter843 yahoogro...@... wrote: What puzzles me is that x = IIf( Close Open, 1, 0 ); seems to create an array variable even though

Re: [amibroker] Re: Are all variables Array data types?

2009-12-14 Thread Tomasz Janeczko
Yes, but CLOSE and OPEN are arrays! so result would also be an array. See http://www.amibroker.com/guide/h_understandafl.html (a must read) and http://www.amibroker.com/guide/a_mistakes.html Best regards, Tomasz Janeczko amibroker.com On 2009-12-15 02:05, peter843 wrote: I see that 'typeof'

[amibroker] Seasonality Plot

2009-12-14 Thread Rick_Miller_98
I am looking for some code to overlay multiple years on the same Jan-Dec axis and to create a composite plot of all of those years to identify seasonality trends. Please E-Mail me if you have it. I am willing to contribute to the cause. Thanks!

[amibroker] Re: Are all variables Array data types?

2009-12-14 Thread reefbreak_sd
Not to beat this to death, but I have used arg[0] = 3.14159 arg[1] = sqrt(2) arg[2] = 2.7182 arg[3] = 1.61803 to refer to numbers - not arrays. Then they will work in 'if' statements like: if(arg[2] arg[1]) arg[4]=1; else arg[4]=0; ReefBreak --- In amibroker@yahoogroups.com, peter843

Re: [amibroker] Seasonality Plot

2009-12-14 Thread Rick Osborn
I would be interested in that too Best Regards Rick Osborn From: Rick_Miller_98 rick3...@embarqmail.com To: amibroker@yahoogroups.com Sent: Mon, December 14, 2009 9:53:23 PM Subject: [amibroker] Seasonality Plot I am looking for some code to overlay

Re: [amibroker] Bollinger and ADX scan

2009-12-14 Thread Deepak Patade
Thanks Rajiv There is one change in this though +DMI and -DMI my nderstanding is based on squeeze when the BB sqeeze is tight there is likely to be a breakout Now break out in what direction up or down for this i checked the adx +DMI and -DMI so , the break is likely to be in the direction

[amibroker] Backtest Results Wrong?

2009-12-14 Thread rhw8
A newbie question: When I run a backtest, I then go to the setting menu and ask for the detailed log, and run it. I then ask for the summary report. Althought the detailed log shows many transactions for the period of the backtest, the summary report for the same thing shows only a few

Re: [AmiBroker-at] Re: [amibroker] Bollinger and ADX scan

2009-12-14 Thread reinsley
Deepak, It's not a good practice to crosspost. Archives are broken if the answers jump from one list to another list. This list is for auto-trading only. Best regards Le 15/12/2009 06:15, Deepak Patade a écrit : Thanks Rajiv There is one change in this though +DMI and -DMI my