[amibroker] Re: Custom bactester metrics & Van Tharps per trade r multiple

2007-10-02 Thread vlanschot
Not to interfere with you correspondence with GP, but I see in your code that before the CBT-part you've defined AddToComposite(TradeRisk, "~trisk" + Name(),"C",atcFlagDefaults |atcFlagEnableInBacktest ); . . . but then you call it as: TRisk = Foreign("~trisk_" + trade.Symbol,"C");// NOTE:

Re: [amibroker] Amibroker High CPU Utilization-anyone else seeing this?.

2007-10-02 Thread Tomasz Janeczko
That's simple: one of your formulas is very badly coded - and it eats the CPU. Under normal circumstances the CPU floats in 8..20% use. You need to use Tools->Preferences->Miscellaneous and check "Display chart timing" then watch the timings each chart is showing. All built-in formulas execute

[amibroker] comparison

2007-10-02 Thread metastockv10
Hi, is there anyone who has found a solid comparison between AMIBROKER and Metastock somewhere in internet or some computer magizine? There is a lot of topics on forums and newsletteres, but their not what i mean, i am looking for complex thing...thanks for your help pat

RE: [SPAM] [amibroker] Amiquote Problem - Quote MFC Stop Working

2007-10-02 Thread Vinay Garg
Dear friend Forget Vista and switch back to XP. I too got a new Laptop with Vista. None of my realtime software worked. Some bug or the other. So I bought a XP home edition, partitioned my hard disk, loaded XP in C Drive and Vista in D Drive. It became a dual boot with XP as default on boot up

Re: [amibroker] Re: Amibroker High CPU Utilization-anyone else seeing this?.

2007-10-02 Thread Tomasz Janeczko
Hello, You can easily write the formula that will execute for hours. Loop zillions of times using FFT and you will kill everything. Even if you had 1000GHz. If you are using real-time it is YOUR task to make sure that YOUR formulas execute fast enough. AFL is the fastest engine out there, but yo

[amibroker] Data Plugin / Preserve Database

