[amibroker] Moving average gradient

2008-07-12 Thread tridean34
Hi All, Could someone let me know where I'm going wrong. This system is supposed to go long when certain criteria are met but it's making trades while the criteria is not present. The 200 day moving average is supposed to be greater than the 200 day moving average from 50 days ago by a factor o

Re: [amibroker] Moving average gradient

2008-07-12 Thread Graham
Your second Buy statement overwrites the first. You should just combine them Buy = Gradient > GradientB AND BarsSince(MA(C,3) - Ref(MA(C,3),-1) < 0) <= 3 AND H > Ref(HHV(H,1),-1) AND Open > Ref( Low , -1 ); also as a side note H > Ref(HHV(H,1),-1) is same as H > Ref(H,-1) -- Cheers Graham Kav

Re: [amibroker] Re: Help to find Previous X Bar

2008-07-12 Thread Graham
This needs to look into the future values for HSP Test_PreviousBar = H > valuewhen(HSP, HSPHigh, 0) AND L< valuewhen(HSP, HSPHigh, 0); It gets more complex if you want to look back to the value, Test_PreviousBar = valuewhen(HSP, valuewhen( H > valuewhen(HSP, HSPHigh, 0) AND L< valuewhen(HSP, HSPH

[amibroker] Re: Layers and ma's

2008-07-12 Thread Christopher
Hi Louis, Maybe an example, if I add a trend line and then go to the properties box of the trend line, at the bottom of the properties box (in the colour and style) is an option of "layer" where I can select where I choose the trend line to be seen such as only on weekly charts OR on a layer of my

[amibroker] operational issue.

2008-07-12 Thread John J
Hello, I experience a problem in running AA for 150 symbols. I have esignal subscription for realtime intraday data. During market hours realtime, when AA is run, esignal data manager crashes halfway. Even, If I manually flip through the stocks, after some number say, 20 or 25 stocks, the dat

[amibroker] Re: panes and parameters are changed automaticly

2008-07-12 Thread pmaljers
--- In amibroker@yahoogroups.com, "Tomasz Janeczko" <[EMAIL PROTECTED]> wrote: Thanks Tomasz. I redesigned the charts following your instructions and as far i can see now the problem is solved. Bye Peter > > Hello, > > It is not a bug. Parameters are PER CHART ID. > (Parameters->Axis & Grids, s

[amibroker] Re[4]: [AmiBroker-Vista64] data storage

2008-07-12 Thread psytek
Thanks everyone! Been at this for a couple of weeks now... my first problem was setting up multiple displays. I spend more than a week before i found out that one of my ACER AL2216Ws sent a corrupted model number to Vista. Vista would see this unidentified hardware on each reboot and would go ba

[amibroker] AB sometimes doesn`t save IB data

2008-07-12 Thread gsmservplus
hello, i use IB pluginn to get real-time data from IB. after i finish my trading day or before i want to exit amibroker always pressing save, save all and then exit.and SOMETIMES(i would say 50-50) when i start my AB again data for current day or for that time period which updated last time se

Re: [amibroker] [OT] XP Professional vs Vista 64

2008-07-12 Thread Tomasz Janeczko
Yes, all 64 bit Windows variants require 64 bit drivers. If hardware vendor does not supply 64-bit driver you can't use particular hardware with 64-bit OS. Best regards, Tomasz Janeczko amibroker.com - Original Message - From: "psytek" <[EMAIL PROTECTED]> To: Sent: Friday, July 11, 2008

[amibroker] The Perfect (?!) AmiBroker Setup [ was Vista 64...]

2008-07-12 Thread psytek
In my painful search for the optimum AmiBroker setup I decided that I want: 1) a non-destructive procedure for upgrading of OS, AmiBroker, and other software. This means that the previous environments remain fully functional until the new software is proven and fully functional. 2) Only two comp

Re: [amibroker] Re: Jim's US-stocks database unavailable?

2008-07-12 Thread Louis Préfontaine
Hi Ed, In fact, I do want .OB tickers; I just do not want to have the .OB at the end because my data provider does not recognize that. I will try Tomasz code; I hope it works. But thanks for the suggestion; it will help me for other things... Louis p.s. It would be nice if someone could post t

Re: [amibroker] Re: Newbie Custom Indicator Question

2008-07-12 Thread Chris Grafham
thanks, this did the trick. I was keen to get going without reading the details of the manual!! On 11 Jul 2008, at 12:43, progster01 wrote: --- In amibroker@yahoogroups.com, "cgrafham" <[EMAIL PROTECTED]> wrote: > I am having difficult using this indicator as part of system > written in a di

[amibroker] Buy & Sell Mode

2008-07-12 Thread Tipss_Bse_Nse
Dear all i want the explore AFL for the following condition MACD>signal and macd

Re: [amibroker] Jim's US-stocks database unavailable?

2008-07-12 Thread Louis Préfontaine
Hi Tomasz, Just one word: wow! Can't believe I spent so many hours trying to figure how to do this and then I used this code and it took 2 minutes and all my .OB files were removed of the .OB part... Thanks! Louis 2008/7/11 Tomasz Janeczko <[EMAIL PROTECTED]>: >Hello, > > Use script as pr

Re: [amibroker] Re: Layers and ma's

2008-07-12 Thread Louis Préfontaine
Hi Christopher, Wouldn't this be easier if you simply used the "hide" feature, when you right-click on the chart and select "parameters"? You could put your 7 MAs there and hide the one you don't want to see and each time you can go back and click the one you want and the one you don't want. You

RE: [amibroker] The Perfect (?!) AmiBroker Setup [ was Vista 64...]

2008-07-12 Thread dingo
A cupla things to consider: 1. I have multiple computers as well. a. My main computer is a workstation with 3 monitors 1 very fast hard disk drive (raptor) and its where I do most of my work. All of the monitors have both dvi and vga connectors. I use the dvi to connect to this workstatio

Re: [amibroker] operational issue.

2008-07-12 Thread Louis Préfontaine
Hi, I don't know how to deal with this issue, but the first thing to do is to get the latest version. I too had problems with 5.14 and it works better with 5.15. Hope it helps. Louis 2008/7/12 John J <[EMAIL PROTECTED]>: > Hello, > > I experience a problem in running AA for 150 symbols. I h

Re: [amibroker] The Perfect (?!) AmiBroker Setup [ was Vista 64...]

2008-07-12 Thread Dennis Brown
Herman, What you describe is not that different than my setup -- Except mine is all Apple Hardware running VM for Windows XP. The interesting thing about this approach is that the device drivers are emulated by the VM. This means that even though I have different Apple machines with diff

RE: [amibroker] The Perfect (?!) AmiBroker Setup [ was Vista 64...]

2008-07-12 Thread dingo
Excellent point about virtualization!! I've been reading up on it and am considering using it - very flexible in multi-os situations. Herman - take a serious look at this. d > -Original Message- > From: amibroker@yahoogroups.com > [mailto:[EMAIL PROTECTED] On Behalf Of Dennis Brown >

Re[2]: [amibroker] The Perfect (?!) AmiBroker Setup [ was Vista 64...]

2008-07-12 Thread psytek
Thank you Dennis and d for sharing your setup - it is very interesting and helpful to learn what others are doing. I am concerned about anything that depends on a control (virtualization) program to keep things up and running. That is why I am considering using separate hard disks, each one boo

[amibroker] Re: how to change volume in 1min. intraday data?

2008-07-12 Thread gsmservplus
Why don't you open the files in excel, sum the last 2 columns into a new total volume column, delete the up and down volume columns then import it? Is this historical data by each individual contract or is it 1 file that has been roll adjusted? james, i`ve tryed with excel, but it`s to large

Re: Re[2]: [amibroker] The Perfect (?!) AmiBroker Setup [ was Vista 64...]

2008-07-12 Thread Dennis Brown
Herman, I believe my system is actually more reliable using virtualization software (not that I have a choice). I backup the entire virtual machine to a RAID backup every night. A couple of times, I have messed up and recovery was as simple as "connecting" my backed up virtual hard driv

RE: Re[2]: [amibroker] The Perfect (?!) AmiBroker Setup [ was Vista 64...]

2008-07-12 Thread dingo
The setup for Synergy is a little "cryptic" but I can help you with that. Its worth the effort. d > -Original Message- > From: amibroker@yahoogroups.com > [mailto:[EMAIL PROTECTED] On Behalf Of psytek > Sent: Saturday, July 12, 2008 10:58 AM > To: amibroker@yahoogroups.com > Subject: Re

RE: Re[2]: [amibroker] The Perfect (?!) AmiBroker Setup [ was Vista 64...]

2008-07-12 Thread Fred Tonetti
The real issue with VM is one of CPU overhead which is likely to be on the order of 20% . Depending on what one does with what is running in VM this may or may not be an issue i.e. if the CPU was typically 50% utilized and is now 70% utilized this is not going to have a material effect. Howeve

RE: [amibroker] The Perfect (?!) AmiBroker Setup [ was Vista 64...]

2008-07-12 Thread J. Biran
For redundancy I use an external eSATA drive that is always switched off, except briefly when used. I manually copy onto it Norton Ghost images (that are created on my normal RAID1 drives) as a second layer of protection. This is not excessive paranoia, I have a friend whose computer power supply

RE: [amibroker] The Perfect (?!) AmiBroker Setup [ was Vista 64...]

2008-07-12 Thread dingo
Mea no say culpa - mea say couple of.. > -Original Message- > From: amibroker@yahoogroups.com > [mailto:[EMAIL PROTECTED] On Behalf Of J. Biran > Sent: Saturday, July 12, 2008 1:59 PM > To: amibroker@yahoogroups.com > Subject: RE: [amibroker] The Perfect (?!) AmiBroker Setup [ > was Vi

Re: [amibroker] The Perfect (?!) AmiBroker Setup [ was Vista 64...]

2008-07-12 Thread pallmot
Dennis Brown schrieb: > I believe my system is actually more reliable using virtualization > software (not that I have a choice). I backup the entire virtual > machine to a RAID backup every night. A couple of times, I have > messed up and recovery was as simple as "connecting" my backed

[amibroker] Export to Excel Walk Forward Results

2008-07-12 Thread David Fitch
I have two copies of AB open and run walk forward test on same DB. At end of both tests, I export the test results to excel by right clicking on the test page and export to excel. But when I try to export the second copy of the test, I get the first copy exported again. Suspect this is a Windows

RE: [amibroker] Export to Excel Walk Forward Results

2008-07-12 Thread dingo
I don't think you can run 2 vs the same database. Think about the ~~equity ticker that gets created, etc. d _ From: amibroker@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of David Fitch Sent: Saturday, July 12, 2008 2:49 PM To: amibroker@yahoogroups.com Subject: [amibroker] Expo

Re: [amibroker] Export to Excel Walk Forward Results

2008-07-12 Thread David Fitch
Good point d...But I do get two ~~~OSEQUITY tickers, different prices..hmmm. Need to noodle on this a bit dave - Original Message - From: dingo To: amibroker@yahoogroups.com Sent: Saturday, July 12, 2008 11:51 AM Subject: RE: [amibroker] Export to Excel Walk Forward Results

Re: [amibroker] Export to Excel Walk Forward Results

2008-07-12 Thread Tomasz Janeczko
Hello, You should not run optimizations on the same DB at the same time, because all ~~~equity may possibly interfere. Use two *separate* databases. Best regards, Tomasz Janeczko amibroker.com - Original Message - From: David Fitch To: amibroker@yahoogroups.com Sent: Saturday,

[amibroker] Ranking 500 tickers

2008-07-12 Thread Louis Préfontaine
Hi, I asked a similar question but I was not precise enough and/or I didn't receive any reply that would explain how to do it. I want to rank my list of tickers to find the 500 tickers which their close was closest to HHV of 52 weeks. How can I do this? Thanks, Louis

Re: [amibroker] Re: Layers and ma's

2008-07-12 Thread Graham
you could try if(interval()==inweekly) Plot(... -- Cheers Graham Kav AFL Writing Service http://www.aflwriting.com 2008/7/12 Louis Préfontaine <[EMAIL PROTECTED]>: > Hi Christopher, > > Wouldn't this be easier if you simply used the "hide" feature, when you > right-click on the chart

Re: [amibroker] The Perfect (?!) AmiBroker Setup [ was Vista 64...]

2008-07-12 Thread Herman
Loss of data can have long lasting consequences. Often one doesn't miss data (any type) until months later - this happend a number of times to me... I am now careful not to delete old backup files to quickly. Off site (internet) is also an alternative; is cheap but slow. If you belong to a tradi

[amibroker] Re: AB sometimes doesn`t save IB data

2008-07-12 Thread hoolee0820
Yes I have fond the same problem. The tickers in RQ will get backfilled but data will not be saved. In order to save the data, a ticker need to be displayed in a chart. So the workaround is easy to come by: creat a layout that consisting of all tickers. You are going to have bunch of tiny boxes

Re: Re[2]: [amibroker] The Perfect (?!) AmiBroker Setup [ was Vista 64...]

2008-07-12 Thread Herman
Yes dennis, i didn't mean to imply lack of reliability - I really wouldn'y know. However, I prefer "Instant" recovery and have decided to use several levels of partitions/drives that contain fully functional backups of the entire system. This provides for virtually Single-Click, instant, restor

Re: Re[2]: [amibroker] The Perfect (?!) AmiBroker Setup [ was Vista 64...]

2008-07-12 Thread Herman
Thanks, will try it when everything is running. h - Original Message - From: "dingo" <[EMAIL PROTECTED]> To: Sent: Saturday, July 12, 2008 1:02 PM Subject: RE: Re[2]: [amibroker] The Perfect (?!) AmiBroker Setup [ was Vista 64...] > The setup for Synergy is a little "cryptic" but I ca

RE: [amibroker] The Perfect (?!) AmiBroker Setup [ was Vista 64...]

2008-07-12 Thread J. Biran
For a while I used Paragon Drive backup. But, since my laptop does not recognize external USB or eSATA drives I had to store the image on a networked drive (on my main computer). Except, I had to jump thru the hoops to try make it recognize my networked drive for restore purposes. I finally gave

[amibroker] Re: How to do this................NO RESPONSE SO FAR..lemme try again

2008-07-12 Thread meenhal
Thanks but Mr Graham's reply addressed the question to the point. Your solution will require counting the days first , furthermore this ref method deals with bars not days I suppose --- In amibroker@yahoogroups.com, "Ara Kaloustian" <[EMAIL PROTECTED]> wrote: > > Filter = Your criteria; > AddCo

Re: [amibroker] Re: Paul Ho: Memory Challenges with Great Ranking Tool

2008-07-12 Thread Graham
Louis there would be no reasonable way to use intraday ranking values for live trading on 500 symbols. The time to run the ranking would mean the market moved on. I personally cannot see any reason to use 500 symbols intraday unless your system only gives 1 or 2 signals per day over all the stocks,