Re: [amibroker] Re: strategy on chart

2009-02-21 Thread reinsley
I don't know the author, here is a way to add a dated order/message to a log file (function) Best regards Make sure you create a "c:\stock" folder first function ws_writeOrder( as_order) { ls_date = WriteVal( Now( 3) , 7.0, False) ; ls_filename = "c:\\stock\\log" + ls_date + ".csv" ; fh =

[amibroker] Re: Apply condition in sell

2009-02-21 Thread Mike
Nope. Same problem as before. You should not be using "AND" with a "Cross" since if the two don't happen on exactly the same bar, your Sell will never get triggered. Also, if you will be doing calculations like BarsSince on the Buy array, you will probably want to get rid of redundant signals b

[amibroker] Re: Editing many Include files

2009-02-21 Thread Mike
Thanks, I'll have a look. Mike --- In amibroker@yahoogroups.com, "ozzyapeman" wrote: > > In the files section of this group: > > application/zip noteplus.zip > notepadd++ with afl autocomplete and afl keywords > > > --- In amibroker@yahoogroups.com, "ozzyapeman" wrote: > > > > Do

Re: [amibroker] Re: Editing many Include files

2009-02-21 Thread Dennis Brown
The NP++ in the zip has everything installed in it, but it is an old version of NP++. It will take a while to sort through all those files in the zip to figure out which ones to use to get AFL into the latest version. Later... BR, Dennis On Feb 21, 2009, at 2:17 AM, ozzyapeman wrote: >

[amibroker] Running Automatic Analysis to provide daily and weekly output simultaneously ?

