Re: [amibroker] Digital indicators FATL, SATL,....

2010-08-26 Thread Mubashar Virk
Shoot! It was late at night and English is my fourth language only. The second line of my last reply does not read well. It should have been: I understand what you mean by how plain old FIR (finite impulse response) can be proprietary, and I agree. On 8/26/2010 6:05 AM, Tomasz Janeczko

[amibroker] How to get current bar's date and previous bar's date and compare?

2010-08-26 Thread isalert
hi,all i wanna get current bar's date and previous bar's date and compare with each other,if current bar's date equals previous bar's date ,return 1,else return 0. i write this code,but compilation error, date()=ref(datenum(),-1) so how to achieve my goal?

Re: [amibroker] How to get current bar's date and previous bar's date and compare?

2010-08-26 Thread Ara
currentdate = datenum(); previousdate = Ref(datenum(),1); On 08/26/2010 1:32 AM, isalert wrote: hi,all i wanna get current bar's date and previous bar's date and compare with each other,if current bar's date equals previous bar's date ,return 1,else return 0. i write this code,but

[amibroker] Looking for a suitable Intraday data supplier

2010-08-26 Thread bingk66
Hi all, I am looking for a intra day data supplier for US stocks. Basically my requirements are as follows. 1) I am looking for snapshot data for these stocks at regular intervals (say 30mins). In between those intervals, I am not interested in any sort of pricing whatsoever. 2) The pricing

[amibroker] Re: Digital indicators FATL, SATL,....

2010-08-26 Thread booker_1324
It should have been: I understand what you mean by I don't think that a plain old FIR (finite impulse response) can be proprietary, and I agree. --- In amibroker@yahoogroups.com, Mubashar Virk mvir...@... wrote: Shoot! It was late at night and English is my fourth language only. The

Re: [amibroker] How to get current bar's date and previous bar's date and compare?

2010-08-26 Thread reinsley
Hi, Hope these lines can help you. Nota Bene : if you compare, the previous date can never be equal to last date... Best regards |// date display LastDataDate = EndValue( DateTime() ); FirstDataDate = BeginValue( DateTime() ); antebar = EndValue( Ref( DateTime(), -1 ) ); _TRACE( Name() +

Re: [amibroker] Looking for a suitable Intraday data supplier

2010-08-26 Thread Howard B
Hi Bing -- If the data need not be accurate, why bother collecting it -- just set up a random number generator to make it up. (Grin) Even though you need only snapshot data, I recommend that you use data supplied by a data vendor (as compared with a broker). I use DTNIQ and like it. eSignal

[amibroker] Displaced Moving Average

2010-08-26 Thread Blackcat
I use centered moving averages in my work. When plotting the built in Displaced Moving Average DispMA, with a period of 30 and a displacement of -15 , it seems to always calculate from the last price bar displayed. When you scroll the chart you always see the 15-period blank part of the average.

[amibroker] Two Newbie Questions

2010-08-26 Thread valueinsights
Hi All I have just registered my copy of Amibroker and I have a couple of newbie questions that I am hoping someone can help with. 1. When importing quotes using ASCII Import and the import data file contains quotes for dates that have been previously been imported, what happens to the old

[amibroker] Newbe.. Help reqd for AFL

2010-08-26 Thread arun
Dear All Assistance required from the experts... Can any one pls make an AFL for me with which i can back test, explore and scan and get buy sell signal alerts Rules are as below Long Entries The Buy Setup 1. The 5-day MA has crossed above the 20-day MA 2. The 20-day MA is

[amibroker] Re: Writing the openpos.Handle value

2010-08-26 Thread whitneybroach
Just as a follow-up, I heard from Tomasz off-line. At the moment, it can't be done with NumToStr. He is considering whether to modify NumToStr. One issue: because the underlying values are doubles, the numbers are large, 32- or 64 bits-worth, depending on your platform. --- In

[amibroker] Re: Point Figure afl in AmiBroker

2010-08-26 Thread ford7k
hI EXPERTS is it possible to add few more code lines to point out buy and sell signals on pf chart? please help. actually I like to have support and resistance lines to be drawn by code so that I can buy at support if it holds valid or sell at resistance if it holds good. Please help by

Re: [amibroker] Re: Digital indicators FATL, SATL,....

2010-08-26 Thread Mubashar Virk
:-) On 8/26/2010 5:37 PM, booker_1324 wrote: It should have been: I understand what you mean by I don't think that a plain old FIR (finite impulse response) can be proprietary, and I agree. --- In amibroker@yahoogroups.com mailto:amibroker%40yahoogroups.com, Mubashar Virk mvir...@...

Re: [amibroker] How to reduce optimization time ?

2010-08-26 Thread Keith McCombs
I just tried the QuickAFL as suggested by TJ below with a system which tests all of NASDAQ over 5 month period. Data can go back as much as 20years. Improvement in Optimization time was about 30%. I also made another observation. I was already running a number of other programs, using from

[amibroker] Hindenburg Indicator

2010-08-26 Thread Richard
Has anyone programmed the Hindenburg indicator? If so please post. Thanks Dick H PS: It was featured in WSJ today Hindenburg Omen forecasting a big drop? August 25, 2010 †3:56pm ET | By Jim Kim http://www.fiercefinance.com/author/jim The Hindenburg Omen is a well-known indicator among

[amibroker] EODData.com's Intra-day Historical Data Service

2010-08-26 Thread razorruss17
Does anyone else subscribe to EODData's intraday data service? If so, how do you go about managing and using this data with Amibroker? From what I should be able to either ASCII upload or Metastock plugin the data into Amibroker, but I'm finding this complicated to figure out. The Metastock

[amibroker] Misunderstanding of Arrays

