Re: [Komunitas AmiBroker] Bollinger Band Gap tidak bisa di apply

2009-06-11 Thread nyoman_ardana
Selamat siang pak Dendo, saya mau tanya lagi gimana caranya AFL yang didownload dr Amibroker/library di plug in ke Amibrokernya. Mhn maaf newbie . Tks banyak atas penjelasannya. Salam. Powered by Telkomsel BlackBerry® -Original Message- From: anddreee 486 anddr...@gmail.com Date: Thu,

Re: [Komunitas AmiBroker] Bollinger Band Gap tidak bisa di apply

2009-06-11 Thread Dendo
Halo Pak Nyoman. Ada dua macam cara memasukan afl ke dalam amibroker. Silahkan lihat postingan sebelumnya disini http://finance.groups.yahoo.com/group/amibroker-4-bei/message/2565 Kita bisa juga search topik2 yg kemungkinan pernah dibahas di archive message milist :

Re: [Komunitas AmiBroker] Bollinger Band Gap tidak bisa di apply

2009-06-11 Thread nyoman_ardana
Thanks banget pak Dendo atas pencerahannya. Sukses ya Pak. Salam Powered by Telkomsel BlackBerry® -Original Message- From: Dendo de...@integrity.co.id Date: Thu, 11 Jun 2009 15:22:38 To: amibroker-4-bei@yahoogroups.com Subject: Re: [Komunitas AmiBroker] Bollinger Band Gap tidak bisa di

Re: [amibroker] Re: Managing many layouts-formulas

2009-06-11 Thread Ton Sieverding
Hi Dingo. That's interesting. What does not work that works ? Ton. - Original Message - From: dingo To: amibroker@yahoogroups.com Sent: Wednesday, June 10, 2009 7:57 PM Subject: Re: [amibroker] Re: Managing many layouts-formulas Nope! Won't work - not even if you

[amibroker] Latest version of VSA afl

2009-06-11 Thread Habibur Md. Rahman Planning Networks
Hi Can anyone please provide the latest version of afl for Volume Spread Analysis? Thanks in advance.

Re: [amibroker] Re: reversing a position if stopped

2009-06-11 Thread Aron
|SetOption(ReverseSignalForcesExit,1);| nickeykhk wrote: Nobody knows how to do this? --- In amibroker@yahoogroups.com, nickeykhk nickey...@... wrote: How do I backtest a system that will reverse a position when stopped out? I've got this so far: stopLoss = 10;

[amibroker] Re: Where is Forward P/E data ???

2009-06-11 Thread gmorlosky
hmmm Just now, I reloaded the Fundamental data, first basic, then extended. Then I did a Save in AmiBroker, then shutdown Amibroker, then restarted and checked the ticker of GE. Still flipped in AmiBroker: P/E = 8.70 (looks good) Forward P/E = .94 (hmmm...) EPS est. Next Year = .94 (looks

[amibroker] Re: my vwap + standard deviation bands - very slow

2009-06-11 Thread bruce1r
Larry - Good first attempt. I thought I'd tackle this for two reasons. First, you did a fair amount of work before asking. But, second, I had been about to write an article for a web site about array processing and happened upon your post. If you don't mind, I'd like to use a variation of it

[amibroker] Apply Stop

2009-06-11 Thread zim...@snet.net
Hello, I am very inexperienced in AFL and programming in general but I'm learning I think. I'm trying to do a back test and utilize Applystop instead of other entry/exits. What is wrong here: Condition1=IIf(CWmovavg,1,0); BSTP=IIf(Condition1,H*1.01,0); SSTP=IIf(Condition1,L*0.99,0);

[amibroker] problems with ibc = GetTradingInterface(IB);

2009-06-11 Thread dubi1974
I have installed Windows 7... had before XP when I start ibc = GetTradingInterface(IB) I get some error: Error forumla execution halted because of an error - no chart display ... I used the same formula on XP, and there I had never problems. Someone I know, has similar issues with Vista. Did

[amibroker] Re: Redundant 1s in the buy/sell/short arrays

2009-06-11 Thread C Alvarez
One thing I have discovered is that if I am having problems doing something in regular AFL, try using a loop. It may be slower but with fast computers it rarely makes a big difference unless you are running a huge optimization run. Now what you are asking for may be possible without loops, but I

Re: [amibroker] Apply Stop

2009-06-11 Thread Aron
If you intended to create a mess, you fully succeeded :-) your code should look something like this: |Wmovavg= ... *Buy* = *C*Wmovavg; // consider cross(c, wmovag); st = ... tp = ... tr = ApplyStop( *stopTypeLoss*, *stopModePoint*, st, 1 ); ApplyStop( *stopTypeProfit*, *stopModePoint* ,

Re: [amibroker] Apply Stop

2009-06-11 Thread zim...@snet.net
Aaron Thanks much for the reply - Appreciated. The reason cross was not used was because when the condition was met, i.e. C than moving average I wanted to initiate a buy stop above the high that occurred on the day of the cross. I'm sure that was not apparent :-) Sorry for the confusion.

Re: [amibroker] Apply Stop

2009-06-11 Thread zim...@snet.net
Aaron Thanks much for the reply - Appreciated. The reason cross was not used was because when the condition was met, i.e. C than moving average I wanted to initiate a buy stop above the high that occurred on the day of the cross. I'm sure that was not apparent :-) Sorry for the confusion.

Re: [amibroker] Re: my vwap + standard deviation bands - very slow

2009-06-11 Thread Tomasz Janeczko
Hello, AFL Editor, Tools-Code check Profile. Best regards, Tomasz Janeczko amibroker.com - Original Message - From: brian_z111 brian_z...@yahoo.com To: amibroker@yahoogroups.com Sent: Friday, June 12, 2009 1:57 AM Subject: [amibroker] Re: my vwap + standard deviation bands - very slow

[amibroker] Re: Apply Stop

2009-06-11 Thread zim...@snet.net
Thank You!!! --- In amibroker@yahoogroups.com, Aron aron.gro...@... wrote: I can not see what you are looking for in your code. Applystop() is for exits not for entries. If you want to buy on a new high immediately after close price crosses your moving average the code should be smth.

[amibroker] Re: my vwap + standard deviation bands - very slow

2009-06-11 Thread Mike
For a rough estimate use the 'Tools' menu of code editor, select 'Code Check Profile' For an accurate live measure have a look at decorating your code with calls to GetPerformanceCounter http://www.amibroker.com/guide/afl/afl_view.php?id=315 Mike --- In amibroker@yahoogroups.com, brian_z111

[amibroker] Re: my vwap + standard deviation bands - very slow

2009-06-11 Thread Mike
Tomasz may have done any number of optimizations, including the possibility of producing intermediary byte code to be executed by the AA engine, any of which could negate the following reply. But, historically an interpreted language would be executed line by line in the order that it appears

[amibroker] Re: my vwap + standard deviation bands - very slow

2009-06-11 Thread brian_z111
There are two classes of issues in your AFL - an algorithm/math issue and a looping issue. Commentary on the math issue: (I have always liked the teaching method of historically preserved aphorisms, with additional commentary added at a later date, since I first read some of the eastern