[amibroker] Re: VBScript within AFL Function ?

2006-10-03 Thread Fred
TJ, Is writing VBScript within an AFL function possible ? ... or do I need a DLL ? Please note that this group is for discussion between users only. To get support from AmiBroker please send an e-mail directly to SUPPORT {at} amibroker.com For other support material please check also:

[amibroker] Intraday Preferences - Custom Time Settings in Seconds

2006-10-03 Thread Ken Henderson
Hi   Possibly someone can help me.   With the professional version of Amibroker, under Tools => Preferences => Intraday Preferences => Custom Time Settings, I am allowed to adjust unit time settings for tick data but not second data.   For example, Interactive Brokers supplies data in

Re: [amibroker] Re: VBScript within AFL Function ?

2006-10-03 Thread Tomasz Janeczko
Hello, No, you can't put VBScript code inside the AFL function but you can write VBScript function that is callable from AFL level (using GetScript object), so to have what you want you may: a) write VBScript function b) inside AFL function use GetScriptObject and call VBScript method from there

Re: [amibroker] VBScript within AFL Function ?

2006-10-03 Thread Tomasz Janeczko
Hello, You put VBScript code parts directly inside AFL function because VBScript code snipplets are executed directly and immediatelly at the place where they are defined. What you can do is to write VBScript function that is callable from AFL level (using GetScript object), so to have what you

Re: [amibroker] Re: Different time frames problem

2006-10-03 Thread Edward Pottasch
hi,   I will send a reply to your yahoo Email adres,   rgds, Ed     - Original Message - From: optiekoersen To: amibroker@yahoogroups.com Sent: Monday, October 02, 2006 4:44 PM Subject: [amibroker] Re: Different time frames problem Sorry, I do understand

[amibroker] Multiple Automatic scan windows.

2006-10-03 Thread RajeevM
HelloI think it would be wonderful to have a facility to run multiple "automatic analysis" windows.this would allow scanning using multiple afls at same time.is there a way to do it now? thanks for your time.regardsrajeev __._,_.___ Please note that this group is for discussion between use

Re: [amibroker] Can't show QuotesPlus fundamental data

2006-10-03 Thread Tomasz Janeczko
GetFnData retrieves fundamentals stored in AB *local* database (coming from Yahoo finance pages). To retrieve data from Quotes Plus database you need to use GetExtraData   http://www.amibroker.com/f?getextradata Best regards,Tomasz Janeczkoamibroker.com - Original Message - Fro

Re: Fw: [amibroker] watchlist/database question

2006-10-03 Thread paulradge
  Hi Dick,     thank you for your response,,,i'm in the process of signing up with Premium-data and hope to move from there,,     thanks again, sincere regards Paul Radge Go ahead with the download of the USStocks dabase as it is set up withbreakdown of Se

[amibroker] Re: Profit stops with loop - not working as it should

2006-10-03 Thread onelkm
Terry Thanks for the suggestions. Since I took an example from the help files, I assumed the the sellPrice arrays were set up correctly to handle the issue you mentioned, but possibly not. I think the logic for SellPrice is correct since the code looks to see if the days high was greater than

Re: [amibroker] FAO-Fred Tonetti................---->Fred and Micheal...Thanks for responding.EOM.

2006-10-03 Thread Rakesh Sahgal
On 10/3/06, Michael.S.G. <[EMAIL PROTECTED]> wrote: Rakesh,I had previously written an example of Future Projection (Simpleexample).However, I neglected to post it to the AFL Library. So I have posted it now.It may show you an example of what you may be looking for. http://www.amibroker.com/

[amibroker] Controlling last data input used for computing a study/indicator

2006-10-03 Thread Rakesh Sahgal
Hello, I am looking for a solution to control the last data point thats used for computing an indicator such as a moving average similar to the manner in which data points are selected for plotting line studies such as trendlines and pitchforks et all. Is it possible to restrict the data  that

RE: [amibroker] Re: Profit stops with loop - not working as it should

2006-10-03 Thread Terry
Larry, Another suggestion: There are many SetOptions() -- see HELP -- and other variables that need to be set in code to make sure it works the way you want it to rather than taking the Settings from AA. I have an include file I use for all my code that sets these up so I don't forget or have to