2010-08-26 Thread trfy1120
I have an array called lowest_roc_num. If I use the test: JOHN = Ref(Lowest_ROC_NUM,0)==9; JOHN gets the value of zero or 1 appropriately. If I use the syntax: if (Ref(Lowest_ROC_NUM,0) == 9) MARY=10; I get an error message saying that the condition in an IF, WHILE or FOR

Re: [amibroker] Misunderstanding of Arrays

2010-08-26 Thread Steve Dugas
Hi - REF operates on the entire array like most other AB functions. It shifts the array by the number of bars you specify. You can plot a couple of different REF's to see it in action. When you need to use IF with an array, use IIF instead - MARY = IIF( Ref( Lowest_ROC_NUM, 0 ) == 9, 10, 0 );

[amibroker] Re: Writing the openpos.Handle value

2010-08-26 Thread Mike
I just ran a test to see if you could use StrFormat instead: _trace( StrFormat( %1.0g, openpos.Handle ) ); However, it seems that it too suffers from a similar problem; It does not accept double as an argument type. Just passing the raw double to _trace doesn't work either: _trace( +

[amibroker] Re: Misunderstanding of Arrays

2010-08-26 Thread Mike
The important thing to realize is that Ref returns an *array*. The if statement is expecting a *single* boolean value, not an array of booleans. See common coding mistakes in the user guide: http://www.amibroker.com/guide/a_mistakes.html Mike --- In amibroker@yahoogroups.com, trfy1120

[amibroker] How to convert AFL to DLL for dummy

2010-08-26 Thread TimurLangit
Hi experts in AB, Is that difficult to convert AFL to DLL? Is there any manual to easily convert AFL to DLL? Or, can anyone share how to convert AFL to DLL for dummy? Thanks, Timur Sent from my iPhone

[amibroker] Intraday Data

2010-08-26 Thread valuelive
A couple of newbie question if I may: 1. If I set up a database within 15 minute intraday data (for example), can AB correctly aggregate the data to show daily bars, weekly bars and monthly bars and run calculations with these timeframes? 2. Is it possible (or even advisable) to set up a

[amibroker] test

2010-08-26 Thread DStricek1209
test

[amibroker] Re: Misunderstanding of Arrays

2010-08-26 Thread trfy1120
Mike and Steve, Thanks very much for your help. TRFY --- In amibroker@yahoogroups.com, trfy1120 trfy1...@... wrote: I have an array called lowest_roc_num. If I use the test: JOHN = Ref(Lowest_ROC_NUM,0)==9; JOHN gets the value of zero or 1 appropriately. If I use the syntax:

[amibroker] Re: Intraday Data

2010-08-26 Thread sanjiv
Hello valuelive, Welcome to AmiBroker Family, 1. Yes, (Use the program and go through the manual the program has lots of wonderful features.) 2. Not Sure Please update the group about your experiences if you experiment with the concept. With regards Sanjiv Bansal --- In

[amibroker] Re: Developer Needed

2010-08-26 Thread razorruss17
Hi, I have a few years of experience. Can you e-mail me a with a summary of what you're wanting to accomplish? Maybe we can work something out. Regards, Russ rsebr...@gmail.com 312.880.7877

Re: [Komunitas AmiBroker] INDF berpotensi menuju 4550

2010-08-26 Thread colonel262
Kenzie, congratulation ya wkwkwk, your judgement was right. Target tercapai,happy cuan.good job. Sayang saya tidak get in INDF dan masuk di saham lain. Yang buy break 4300-4325 juga cuan wkkwwk. So saya pikir di INDF tidak ada yang loss kali ini, kecuali yang buy di 4500 ketar ketir, and

Re: [Komunitas AmiBroker] INDF berpotensi menuju 4550

2010-08-26 Thread Kenzie Sebastian
Terima Kasih pak Colonel. Happy cuan juga ya... Powered by Telkomsel BlackBerry® -Original Message- From: colonel...@yahoo.com Sender: amibroker-4-bei@yahoogroups.com Date: Thu, 26 Aug 2010 11:32:08 To: Amiamibroker-4-bei@yahoogroups.com Reply-To: amibroker-4-bei@yahoogroups.com

Re: [Komunitas AmiBroker] INDF berpotensi menuju 4550

2010-08-26 Thread Smart Technical
JUST SHARE My Point of VIEW, INDF target price to 5000, but Light Barrier at 4700, thx 2010/8/26 Kenzie Sebastian kenzi...@yahoo.co.id INDF hari ini ditutup menguat 3.4% di 4500 dan besok masih mempunyai potensi menuju 4550. (+) RSI (9) sudah menembus RSI(14) dan RSI(21) dan terus naik

Re: [Komunitas AmiBroker] Research Have to Read (August, 27th 2010)

2010-08-26 Thread Androw Tejakusuma
Mau tanya..kl buka acc di uob brp ya minum nya?ada tlp nya ya? Thanks Androw.T Sent from my BlackBerry® powered by Sinyal Kuat INDOSAT -Original Message- From: Suwahadi adi_ok...@yahoo.com Sender: amibroker-4-bei@yahoogroups.com Date: Fri, 27 Aug 2010 07:10:41 To:

Re: [Komunitas AmiBroker] Research Have to Read (August, 27th 2010)

2010-08-26 Thread i_prasetiya
Menurut data dari RTI alamat UOB di Plz Thamrin Nine Lt 36 jl mh thamrin. No telp 2993888 fax 2300238. Powered by Telkomsel BlackBerry® -Original Message- From: Androw Tejakusuma andr...@yahoo.com Sender: amibroker-4-bei@yahoogroups.com Date: Fri, 27 Aug 2010 02:10:39 To: