[amibroker] Backtest

2008-10-18 Thread Ara Kaloustian
I'd like to reset a static variable at the start of a backtest (before processing first symbol in list - and not reset it again during the other symblos). Is there a way to do this? Thanks Ara

[amibroker] Re: How to execute external command from AFL ?

2008-10-18 Thread Mike
Try this: EnableScript("jscript"); <% function getWatchlist() { var AB = new ActiveXObject("Broker.Application"); var AA = AB.Analysis; return AA.Filter(0, "watchlist"); } %> if (Status("stocknum") == 0) { Script = GetScriptObject(); Symbols = CategoryGe

[amibroker] Re: Question about Scaling In and out

2008-10-18 Thread Maurice Petterlin
--- In amibroker@yahoogroups.com, Graham <[EMAIL PROTECTED]> wrote: > > You use SetPositionSize to define the amount to be traded for each > signal type. See example in the help files of AB for this function > > You will need to use the custom backtest to limit the trades to the > 50% of equity in

[amibroker] Re: Help with Oscilator Color change

2008-10-18 Thread Barry Scarborough
Plot(priceOscillator,"",IIf(priceOscillator >=0, colorGreen, colorRed),4); Barry --- In amibroker@yahoogroups.com, "Larry M Powell" <[EMAIL PROTECTED]> wrote: > > I would like the following to be Green when positive and Red when > negative > > priceOscillator = EMA(C, 39) - EMA(C, 189) ; > Plo

Re: [amibroker] Re: Make AB Available on Flash Drives

2008-10-18 Thread Tomasz Janeczko
Hello, If you wish, you can copy registry key to keep the toolbar settings. Any flash drive is fine, it does not need to be U3. Best regards, Tomasz Janeczko amibroker.com - Original Message - From: dingo To: amibroker@yahoogroups.com Sent: Saturday, October 18, 2008 7:16 PM

[amibroker] Bonds Fractional Scale

2008-10-18 Thread Cliff
Hello, I would like to know if it's possible to show the Bond and Note futures in their normal 32nd scale? I'm running 5.10 version of AB. I did a search and could not find any replies regarding this. Thanks for your help.

[amibroker] Re: AFL Puzzle

2008-10-18 Thread af_1000000
Thank you. AF

[amibroker] How to detect the study crossover for multiple symbols with use of SCAN

2008-10-18 Thread Tim
Hello, Has anyone used this study to develop a pattern recognition study? It seems to me that you could use this to scan for various triangles as well as a rectangle or horizontal channel. I admit my skills as a computer person are very limited but for anyone interested in patterns this has potent

Re: [amibroker] How to use 'Interval' to change charts?

2008-10-18 Thread Dennis Brown
Jerry, The -2 million is a "flag" for the volume type timeframe. It is in the Docs somewhere. BR, Dennis On Oct 18, 2008, at 2:20 PM, Jerry Gress wrote: Hi, Looks like I got it working, thanks Dennis. In terms of programming, it looks like: make the interval false, then if bigger then

[amibroker] Help with Oscilator Color change

2008-10-18 Thread Larry M Powell
I would like the following to be Green when positive and Red when negative priceOscillator = EMA(C, 39) - EMA(C, 189) ; Plot(priceOscillator,"",colorBlue,4); Plot(0,"",colorBlack,4); Title= Name() + " " + "[PrOsc 39,189= " + WriteVal(priceOscillator,4.2) + ""; Thanks, Larry M Powell

[amibroker] Re: How to execute external command from AFL ?

2008-10-18 Thread przemyslawuk
thank you for this code. It was very helpful and I now have the whole thing almost automated. the last thing that I need is to be able to retrieve the name of the currently selected watchlist in the "filter" section of the AA window. At the moment I have type the name of the watchlist (List 0) but

RE: [amibroker] How to use 'Interval' to change charts?

2008-10-18 Thread Jerry Gress
Hi, Looks like I got it working, thanks Dennis. In terms of programming, it looks like: make the interval false, then if bigger then -20 then make it true then get read out! How come if you change the -200 to say -999 you get 1.99948e+006, so where did the -200 come from? I

Re: [amibroker] Re: Make AB Available on Flash Drives

2008-10-18 Thread dingo
TJ, Would it be feasible to copy the registry settings to the flash drive after each use and then to the target computer when switching or does the U3 do this? Also, can any flash drive work or does it have to be U3? d On Sat, Oct 18, 2008 at 12:51 PM, Pete <[EMAIL PROTECTED]> wrote: > That's al

[amibroker] Bypassing the Windows network stack?????????????????

2008-10-18 Thread Jerry Gress
Hi All, According to Killer Gaming Network Card their NIC bypasses the Windows stack giving reduced in-game ping etc etc. Plus whole lot of other reasons? One I like is to put off Windows updates and others! They even have a firewall built for gamers! Questions. 1. Anybody using it ?

[amibroker] Re: Make AB Available on Flash Drives

2008-10-18 Thread Pete
That's all I had to know. I haven't purchased one yet and was just doing some research on the possibilities. Given your response below I'm on my way to go pick one up! Thanks Tomasz! Pete :-) --- In amibroker@yahoogroups.com, "Tomasz Janeczko" <[EMAIL PROTECTED]> wrote: > > You can install Ami

Re: [amibroker] Re: OT: Given unlimited budget, what's the IDEAL hardware configuration

2008-10-18 Thread MAVIRK
Yes - let us have 64. All the extra RAM is for playing games I myself am doing great with a dual core processor, 2GB RAM and a 128MB GPU From: Michael Smith Sent: Saturday, October 18, 2008 9:05 PM To: amibroker@yahoogroups.com Subject: RE: [amibroker] Re: OT: Given unlimited budget, what's

RE: [amibroker] Re: OT: Given unlimited budget, what's the IDEAL hardware configuration

2008-10-18 Thread Michael Smith
why not spec 64 bit vista so you can address all of the ram in your spec? From: amibroker@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of MAVIRK Sent: Saturday, October 18, 2008 4:49 AM To: amibroker@yahoogroups.com Subject: Re: [amibroker] Re: OT: Given unlimited budget, what's the IDEA

[amibroker] BarsSince Intraday and TimeFrameGetPrice inDaily

2008-10-18 Thread reinsley
Hello, These lines work on any time frame 5' 15' 30', except the Prior Day Open It always finds the same bar as for Prior Day Low. However PDO's price value is correct and # bar is wrong. I don't see the mistake... TIA for your help. Regards TOP = TimeFrameGetPrice( "O", inDaily, 0 ); //

Re: [amibroker] Basic Buy and Exit code

2008-10-18 Thread Howard B
Hi Wally -- See if this helps -- //EnterOnSpecificDate.afl // //Entry on a specific date. // //Used to force an entry so that the operation of //a trading system or indicator can be checked. // //For market orders, enter

Re: [amibroker] A question for Dr Howard Bandy

2008-10-18 Thread Howard B
Sorry -- the test is run 31 times, once for every day of the month. 22 of those will show trading results. On Sat, Oct 18, 2008 at 8:41 AM, Howard B <[EMAIL PROTECTED]> wrote: > Hi Richard -- > > Thanks for the kind words about my book. > > I may not have sufficiently clear. The test is run 22

Re: [amibroker] A question for Dr Howard Bandy

2008-10-18 Thread Howard B
Hi Richard -- Thanks for the kind words about my book. I may not have sufficiently clear. The test is run 22 times. Each time the day of interest is one of the 22 trading days of the month. The test is to see whether there is an effect near that day of interest, so there is no need to gather r

Re: [amibroker] Make AB Available on Flash Drives

2008-10-18 Thread Tomasz Janeczko
You can install AmiBroker on U3 device already. There are very few and minor things that are stored in registry such as toolbar position, that does not present any practical obstacle in working from U3. Best regards, Tomasz Janeczko amibroker.com - Original Message - From: "Pete" <[EMAIL

Re: [amibroker] Re: Event driven afl with IBController?

2008-10-18 Thread Tomasz Janeczko
Hello, 1. RequestTimedRefresh works in Indicators only. In AA there is "Run Every" feature that allows to re-run the AA formula automatically 2. AFL execution is quote driven (when new quote arrives then indicator executes) + interval refreshes (that allow you to process other things including

Re: [amibroker] Re: OT: Given unlimited budget, what's the IDEAL hardware configuration

2008-10-18 Thread reinsley
You are a man with good taste... :) MAVIRK a écrit : > > Here you go my friend: > > > > Z38X-XB > Falcon F-38X Ultimate Trading System in Armor Chassis > CPU: 2x Intel Xeon 3.20GHz Quad Core, 1,600MHz FSB, 12MB Cache [Add > $1,584] > > Memory: 8GB PC2-5300 Reg ECC DDR2 FB-DIMM [Add $37

Re: [amibroker] Re: OT: Given unlimited budget, what's the IDEAL hardware configuration

2008-10-18 Thread MAVIRK
Here you go my friend: Z38X-XB Falcon F-38X Ultimate Trading System in Armor Chassis CPU: 2x Intel Xeon 3.20GHz Quad Core, 1,600MHz FSB, 12MB Cache [Add $1,584] Memory: 8GB PC2-5300 Reg ECC DDR2 FB-DIMM [Add $374] Number of Monitors Supported: 4 Monitors Supported: 4xDVI (4x30" LCD) Operating Sy

Re: [amibroker] Re: OT: Given unlimited budget, what's the IDEAL hardware configuration

2008-10-18 Thread a a
If budget is not a constraint then hire Warren Buffet to pick stocks for you. He'll beat any computer money can buy. - Original Message From: reinsley <[EMAIL PROTECTED]> To: amibroker@yahoogroups.com Sent: Saturday, October 18, 2008 12:14:29 PM Subject: Re: [amibroker] Re: OT: Given u

[amibroker] A question for Dr Howard Bandy

2008-10-18 Thread richpach2
Hello Howard, I have been reading your book. So far I was able to digest 160 pages. It is all very clear and well written. I have one question in regards to "Seasonality Systems" testing on page 152 and 153 (Trading Day of the Month) AFL defines "Daynumber" as 8 bars before and after DOI day. If w