2007-10-02 Thread Sachin
How to make AB preserve a database for a streaming real time source which does not support backfill/hist. data from the remote server and depends on the current price to build the database and is updated using ::SendMessage(ParentWn,WM_USER_STREAMING_UPDATE... -> GetQuotes Mechanism and not the Tim

Re: [SPAM] [amibroker] Amiquote Problem - Quote MFC Stop Working

2007-10-02 Thread Tomasz Janeczko
Hello, AmiBroker and AmiQuote works perfectly on Vista - I tested it extensively - just install version 5.00 from http://www.amibroker.com/download.html This is requirement - you need to install version 5.0 Best regards, Tomasz Janeczko amibroker.com - Original Message - From: Vi

Re: [amibroker] Data Plugin / Preserve Database

2007-10-02 Thread Tomasz Janeczko
Hello, It is automatically saved. You need to go to File->Database Settings and define number of bars to be preserved there. And make sure that "Local data storage" is set to "Enabled. Best regards, Tomasz Janeczko amibroker.com - Original Message - From: "Sachin" <[EMAIL PROTECTED]> To:

[amibroker] Re: Data Plugin / Preserve Database

2007-10-02 Thread Sachin
What about nLastValid on startup of the plugin , which is always -1. How does it know which is the last bar updated and which bar to update next. Even on exiting the Preferences menu nLastValid is set to -1 when GetQuotes is called. Help TJ. --- In amibroker@yahoogroups.com, "Tomasz Janeczko"

Re: [amibroker] Re: Data Plugin / Preserve Database

2007-10-02 Thread Tomasz Janeczko
Hello, It is not always -1. Once you feed the data it won't be -1 anymore and if local data storage is set to enabled (IMPORTANT!) it will stay > 0 between runs. Use QuoteTracker plugin source code included in the ADK. LastBar update date is the datetime of Quotes[ nLastValid ] (provided that nL

RE: [SPAM] Re: [SPAM] [amibroker] Amiquote Problem - Quote MFC StopWorking

2007-10-02 Thread Vinay Garg
Dear Tomasz OK thank you. Will keep this in mind Regards Vinay _ From: amibroker@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tomasz Janeczko Sent: Tuesday, October 02, 2007 2:14 PM To: amibroker@yahoogroups.com Subject: [SPAM] Re: [SPAM] [amibroker] Amiquote Problem

Re: [amibroker] Amibroker High CPU Utilization-anyone else seeing this?.

2007-10-02 Thread Padhu
Thanks Tomasz. I have no no loops. No complex indicators. Just a lot of timeframe expands. I will try the AFL timing and see. If I am unable to find out I will send it to support. I have no doubt that AFL is the fastest out there. I have been using amibroker since 2004 and I love each and each

Re: [amibroker] Amibroker High CPU Utilization-anyone else seeing this?.

2007-10-02 Thread Tomasz Janeczko
Hello, Send the code to support. Lot of timeframeexpands does not tell too much. Lots means hundreds or tens? There should be no reason to put more than few timeframeexpand in the code. If you need something from daily timeframe - calculate everything you need in daily timeframe and then expand

RE: [amibroker] Amibroker High CPU Utilization-anyone else seeing this?.

2007-10-02 Thread J. Biran
One easy way to see if the CPU hog is AB or not, minimize AB. If CPU usage drops significantly, it is AB. Joseph Biran From: amibroker@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Padhu Sent: Tuesday, October 02, 2007 7:08 AM To: amibroke

Re: [amibroker] Amibroker High CPU Utilization-anyone else seeing this?.

2007-10-02 Thread Lal
Another possibility - assuming it is Windows XP, bring up Task Manager and sort the Processes by the "CPU" column. Lal - Original Message From: J. Biran <[EMAIL PROTECTED]> To: amibroker@yahoogroups.com Sent: Tuesday, 2 October, 2007 5:04:09 PM Subject: RE: [amibroker] Amibroker High CP

RE: [amibroker] Amibroker High CPU Utilization-anyone else seeing this?.

2007-10-02 Thread dingo
Please explain. d _ From: amibroker@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of J. Biran Sent: Tuesday, October 02, 2007 12:04 PM To: amibroker@yahoogroups.com Subject: RE: [amibroker] Amibroker High CPU Utilization-anyone else seeing this?. One easy way to see if the CPU

Re: [amibroker] Amibroker High CPU Utilization-anyone else seeing this?.

2007-10-02 Thread Tomasz Janeczko
Hello, How many times I have to explain that in ANY program that allows custom formulas, the USER can write formula that will executed slow. And this is exactly what is happening. The USER wrote the formula badly and I offered him help in fixing HIS formula. Any formula can be written so bad th

[amibroker] How can I convert AmiBroker tick database to AmiBroker 1-minute data ?

2007-10-02 Thread irek_smaczny
I have big database with intraday 1-sec quoutes. How can I change quotes interval in database to shrink database ? Regards

[amibroker] Re: Can I use field 'time' from DDE ?

2007-10-02 Thread irek_smaczny
Any help ?? --- In amibroker@yahoogroups.com, "irek_smaczny" <[EMAIL PROTECTED]> wrote: > > Hello, > I'm using DDE with AmiBroker connected to NOL3 (Poland/Bossa.pl) but I > think, that field "Time" in Database Settings->Configure is't work. > > In intraday settings when I use DDE with Amibroker

RE: [amibroker] Amibroker High CPU Utilization-anyone else seeing this?.

2007-10-02 Thread J. Biran
Ouch! I wasn't blaming AB. I just suggested a quick verification method of which application is consuming the CPU resources. (see my other reply with attached screen shot) Joseph Biran From: amibroker@yahoogroups.com [mailto:[EMAIL PROTECTED] O

[amibroker] Canadian stock sectors and industries

2007-10-02 Thread rollyzhang
Hi, Anybody knows how to get Canadian stock (Toronto Stock Exchange) sectors and industries data and import them into AB? Is there a tool similar to Quotes Plus to get the job done? Thanks, Rolly

[amibroker] Re: Amibroker High CPU Utilization-anyone else seeing this?.

2007-10-02 Thread qavatina
I had a lot of "RequestTimedRefresh( 1, False );" in my code. I reduced them to one and the CPU load came down from 90% to around 10%. --- In amibroker@yahoogroups.com, "Tomasz Janeczko" <[EMAIL PROTECTED]> wrote: > > Hello, > > How many times I have to explain that in ANY program that allows

[amibroker] trading system ready to use

2007-10-02 Thread metastockv10
Hi everyone, I would like to ask if Amibroker has some trading systems built in? I mean something analogue to Performance Systems which you can use in Metastock, or I nead to write them in AFL by my self ( or should download from internet). If there is that kind of option in Amibroker - please tell

Re: [amibroker] trading system ready to use

2007-10-02 Thread Tomasz Janeczko
Hello, See this: http://www.amibroker.com/library/ and this: http://finance.groups.yahoo.com/group/amibroker/files/ (These are 3rd party developments and amibroker.com takes no resposibility on usefulness/fitness/results for your trading purposes. Use at your own risk) Best regards, Tomasz Ja

[amibroker] Information on BATMAN.

2007-10-02 Thread Don Lindberg
For those of you useing BATMAN I have a couple of questions not covered in the documentation. First, does AmiBroker have to be open when BATMAN runs a batch, or can it be closed? Secondly, If I have an AFL that I have added into BATMAN to run and I then edit that AFL, do I have to delete and r

RE: [amibroker] Information on BATMAN.

2007-10-02 Thread MarkK
Don, Open AB I have found that AB will open when you engage Batman so I just open it on my own Batman keeps pointing to the same ALF. AS long as you keep the same name and location after the change it will pick up the new formatted AFL MarkK _ From: amibroker@yahoogroups.c

[amibroker] Re: Custom bactester metrics & Van Tharps per trade r multiple

2007-10-02 Thread justinwonono
Ooops!! your right! === [3768] Symbol = BHP : dt[84] = 15/06/2000 : TRisk[84] = 0.59479 [3768] Symbol = BHP : EntryPrice = 7.96475 : ExitPrice = 7.93425 [3768] Trade.EntryDateTime = 15/06/2000 Risk = 0.59479 === Thanks PS, Regards JW --- In amibroker@yahoogroups.com, "vlanschot" <[EMAIL PROT

RE: [amibroker] Information on BATMAN.

2007-10-02 Thread Don Lindberg
Mark, Thanks a lot, that exactly what I needed to know. Donald F Lindberg _ From: amibroker@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of MarkK Sent: Tuesday, October 02, 2007 2:41 PM To: amibroker@yahoogroups.com Subject: RE: [amibroker] Information on BATMAN. Don,

[amibroker] How to make the opposite of this formula

2007-10-02 Thread Mohammed
Hi all, How to make the opposite of this formula BarsSince(LongSetup) < Maxbars AND Cross(C,ValueWhen(Longsetup,H)); All The best

[amibroker] IB autotrade

2007-10-02 Thread Ara Kaloustian
IB has a commission structure that distinguishes bewteen "Smart Routed" and "Non Smart Routed" using the API. Is ibc automatically send order to "Smart Routed" or is the a specific AFL command for it? Thansk Ara

Re: [amibroker] How to make the opposite of this formula

2007-10-02 Thread Padhu
use NOT operator ! myrule=BarsSince(LongSetup) < Maxbars AND Cross(C,ValueWhen(Longsetup,H)); oppositeofmyrule=!myrule; - Original Message - From: Mohammed To: amibroker@yahoogroups.com Sent: Tuesday, October 02, 2007 5:58 PM Subject: [amibroker] How to make the opposite of th

[amibroker] Re: How to make the opposite of this formula

2007-10-02 Thread Mohammed
Sorry I mean if the price close BELOW (L) of this points --- In amibroker@yahoogroups.com, "Mohammed" <[EMAIL PROTECTED]> wrote: > > Thank you very much, and this is not what I mean, > > What I mean we use H in the formula ( IF the price close above this > H), what if the price close above L

[amibroker] Re: How to make the opposite of this formula

2007-10-02 Thread Mohammed
Thank you very much, and this is not what I mean, What I mean we use H in the formula ( IF the price close above this H), what if the price close above L of this points. I try this one: Cross(ValueWhen(LongSetup,L), C) but I'm not sure Regards, --- In amibroker@yahoogroups.com, "Padhu" <

Re: [amibroker] IB autotrade

2007-10-02 Thread Tomasz Janeczko
It sends through SMART by default. If you use security name for example "MSFT" it sends through SMART. You would need to specify market maker/ECN name as exchange to route it differently. Best regards, Tomasz Janeczko amibroker.com - Original Message - From: Ara Kaloustian To:

[amibroker] any way to change the candlesticks to bars?

2007-10-02 Thread ad198500328
Is there a way to do this? I prefer bars (it personally gives me a better visual, I know most are the opposite)

[amibroker] Re: any way to change the candlesticks to bars?

2007-10-02 Thread Mohammed
View --> Price chart style --> Bars All The best --- In amibroker@yahoogroups.com, "ad198500328" <[EMAIL PROTECTED]> wrote: > > Is there a way to do this? I prefer bars (it personally gives me a > better visual, I know most are the opposite) >

[amibroker] Yahoo EOD download work, but no quote data added

2007-10-02 Thread cheslin835
I am back to AMI after two busy years on business. I am back with my old v4.5 Pro. The Auto-Update quote look normal but no new EOD quote were added. I have also tried to download the quote manually through AmiQuote. Again the process of requesting data and imported looks normal. I follow the