2009-02-21 Thread gmorlosky
I have a great Explore, but would like to have daily and weekly outputs side by side so I can sort on both signals or combine signals. Is there an easy way to do that. (I usually just change the Settings > Periodocity to switch back and forth, and then have to deal with Excel outputs to compare

Re: [amibroker] Re: AmiBroker 5.22.0 BETA released

2009-02-21 Thread Thomas Ludwig
> Graham wrote: > > Well it does not work that way for me. Messed up what could have > > been a useful feature. > > Reseting blank bars its not working properly if you have more than > one pane in the chart window, > one press of Home removes blank space but also scrolls the chart to > the beginnin

Re: [amibroker] Re: AmiBroker 5.22.0 BETA released

2009-02-21 Thread Tomasz Janeczko
You are right. Will be fixed in next beta. Best regards, Tomasz Janeczko amibroker.com - Original Message - From: Aron To: amibroker@yahoogroups.com Sent: Saturday, February 21, 2009 12:15 AM Subject: Re: [amibroker] Re: AmiBroker 5.22.0 BETA released Graham wrote: Well i

[amibroker] Re: AmiBroker 5.22.0 BETA released

2009-02-21 Thread Tim
Hi TJ, I know many of the programmer types enjoy the many features you have added to AB over the years. However, is their any chance you are going to add features for those of us who want charting upgrades, additional charting studies etc? I am sure these features would be very well received also.

[amibroker] Re: Editing many Include files

2009-02-21 Thread Graham Johnson
In the past Ive used Advanced Find and Replace www.abacre.com for bulk name changes. It's a number of years since I used it professionally so, one would hope, that it is even more powerful and flexible. Graham --- In amibroker@yahoogroups.com, Dennis Brown wrote: > > Thank you all for the qui

[amibroker] Re: add Y axis only

2009-02-21 Thread reinsley
The code to add Y axis : Modify the first line of Market Profile SetChartOptions( 0);//3 , chartShowDates ); and add the following at the end. gridINCR = box; GridMAX = DH + gridINCR ; GridMIN = DL - gridINCR ; steps = ( GridMAX - GridMIN ) / gridINCR ; SetChartOptions( 1, 0, 0, GridMIN, Grid

Re: [amibroker] Running Automatic Analysis to provide daily and weekly output simultaneously ?

2009-02-21 Thread Anthony Faragasso
did you try timeframeset() functions ? Anthony - Original Message - From: gmorlosky To: amibroker@yahoogroups.com Sent: Saturday, February 21, 2009 9:19 AM Subject: [amibroker] Running Automatic Analysis to provide daily and weekly output simultaneously ? I have a great

[amibroker] Re: Editing many Include files

2009-02-21 Thread bruce1r
Dennis, Mike, all - It looked like there is a new updated ZIP in the Files section. I took a quick look and it is very similar to what I did. I don't want to duplicate that effort, but I decided to upload what I did for three reasons - 1. I had set up to add to a standard Notepad++ install. It

[amibroker] ODBC database interface works great!

2009-02-21 Thread dloyer123
I just had a good experience using the odbc database driver with amibroker. I built a tick database, about 75GB worth. From that, I can calculate volume at price, vwap and other data. I use postgress, a free open source database. I thought that I would have to write my own trade match and ba

[amibroker] Re: ODBC database interface works great!

2009-02-21 Thread sidhartha70
Doug, Can you provide any more details, links etc... This may be something I consider in the future. TIA --- In amibroker@yahoogroups.com, "dloyer123" wrote: > > I just had a good experience using the odbc database driver with > amibroker. > > I built a tick database, about 75GB worth. From

Re: [amibroker] Re: Editing many Include files

2009-02-21 Thread Dennis Brown
Bruce, Thanks for posting the files and the instructions. That was a big help and much appreciated. It was easy to follow your directions, and I am up and running with NP+ + and AFL now. I will just add the extra keywords as I run into them for now. Funny about the /* and * / operators. T

[amibroker] Re: Editing many Include files

2009-02-21 Thread Mike
Thanks Bruce. Mike --- In amibroker@yahoogroups.com, "bruce1r" wrote: > > Dennis, Mike, all - > > It looked like there is a new updated ZIP in the Files section. I > took a quick look and it is very similar to what I did. I don't want > to duplicate that effort, but I decided to upload what

[amibroker] Re: ODBC database interface works great!

2009-02-21 Thread brian_z111
Thanks for the feedback ... the ODBC feature seems to have been 'out of sight out of mind' ever since it was released. > I use postgress, a free open > source database. Why Postgress over MySQL ... any reason? (in the past Tomasz recommended MySQL). --- In amibroker@yahoogroups.com, "dloyer1

Re: [amibroker] Running Automatic Analysis to provide daily and weekly output simultaneously ?

2009-02-21 Thread wavemechanic
I do this by shifting timeframes within the explore code and then output to appropriate columns. Bill - Original Message - From: gmorlosky To: amibroker@yahoogroups.com Sent: February 21, 2009 9:19 AM Subject: [amibroker] Running Automatic Analysis to provide daily and weekly

[amibroker] The "Stochastic Trend Filter"

2009-02-21 Thread Gerard Carey
The Stochastic Trend Filter A trader mate of mine asked me to create a stochastic filter for him. He wanted one that would use stochastics to determine the character of the predominant trend. He wanted to do some backtesting, taking only (short-term) long trades when a stochastic filter showed th

[amibroker] Re: ODBC database interface works great!

2009-02-21 Thread dloyer123
Google and ye shall find... http://www.amibroker.com/odbc.html It provides access to anything that you can put into a database, which is a pretty much anything. Any SQL database should work. Personally, I prefer this one... http://www.postgresql.org/ You will also need the odbc driver: http

[amibroker] Re: ODBC database interface works great!

2009-02-21 Thread dloyer123
I trust the quality of the Postgresql code and developer community more than I trust MySQL. Ever since Sun bought the company behind MySQL, many of the core developers left the MySQL project, including the founder over concerns that the code was released before it was ready and rushed out th

[amibroker] question on formula for plot trade price

2009-02-21 Thread Noah Bender
hello, I am new to amibroker and am trying to figure this one out. I have a simple formula BuyCond1= EMA( Close , 15 ) > EMA( Close , 100 ); Buy = Buycond1 ; Sell = EMA (Close,15)

Re: [amibroker] question on formula for plot trade price

2009-02-21 Thread wavemechanic
Use exrem() to get rid of unwanted signals. You can also use plotshapes() to plot buy/sell arrows. Bill - Original Message - From: Noah Bender To: amibroker@yahoogroups.com Sent: February 22, 2009 12:10 AM Subject: [amibroker] question on formula for plot trade price hel

[amibroker] Re: The "Stochastic Trend Filter"

2009-02-21 Thread Mike
Hi, Commenting only on the code structure; You can improve things by not repeating the same calcuations unnecessarily. Mike // Stochastic Trend Filter Periods = Param( "Periods", 15, 1, 200, 1 ); Ksmooth = Param( "%K avg", 50, 1, 200, 1 ); EMAKsmooth = EMA( C, Ksmooth ); PriorEMAKsmooth = Ref(

[amibroker] Re: question on formula for plot trade price

2009-02-21 Thread Mike
ExRem is great for charting and for use on intermediary variables. But, it can interfere with the backtester and Tomasz recommends not using it for Buy/Sell/Short/Cover arrays for that reason. http://finance.groups.yahoo.com/group/amibroker/message/125451 As an alternative, you can use the Cros

[amibroker] Re: question on formula for plot trade price

2009-02-21 Thread Mike
Just for clarity; I was attempting to add additional information, not criticize Bruce's reply. Since the context of the original question was in fact for Plotting, I have no argument with Bruce's suggestion. I just wanted to point out that should you eventually turn this into a backtest, you mi

[amibroker] Re: question on formula for plot trade price

2009-02-21 Thread Mike
Groan, that should read Bill's reply, not Bruce. Sorry Bill. I'll stop now :( --- In amibroker@yahoogroups.com, "Mike" wrote: > > Just for clarity; I was attempting to add additional information, not > criticize Bruce's reply. Since the context of the original question > was in fact for Plott

[amibroker] Re: Yahoo Fundamental Extra - Problems downloading

2009-02-21 Thread claudecaruana
Thanks, Brian. I can see from the more recent messages that this seems to be a general issue now and Tomasz is looking into it. regards, Claude --- In amibroker@yahoogroups.com, "brian_z111" wrote: > > Hello Claude, > > I tested it for you. > > I can't get MSFT Extra Fundamentals either. > >