[amibroker] Problem with IB plug-in: "Symbol 'xxx' is invalid"

2006-10-03 Thread polomorabe
Hello, After a break of about two month, I started again using AB with the IB plug-in. Previously it has worked perfectly. Now, when I try to display the chart for, eg IBM, I get the error: "Connected but minor problem occured Symbol 'IBM' is invalid Consult symbology guide" I noticed that a si

Re: [amibroker] Problem with IB plug-in: "Symbol 'xxx' is invalid"

2006-10-03 Thread Tomasz Janeczko
Upgrade IB plugin http://www.amibroker.com/devlog/2006/07/06/new-ib-plugin-166/ Best regards, Tomasz Janeczko amibroker.com - Original Message - From: "polomorabe" <[EMAIL PROTECTED]> To: Sent: Tuesday, October 03, 2006 6:04 PM Subject: [amibroker] Problem with IB plug-in: "Symbol 'xxx'

Re: [amibroker] Problem with IB plug-in: "Symbol 'xxx' is invalid"

2006-10-03 Thread ronbo
There was a problem with IB changing something which required TJ to change the IB plugin. download the latest IB plugin and you should be ok. Also TJ wants us to use only TWS 860.9 and older. hth, ron polomorabe wrote: > Hello, > > After a break of about two month, I started again using AB wi

[amibroker] Re: VBScript within AFL Function ?

2006-10-03 Thread Fred
Excellent ... Thanks ... --- In amibroker@yahoogroups.com, "Tomasz Janeczko" <[EMAIL PROTECTED]> wrote: > > Hello, > > You put VBScript code parts directly inside AFL function because > VBScript code snipplets are executed directly and immediatelly at the place > where they are defined. > > Wh

[amibroker] adding historical data using Norgate's Premium Data

2006-10-03 Thread nikkunayar
Hi Folks I decided to try Norgate's Premium Data for my EOD U.S. stock and futures needs. The trial setup was pretty seamless. However, when I paid for my first 6 months of subscription (including the historical database) and updated my charts last night, I found that the historical data had not m

[amibroker] Re: Problem with IB plug-in: "Symbol 'xxx' is invalid"

2006-10-03 Thread polomorabe
Many thanks Tomasz and Ronbo. Now working perfectly. Even though I'm using the latest 861.5 build from IB. Paul --- In amibroker@yahoogroups.com, ronbo <[EMAIL PROTECTED]> wrote: > > There was a problem with IB changing something which required TJ to change > the IB plugin. download the latest

Re: [amibroker] Can't show QuotesPlus fundamental data

2006-10-03 Thread Keith McCombs
TJ -- Thank you.  GetExtraData() does the trick. -- Keith Tomasz Janeczko wrote: GetFnData retrieves fundamentals stored in AB *local* database (coming from Yahoo finance pages). To retrieve data from Quotes Plus database you need to use GetExtraData   http://www.amibroker.co

[amibroker] Re: Buying at open -- In Real Life

2006-10-03 Thread intermilan04
After having played with buying at open with Market order in NASDAQ, I stopped doing it. Well, I still have my orders at the open...but with limit. This prevents me from getting some outrageous prices. When I place limit orders, there are chances that they never get executed. I figure it's okay

Re: [amibroker] Re: Problem with IB plug-in: "Symbol 'xxx' is invalid"

2006-10-03 Thread ronbo
this a post from TJ on 9/13 Hello, I have wrote about this a couple of times but here it is again: do not upgrade TWS until we specifically say that it is OK to do so. IB plugin has been tested and works fine with TWS 860. We have heard 2 complaints from users of TWS 861 so do NOT upgrade TWS if

Re: [amibroker] adding historical data using Norgate's Premium Data

2006-10-03 Thread Graham
I found it in the downloads sectionOn 04/10/06, nikkunayar <[EMAIL PROTECTED]> wrote: Hi FolksI decided to try Norgate's Premium Data for my EOD U.S. stock andfutures needs. The trial setup was pretty seamless. However, when Ipaid for my first 6 months of subscription (including the historical d

[amibroker] Polynomial Trendlines

2006-10-03 Thread Fred Tonetti
There seemed to be some interest in this sort of thing the other day ... This one I can publish since it's not tied to any copyrighted material I am aware of ... It will calculate a nth ( 1 - 8 ) Order Polynomial Fit of whatever data you toss it using Gaussian Elimination for simultaneous solutio

[amibroker] RE: Polynomial Trendlines

2006-10-03 Thread Fred Tonetti
Title: Polynomial Trendlines Oops …   Meant to include this visual …   Green is calculated … White is extrapolated …     I am using the free version of SPAMfighter for private users.It has removed 8588 spam emails to date.Paying users do not have this message in their emails.Try

Re: [amibroker] Polynomial Trendlines

2006-10-03 Thread Chris DePuy
Fred, Thank you for sharing. To what extent does this code look forward, may i ask? Chris   - Original Message - From: Fred Tonetti To: amibroker@yahoogroups.com Sent: Tuesday, October 03, 2006 3:29 PM Subject: [amibroker] Polynomial Trendlines There

[amibroker] Re: Polynomial Trendlines

2006-10-03 Thread Fred
The PolyFit & GaussianElimination Functions use only the data you pass it ... The Demo Main AFL was set up to use Beg & End Range markers but you can easily change those to whatever you like. The extrapolations are only calculated once the fit as of some bar has been done. If you click CHECK

Re: [amibroker] RE: Polynomial Trendlines

2006-10-03 Thread Ara Kaloustian
Title: Polynomial Trendlines Fred,   There have been a lot of posting on this subject.  Your one image however is a very powerful message of its potential.   Now I have to go back and review all the post ... hoping to find a good reference to study.   Anyone using it succesfully now?   Ara

[amibroker] Re: Polynomial Trendlines

2006-10-03 Thread Fred
Be AWARE ... that was a hand picked image ... if you play with PolyFit you will see that sometimes data fits the extrapolations, sometimes it doesn't. The higher the order, the flakier the extrapolations are likely to become ... So ... Remember what it is ... a generator of an equation in the

[amibroker] DaysBetweenDates()

2006-10-03 Thread Mr. Valley
I'm having trouble with calculating the number of days between the dates of two conditions, either daily or intraday intervals. I looked at the DeDateTime.dll These were planned functions, but I don't see them implemented. GetDaysBetween() and GetTradeDaysBetween() Also tried... /* Days Between

Re: [amibroker] DaysBetweenDates()

2006-10-03 Thread Steve Dugas
If you are only concerned with the number of bars, you could use BarIndex, e.g startDay = LastValue( ValueWhen( Cond1 , BarIndex() ) ); Steve - Original Message - From: "Mr. Valley" <[EMAIL PROTECTED]> To: Sent: Tuesday, October 03, 2006 8:38 PM Subject: [amibroker] DaysBetweenDat

[amibroker] Re: Treament of Null Value

2006-10-03 Thread brian.z123
Hello David, This is a very good question that deserves a good answer. Truly this is a question for the alpha-techs but all you got was me. At the moment I limit myself to no more than one topic a week and you are the lucky, or unlucky, chosen one. After this I may change to one a month. Here a

RE: [amibroker] Re: Polynomial Trendlines

2006-10-03 Thread Paul Ho
Was Referring to MESA Adaptive Moving Average – MAMA. Can you find it? /Paul.   From: amibroker@yahoogroups.com [mailto:amibroker@yahoogroups.com] On Behalf Of Fred Sent: Thursday, 28 September 2006 11:36 AM To: amibroker@yahoogroups.com Subject: [amibroker] Re: Polynomial T

Re: [amibroker] RE: Polynomial Trendlines

2006-10-03 Thread Amon Ra
Hi Fred.I applied your formula but not works. Theis message appeared: Order Polynomial Fit.afl contains an invalid path.What can I do?Thanks- Original Message From: Fred Tonetti <[EMAIL PROTECTED]>To: amibroker@yahoogroups.comSent: Wednesday, October 4, 2006 1:32:48 AMSubject: [amibroke